Fix dbl-64 atan2 (sNaN, qNaN) (bug 20252).
[glibc.git] / ChangeLog
blob1d2c3e3d864b1480c9600b4a897255820bb5b41f
1 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20252]
4         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5         arguments when second argument is a NaN.
6         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
7         qNaN tests.
9         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
10         (conj_test_data): Likewise.
11         (copysign_test_data): Likewise.
12         (creal_test_data): Likewise.
13         (fma_test_data): Likewise.
14         (fmod_test_data): Likewise.
16         [BZ #20250]
17         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18         itself.
19         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20         zero input to itself.
21         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
22         Likewise.
23         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
24         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
25         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
27         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
29 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
32         * nptl/tst-cancel4-common.c: New file.
33         * nptl/tst-cancel4-common.h: Likewise.
34         * nptl/tst-cancel4.c: Move common definitions to
35         tst-cancel4-common.{c,h} file.
36         * nptl/tst-cancel4_1.c: New test.
37         * nptl/tst-cancel4_2.c: New test.
39 2016-06-13  Florian Weimer  <fweimer@redhat.com>
41         [BZ #20248]
42         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
43         (write_message): New function.
44         (stackoverflow_handler): Call it instead of printf, to avoid
45         excessive stack usage by printf.
46         (do_test): Restore SIGSEGV, SIGBUS default handlers.
48 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
50         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
51         (prio_inherit_missing): Remove define.
52         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53         (__ASSUME_FUTEX_LOCK_PI): Likewise.
54         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
55         Likewise.
56         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
57         (__ASSUME_FUTEX_LOCK_PI): Likewise.
58         * sysdeps/unix/sysv/linux/mips/kernel-features.h
59         (__ASSUME_FUTEX_LOCK_PI): Likewise.
60         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
61         (__ASSUME_FUTEX_LOCK_PI): Likewise.
63 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
65         [BZ #19670]
66         [BZ #19672]
68         * io/test-lfs.c (do_prepare): Use xmalloc.
69         * io/tst-fcntl.c (do_prepare): Likewise.
70         * libio/tst-fopenloc.c (do_bz17916): Likewise.
71         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
72         * login/tst-utmp.c (do_prepare): Likewise.
73         * posix/tst-exec.c (do_prepare): Likewise.
74         * posix/tst-pathconf.c (prepare): Likewise.
75         * posix/tst-spawn.c (do_prepare): Likewise.
76         * posix/tst-truncate.c (do_prepare): Likewise.
77         * rt/tst-aio.c (do_prepare): Likewise.
78         * rt/tst-aio64.c (do_prepare): Likewise.
80 2016-06-11  Florian Weimer  <fweimer@redhat.com>
82         [BZ #20237]
83         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
84         (get*ent): Set entidx to NULL during initialization.  If entidx is
85         NULL, start iteration from the beginning.
87 2016-06-11  Florian Weimer  <fweimer@redhat.com>
89         * malloc/malloc.c (musable): Return correct size for dumped fake
90         mmapped chunk.
92 2016-06-11  Florian Weimer  <fweimer@redhat.com>
94         [BZ #20222]
95         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
96         (_IO_cookie_write): Likewise.
97         (_IO_cookie_seek): Likewise.
98         (_IO_cookie_close): Likewise.
99         (_IO_old_cookie_seek): Likewise.
100         (set_callbacks): New function.
101         (_IO_cookie_init): Call set_callbacks to copy callbacks.
103 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
105         * locale/programs/localedef.c (oldstyle_tables): Remove.
106         * locale/programs/localedef.h (oldstyle_tables): Likewise.
108 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
110         [BZ #20240]
111         * math/Makefile (CFLAGS-s_modf.c): New variable.
112         (CFLAGS-s_modff.c): Likewise.
113         (CFLAGS-s_modfl.c): Likewise.
114         * math/libm-test.inc (modf_test_data): Add sNaN tests.
116 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
118         [BZ #20215]
119         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
120         [!__GNUC_PREREQ (3,2)]: Likewise.
122 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
124         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
125         (msghdr.msg_controllen): Likewise.
126         (cmsghdr.cmsg_len): Likewise.
127         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
128         ptw-oldsendmsg.
129         (CFLAGS-oldrecvmsg.c): Remove rule.
130         (CFLAGS-oldsendmsg.c): Likewise.
131         (CFLAGS-recvmsg.c): Add rule.
132         (CFLAGS-sendmsg.c): Likewise.
133         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
134         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
135         (CFLAGS-recvmsg.c): Remove rule.
136         (CFLAGS-sendmsg.c): Likewise.
137         (CFLAGS-oldrecvmsg.c): Likewise.
138         (CFLAGS-oldsendmsg.c): Likewise.
139         (CFLAGS-recvmmsg.c): Likewise.
140         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
141         to kernel defined interfaces.
142         (msghdr.msg_controllen): Likewise.
143         (cmsghdr.cmsg_len): Likewise.
144         (msghdr.__glibc_reserved1): Remove member.
145         (msghdr.__glibc_reserved2): Likewise.
146         (cmsghdr.__glibc_reserved1): Likewise.
147         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
148         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
149         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
150         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
151         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
152         version.
153         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
154         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
155         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
156         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
157         Remove recvmsg and sendmsg.
158         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
159         Likewise.
160         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
161         Likewise.
162         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
163         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
164         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
165         Likewise.
166         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
167         Likewise.
168         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
169         [libc] (GLIBC_2.24): Likewise.
170         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
171         Likewise.
172         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
173         Likewise.
174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
175         [libc] (GLIBC_2.24): Likewise.
176         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
177         Likewise.
178         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
179         Likewise.
180         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
181         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
182         Likewise.
183         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
184         Likewise.
185         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
186         Likewise.
187         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
188         Likewise.
189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
190         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
191         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
192         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
193         version for {recv,send,recm,sendm}msg.
194         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
201         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
202         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
204         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
207         Likewise.
208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
209         Likewise.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
217         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
224 2016-06-10  Florian Weimer  <fweimer@redhat.com>
226         [BZ #19564]
227         Remove __malloc_initialize_hook from the API.
228         * malloc/malloc.h (__malloc_initialize_hook): Remove.
229         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
230         #pragma GCC poison.
231         * malloc/malloc-hooks.h: New file.
232         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
233         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
234         (old__malloc_initialize_hook): Rename from
235         __malloc_initialize_hook to evade poisoning.  Turn into compat
236         symbol.
237         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
238         __malloc_initialize_hook.
239         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
240         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
241         * manual/memory.texi (Hooks for Malloc): Remove
242         __malloc_initialize_hook.  Adjust hook example.
244 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
246         [BZ #20235]
247         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
248         itself.
249         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
250         * math/libm-test.inc (log2_test_data): Add sNaN tests.
252         [BZ #20234]
253         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
254         infinity or NaN input to itself.
256         [BZ #20233]
257         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
258         to itself.
260         [BZ #20232]
261         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
262         itself.
264 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
266         * sysdeps/x86_64/start.S (_start): Always indirect branch to
267         __libc_start_main via GOT.
269 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
271         * sysdeps/x86_64/memcopy.h: New file.
272         * sysdeps/x86_64/wordcopy.c: Likewise.
274 2016-06-09  Florian Weimer  <fweimer@redhat.com>
276         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
277         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
278         <cstdlib>.
279         (optimization_barrier): New.
280         (do_test): Use it.  Call quick_exit in the global namespace.
281         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
282         instead of <cstdlib>, <thread>.
283         (optimization_barrier): New.
284         (non_main_thread): Adjust declaration.  Call optimization_barrier.
285         Call quick_exit in the global namespace.
286         (do_test): Call optimization_barrier.  Use pthread_create,
287         pthread_join instead of std::thread.
289 2016-06-09  Andreas Schwab  <schwab@suse.de>
291         [BZ #19755]
292         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
293         new entries in auto-propagate mode.
294         * nscd/grpcache.c (cache_addgr): Likewise.
296 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
298         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
299         New functions.
300         (add_temp_file): Use them.
302 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
304         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
306 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
308         [BZ #20229]
309         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
310         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
311         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
313         [BZ #20228]
314         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
315         itself.
316         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
317         * math/libm-test.inc (log10_test_data): Add sNaN tests.
319         [BZ #20227]
320         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
321         itself.
322         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
323         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
324         * math/libm-test.inc (log_test_data): Add sNaN tests.
326         [BZ #20226]
327         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
328         itself.
329         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
330         * math/libm-test.inc (exp_test_data): Add sNaN tests.
331         (exp10_test_data): Likewise.
332         (expm1_test_data): Likewise.
334         [BZ #20225]
335         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
336         itself.
337         * math/s_ldexpf.c (__ldexpf): Likewise.
338         * math/s_ldexpl.c (__ldexpl): Likewise.
339         * math/w_scalbln.c (__w_scalbln): Likewise.
340         * math/w_scalblnf.c (__w_scalblnf): Likewise.
341         * math/w_scalblnl.c (__w_scalblnl): Likewise.
342         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
343         (scalbln_test_data): Likewise.
345         [BZ #20224]
346         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
347         argument to itself.
348         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
350 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
352         [BZ #19776]
353         * sysdeps/x86_64/memcpy.S: Make it dummy.
354         * sysdeps/x86_64/mempcpy.S: Likewise.
355         * sysdeps/x86_64/memmove.S: New file.
356         * sysdeps/x86_64/memmove_chk.S: Likewise.
357         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
358         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
359         * sysdeps/x86_64/memmove.c: Removed.
360         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
361         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
362         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
363         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
364         Likewise.
365         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
366         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
368         memcpy-sse2-unaligned, memmove-avx-unaligned,
369         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
371         (__libc_ifunc_impl_list): Replace
372         __memmove_chk_avx512_unaligned_2 with
373         __memmove_chk_avx512_unaligned.  Remove
374         __memmove_chk_avx_unaligned_2.  Replace
375         __memmove_chk_sse2_unaligned_2 with
376         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
377         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
378         with __memmove_avx512_unaligned.  Replace
379         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
380         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
381         with __memcpy_chk_avx512_unaligned.  Remove
382         __memcpy_chk_avx_unaligned_2.  Replace
383         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
384         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
385         Replace __memcpy_avx512_unaligned_2 with
386         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
387         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
388         with __mempcpy_chk_avx512_unaligned.  Remove
389         __mempcpy_chk_avx_unaligned_2.  Replace
390         __mempcpy_chk_sse2_unaligned_2 with
391         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
392         Replace __mempcpy_avx512_unaligned_2 with
393         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
394         Replace __mempcpy_sse2_unaligned_2 with
395         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
396         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
397         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
398         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
399         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
400         (ENTRY): Removed.
401         (END): Likewise.
402         (ENTRY_CHK): Likewise.
403         (libc_hidden_builtin_def): Likewise.
404         Don't include ../memcpy.S.
405         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
406         __memcpy_chk_avx512_unaligned_erms and
407         __memcpy_chk_avx512_unaligned.  Use
408         __memcpy_chk_avx_unaligned_erms and
409         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
410         Default to __memcpy_chk_sse2_unaligned.
411         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
412         Change function suffix from unaligned_2 to unaligned.
413         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
414         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
415         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
416         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
417         (ENTRY): Removed.
418         (END): Likewise.
419         (ENTRY_CHK): Likewise.
420         (libc_hidden_builtin_def): Likewise.
421         Don't include ../mempcpy.S.
422         (mempcpy): New.  Add a weak alias.
423         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
424         __mempcpy_chk_avx512_unaligned_erms and
425         __mempcpy_chk_avx512_unaligned.  Use
426         __mempcpy_chk_avx_unaligned_erms and
427         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
428         Default to __mempcpy_chk_sse2_unaligned.
430 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
432         [BZ #19881]
433         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
434         into ...
435         * sysdeps/x86_64/memset.S: This.
436         (__bzero): Removed.
437         (__memset_tail): Likewise.
438         (__memset_chk): Likewise.
439         (memset): Likewise.
440         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
441         defined.
442         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
443         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
444         (__memset_zero_constant_len_parameter): Check SHARED instead of
445         PIC.
446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
447         memset-avx2 and memset-sse2-unaligned-erms.
448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
449         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
450         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
451         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
452         (__bzero): Enabled.
453         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
454         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
455         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
456         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
457         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
458         (memset): Removed.
459         (__memset_chk): Likewise.
460         (MEMSET_SYMBOL): New.
461         (libc_hidden_builtin_def): Replace __memset_sse2 with
462         __memset_sse2_unaligned.
463         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
464         __memset_chk_sse2 and __memset_chk_avx2 with
465         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
466         Use __memset_chk_sse2_unaligned_erms or
467         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
468         __memset_chk_avx512_unaligned_erms and
469         __memset_chk_avx512_unaligned.
471 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
473         * math/gen-auto-libm-test.c (fp_format_desc): remove
474         suffix member.
475         (output_generic_value): Remove usage of suffix member,
476         and the resulting unuse of the fp_format argument.
477         (output_for_one_input_case): Remove unused fp_format
478         parameter.
480         * math/auto-libm-test-out: Regenerate.
482         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
483         usage with TEST_COND_ibm128.
484         (TEST_COND_flt_32): Remove.
485         (TEST_COND_dbl_64): Remove.
486         (TEST_COND_ldbl_96_intel): Remove.
487         (TEST_COND_ldbl_96_m68k): Remove.
488         (TEST_COND_ldbl_128): Remove.
490 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
492         * auto-libm-test-in:
493         Replace flt-32 usage with binary32.
494         Replace dbl-64 usage with binary64.
495         Replace ldbl-intel-96 usage with intel96.
496         Replace ldbl-m68k-96 usage with m68k96.
497         Replace ldbl-128ibm usage with ibm128.
498         Replace ldbl-128 usage with binary128.
500         * auto-libm-test-out: Regenerate.
502 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
504         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
505         (parse_ulps): Dynamically generate type name matching
506         string from all_floats.
507         (get_ulps): Generate the ulps as an array instead.
508         (output_ulps): Dynamically compose the type based
509         on the number of supported formats, and print
510         the indices as type specific helper macros.
512         * math/libm-test.inc: Remove comment about CHOOSE.
513         (ulp_data): Generate the type in libm-test-ulps.h.
514         (ULP_IDX): New macro.
515         (find_ulps): Update usage of max_ulp.
517         * math/test-double-vlen2.h (CHOOSE): Remove.
518         * math/test-double-vlen4.h (CHOOSE): Likewise.
519         * math/test-double-vlen8.h (CHOOSE): Likewise.
520         * math/test-float.c (CHOOSE): Likewise.
521         * math/test-float-finite.c (CHOOSE): Likewise.
522         * math/test-double.c (CHOOSE): Likewise.
523         * math/test-double-finite.c (CHOOSE): Likewise.
524         * math/test-idouble.c (CHOOSE): Likewise.
525         * math/test-ifloat.c (CHOOSE): Likewise.
526         * math/test-ildoubl.c (CHOOSE): Likewise.
527         * math/test-ldouble-finite.c (CHOOSE): Likewise.
528         * math/test-ldouble.c (CHOOSE): Likewise.
530         * math/test-float.h (TEST_FLOAT): Remove.
531         * math/test-double.h (TEST_DOUBLE): Likewise.
532         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
534 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
536         * math/gen-libm-test.pl: (apply_lit): New subroutine.
537         (parse_args): Strip C suffix from floating point literals
538         typed with 'f' and wrap them with LIT().
540         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
541         (test_ff_f_data_nexttoward): Rename to
542         (test_fj_f_data): New struct.
543         (nexttoward_test_data): Relabel tests as
544         TEST_fj_f instead of TEST_ff_f.
546 2016-06-08  Florian Weimer  <fweimer@redhat.com>
548         Emacs bug 23726.
549         * malloc/malloc.c (dumped_main_arena_start): Update comment.
550         (__libc_realloc): Correct size computation for dumped fake mmapped
551         chunks.
553 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
555         [BZ #20219]
556         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
557         to itself.
558         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
560         [BZ #20218]
561         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
562         to itself.
563         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
565 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
567         [BZ #20195]
568         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
569         check to ...
570         (init_cpu_features): Here.
572 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
574         [BZ #20214]
575         * sysdeps/unix/sysv/linux/bits/in.h
576         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
577          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
578         Define to 1.
579         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
580          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
581         Define to 0.
582         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
583         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
585 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
587         [BZ #20198]
588         * stdlib/Makefile (tests): Add tst-quick_exit, and
589         tst-thread-quick_exit.
590         [ifeq ($(have-cxx-thread_local),yes)]
591         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
592         (CFLAGS-tst-thread-quick_exit.o): Likewise.
593         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
594         (LDLIBS-tst-thread-quick_exit): Likewise.
595         [ifneq ($(have-cxx-thread_local),yes)]
596         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
597         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
598         If run_dtors is true call __call_tls_dtors.
599         (exit): Call __run_exit_handlers with run_dtors set to true.
600         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
601         definition.
602         * stdlib/quick_exit.c (quick_exit): Remove function.
603         (__new_quick_exit): New function.
604         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
605         function.
606         * stdlib/tst-quick_exit.cc: New file.
607         * stdlib/tst-thread-quick_exit.cc: New file.
608         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
609         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
610         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
611         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
612         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
613         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
614         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
615         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
616         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
617         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
618         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
619         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
620         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
621         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
622         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
623         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
628         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
630         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
631         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
632         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
635         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
636         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
637         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
639 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
641         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
642         a typo in comments.
644 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
646         [BZ #20213]
647         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
648         argument to itself.
649         * math/libm-test.inc (asin_test_data): Add sNaN tests.
651 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
653         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
654         required flags.
655         (CFLAGS-pwritev64.c): Likewise.
656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
658         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
659         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
660         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
661         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
662         syscall from auto-generation.
663         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
664         [WORDSIZE == 64] (pwritev64): Remove macro.
665         [!PWRITEV] (PWRITEV): Likewise.
666         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
667         [!PWRITEV] (PWRITE): Likewise.
668         [!PWRITEV] (OFF_T): Likewise.
669         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
670         (LO_HI_LONG): Remove macro.
671         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
672         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
673         (PWRITEV): Remove macro.
674         (PWRITEV_REPLACEMENTE): Likewise.
675         (PWRITE): Likewise.
676         (OFF_T): Likewise.
677         (pwritev64): New function.
678         * nptl/tst-cancel4.c (tf_writev): Add test.
680         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
681         required flags.
682         (CFLAGS-preadv64.c): Likewise.
683         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
684         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
685         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
686         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
687         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
688         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
689         syscall from auto-generation.
690         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
691         [WORDSIZE == 64] (preadv64): Remove macro.
692         [!PREADV] (PREADV): Likewise.
693         [!PREADV] (PREADV_REPLACEMENT): Likewise.
694         [!PREADV] (PREAD): Likewise.
695         [!PREADV] (OFF_T): Likewise.
696         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
697         (LO_HI_LONG): Remove macro.
698         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
699         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
700         (PREADV): Remove macro.
701         (PREADV_REPLACEMENTE): Likewise.
702         (PREAD): Likewise.
703         (OFF_T): Likewise.
704         (preadv64): New function.
705         * nptl/tst-cancel4.c (tf_preadv): Add test.
707 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
709         [BZ #20212]
710         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
711         argument to itself.
712         * math/libm-test.inc (acos_test_data): Add sNaN tests.
714 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
716         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
717         New symbol defined as libc_hidden_def.
718         (strcasestr): Became a weak alias to __strcasestr.
719         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
720         according to multi-arch support.  Move __stpncpy hidden
721         definition from here to...
722         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
723         symbol stpncpy.
724         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
725         libc_hidden_builtin_def.
726         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
727         memset symbol to use when multi-arch support is available.
729 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
731         * dlfcn/tst-rec-dlopen.c: Include string.h.
733 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
735         * manual/install.texi: Remove mention of --without-tls
736         * INSTALL: Regenerate.
738 2016-06-05  Florian Weimer  <fweimer@redhat.com>
740         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
741         Remove.
742         (call_function, interposed_malloc_called): New variables.
743         (malloc): New function.
744         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
745         and clear call_function as needed.
747 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
749         * include/wchar.h (__wmemset): Use __typeof.
751 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
753         * include/wchar.h (__wmemset): Declare function without typeof.
755 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
757         [BZ #20205]
758         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
759         exponent when incrementing negative subnormal with low mantissa
760         word zero.
761         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
762         Add another test.
764 2016-06-03  Florian Weimer  <fweimer@redhat.com>
766         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
767         __wmemset instead of wmemset.
769 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
771         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
772         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
773         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
774         __USE_KERNEL_IPV6_DEFS to 0.
775         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
776         Update comment.
778 2016-06-01  Florian Weimer  <fweimer@redhat.com>
780         [BZ #19861]
781         Do not use IFUNC resolver with potentially unrelocated symbol.
782         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
783         (DEFINE_FORK): Remove macro and inline definition.
784         (fork_alias): Renamed from fork_ifunc.
785         (__fork_alias): Renamed from __fork_ifunc.
787 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
789         [BZ 19653]
790         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
791         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
793 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
795         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
796         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
797         i386-linux-gnu).
798         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
799         Set to no.
800         * sysdeps/mach/hurd/configure: Refresh.
802 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
804         [BZ #20178]
805         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
806         on failure instead of exit.
808 2016-05-30  Roland McGrath  <roland@hack.frob.com>
810         [BZ #3629]
811         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
812         of POSIX.1-2008.
814 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
816         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
817           Use PLT entry for calling _hurd_self_sigstate.
819 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
821         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
822         available logical processors with SMT level type sharing L2
823         cache for Intel processors.
825 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
827         [BZ #20160]
828         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
829         argument to itself before returning the result.
830         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
831         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
832         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
833         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
834         Likewise.
835         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
836         Likewise.
837         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
838         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
839         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
840         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
841         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
842         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
844         [BZ #20160]
845         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
846         argument to itself before returning the result.
847         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
848         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
849         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
850         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
851         Likewise.
852         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
853         Likewise.
854         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
855         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
856         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
857         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
858         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
859         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
861 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
863         * libm-test.inc: Replace usage of M_El with
864         (lit_e): New macro.
866 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
868         * libm-test.inc: Replace usage of M_PI_4l with
869         (lit_pi_4_d): New macro.
871 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
873         * libm-test.inc: Replace usage of M_PIl with
874         (lit_pi): New macro.
876 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
878         * libm-test.inc: Replace usage of M_PI2l with
879         (lit_pi_2_d): New macro.
881         * math/test-double.h (LITM): New macro.
882         * math/test-float.h (LITM): Likewise.
883         * math/test-ldouble.h (LITM): Likewise.
885 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
887         * libm-test.inc (M_PI_34l): Rename to
888         (lit_pi_3_m_4_d): New Macro.
889         (M_PI_34_LOG10El): Rename to
890         (lit_pi_3_m_4_ln10_m_d): New Macro.
891         (M_PI2_LOG10El): Rename to
892         (lit_pi_2_ln10_m_d):  New Macro.
893         (M_PI4_LOG10El): Rename to
894         (lit_pi_4_ln10_m_d):  New Macro.
895         (M_PI_LOG10El): Rename to
896         (lit_pi_ln10_d):  New Macro.
898 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
900         [BZ #20157]
901         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
902         determine whether to negate low half if [_ARCH_PPCGR], and integer
903         comparison otherwise.
904         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
905         determine whether to negate low half.
907         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
908         (NO_TEST_INLINE_DOUBLE): Likewise.
909         (TEST_COND_x86_64): Likewise.
910         (TEST_COND_x86): Likewise.
911         (M_PI_6l): Likewise.
913 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
915         * math/libm-test.inc:
916         (TEST_FLOAT): Change usage to TEST_COND_binary32.
917         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
918         (TEST_LDOUBLE): Update usage to evaluate as true if
919         the guarded tests match the property being tested.
920         (LDBL_MAX_EXP): Change to MAX_EXP.
921         (LDBL_MIN_EXP): Change to MIN_EXP.
922         (LDBL_MANT_DIG): Change to MANT_DIG, except for
923         nexttoward tests.
925 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
927         * math/libm-test.inc:
928         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
929         (TYPE_MIN): Likewise.
930         (TYPE_TRUE_MIN): Likewise.
931         (TYPE_MAX): Likewise.
932         (MIN_EXP): Likewise.
933         (MAX_EXP): Likewise.
934         (MANT_DIG): Likewise.
936         (FSTR_MAX): New macro.
937         (__CONCATX): Likewise.
938         (QTYPE_STR): Likewise.
939         (TEST_COND_binary32): Likewise.
940         (TEST_COND_binary64): Likewise.
941         (TEST_COND_binary128): Likewise.
942         (TEST_COND_ibm128): Likewise.
943         (TEST_COND_intel96): Likewise.
944         (TEST_COND_m68k96): Likewise.
946         (TEST_COND_flt_32): Redefine as equivalent format test macro.
947         (TEST_COND_dbl_64): Likewise.
948         (TEST_COND_ldbl_96_intel): Likewise.
949         (TEST_COND_ldbl_96_m68k): Likewise.
950         (TEST_COND_ldbl_128): Likewise.
951         (TEST_COND_ldbl_128ibm): Likewise.
953         (plus_zero): Redefine using LIT macro.
954         (minus_zero): Likewise.
955         (plus_infty): Redefine as (INF).
956         (minux_infty): Redefine as (-INF).
957         (max_value): Redefine as TYPE_MAX.
958         (min_value): Redefine as TYPE_MIN.
959         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
961         (print_float): Refactor to use snprintf to convert FLOAT values
962         to string. This brings it closer to dropin replacement of strtof
963         for the TS 18661 defined types.
964         (update_stats): Likewise.
965         (print_complex_function_ulps): Likewise.
966         (print_max_error): Likewise.
967         (print_complex_max_error): Likewise.
968         (check_float_internal): Likewise.
970         * math/test-float.h (PREFIX): New macro.
971         (LIT): Likewise.
972         (TYPE_STR): Likewise.
973         (FTOSTR): Likewise.
975         * math/test-double.h (PREFIX): New macro.
976         (LIT): Likewise.
977         (TYPE_STR): Likewise.
978         (FTOSTR): Likewise.
980         * math/test-ldouble.h (PREFIX): New macro.
981         (LIT): Likewise.
982         (TYPE_STR): Likewise.
983         (FTOSTR): Likewise.
985 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
987         [BZ #20156]
988         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
989         to itself when zero or not finite.
990         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
991         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
992         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
993         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
995 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
997         [BZ #20153]
998         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
999         x * x + x for infinities and NaNs.
1001         [BZ #20151]
1002         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1003         argument to itself before returning result.
1004         (__ieee754_y0l): Likewise.
1005         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1006         (__ieee754_y1l).
1008         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1009         (atan_test_data): Likewise.
1010         (ceil_test_data): Likewise.
1011         (cos_test_data): Likewise.
1012         (cosh_test_data): Likewise.
1013         (erf_test_data): Likewise.
1014         (exp2_test_data): Likewise.
1015         (fabs_test_data): Likewise.
1016         (floor_test_data): Likewise.
1017         (ilogb_test_data): Likewise.
1018         (j0_test_data): Likewise.
1019         (j1_test_data): Likewise.
1020         (jn_test_data): Likewise.
1021         (lgamma_test_data): Likewise.
1022         (lrint_test_data): Likewise.
1023         (llrint_test_data): Likewise.
1024         (logb_test_data): Likewise.
1025         (lround_test_data): Likewise.
1026         (llround_test_data): Likewise.
1027         (nearbyint_test_data): Likewise.
1028         (rint_test_data): Likewise.
1029         (round_test_data): Likewise.
1030         (sin_test_data): Likewise.
1031         (sincos_test_data): Likewise.
1032         (sinh_test_data): Likewise.
1033         (sqrt_test_data): Likewise.
1034         (tan_test_data): Likewise.
1035         (tanh_test_data): Likewise.
1036         (tgamma_test_data): Likewise.
1037         (trunc_test_data): Likewise.
1038         (y0_test_data): Likewise.
1039         (y1_test_data): Likewise.
1040         (yn_test_data): Likewise.
1042         * math/libm-test.inc: Update comment about NaN testing.
1043         (TEST_SNAN): New macro.
1044         (snan_value): Likewise.
1045         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1046         (fpclassify_test_data): Add sNaN tests.
1047         (isfinite_test_data): Likewise.
1048         (isinf_test_data): Likewise.
1049         (isnan_test_data): Likewise.
1050         (isnormal_test_data): Likewise.
1051         (issignaling_test_data): Likewise.
1052         (signbit_test_data): Likewise.
1053         * math/gen-libm-test.pl (%beautify): Add snan_value.
1054         (show_exceptions): Add argument $test_snan.
1055         (parse_args): Handle snan_value as non-finite.  Update call to
1056         show_exceptions.
1057         * math/Makefile (libm-test-no-inline-cflags): Add
1058         -fsignaling-nans.
1060 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1062         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1063         (CFLAGS-oldsendmsg.c): Add rule.
1064         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1065         Correct recvmsg symbol name.
1066         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1067         Likewise.
1069 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1071         * sysdeps/unix/sysv/linux/Makefile
1072         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1073         oldsendmmsg.
1074         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1075         sendmmsg.
1076         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1079         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1084         Likewise.
1085         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1087         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1088         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1089         iovlen and controllen fields to adjust to POSIX specification.
1090         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1092         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1093         and change to correct expected type.
1094         (msghdr.msg_controllen): Likewise.
1095         (cmsghdr.cmsg_len): Likewise.
1096         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1097         expected POSIX assumption about the size.
1098         (msghdr.msg_controllen): Likewise.
1099         (msghdr.__glibc_reserved1): Likewise.
1100         (msghdr.__glibc_reserved2): Likewise.
1101         (cmsghdr.cmsg_len): Likewise.
1102         (cmsghdr.__glibc_reserved1): Likewise.
1103         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1104         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1105         (CFLAGS-sendmsg.c): Remove rule.
1106         (CFLAGS-recvmsg.c): Likewise.
1107         (CFLAGS-oldsendmsg.c): Add rule.
1108         (CFLAGS-oldrecvmsg.c): Likewise.
1109         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1110         recvmsg and sendmsg.
1111         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1112         Likewise.
1113         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1114         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1115         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1116         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1117         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1118         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1119         Likewise.
1120         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1121         Likewise.
1122         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1123         Likewise.
1124         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1125         Likewise.
1126         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1127         Likewise.
1128         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1129         Likewise.
1130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1131         (GLIBC_2.24): Likewise.
1132         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1133         Likewise.
1134         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1135         Likewise.
1136         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1137         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1140         Likewise.
1141         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1144         (GLIBC_2.24): Likewise.
1145         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1146         Likewise.
1147         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1148         Likewise.
1149         * sysdeps/unix/sysv/linux/Makefile
1150         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1151         (CFLAGS-sendmsg.c): Add rule.
1152         (CFLAGS-recvmsg.c): Likewise.
1153         (CFLAGS-oldsendmsg.c): Likewise.
1154         (CFLAGS-oldrecvmsg.c): Likewise.
1155         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1156         initialization.
1157         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1158         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1159         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1160         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1161         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1162         iovlen and controllen fields to adjust to POSIX specification.
1163         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1164         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1165         added recvmsg and sendmsg.
1166         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1167         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1168         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1169         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1170         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1171         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1172         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1173         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1174         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1175         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1176         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1177         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1179         Likewise.
1180         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1182         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1183         Likewise.
1184         Likewise.
1185         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1194         Likewise.
1195         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1196         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1198         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1199         from auto-generation.
1200         (sendmsg): Likewise.
1201         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1202         (sendmsg): Likewise.
1203         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1204         (sendmsg): Likewise.
1205         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1206         (sendmsg): Likewise.
1207         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1208         (sendmsg): Likewise.
1209         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1210         (sendmsg): Likewise.
1211         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1212         Likewise.
1213         (sendmsg): Likewise.
1214         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1215         (sendmsg): Likewise.
1216         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1218         Remove.
1219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1220         Likewise.
1221         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1222         Undefine.
1223         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/kernel-features.h
1226         (__ASSUME_SENDMSG_SYSCALL): Define.
1227         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1228         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1230         Remove.
1231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1232         Likewise.
1233         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1234         Undefine.
1235         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1239         Remove.
1240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1241         Likewise.
1242         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1243         Undefine.
1244         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1245         Likewise.
1246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1247         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1248         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1249         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1250         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1251         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1252         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1253         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1254         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1256 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1258         * stdlib/gen-tst-strtod-round.c: Add backslash to
1259         compile command in comment.
1260         (printfp): Remove the literal suffix, and define an infinite
1261         value as INF to avoid expansion clash with INFINITY.
1262         (round_str): Remove the literal suffix.
1263         (round_for_all): Likewise, remove the now duplicate ldbl-64
1264         entry, and remove some magic constants.
1266         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1267         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1268         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1269         (_CONCAT): New macro.
1270         (CONCAT): Likewise.
1271         (CHOOSE_ld): Likewise.
1272         (CHOOSE_f): Likewise.
1273         (CHOOSE_d): Likewise.
1274         (FTYPE_MEMBER): Likewise.
1275         (BOOL_MEMBER): Likewise.
1276         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1277         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1278         (_XNTRY): Likewise.
1279         (XNTRY): Likewise.
1280         (_ENTRY): Likewise.
1281         (ENTRY): Likewise.
1282         (test_exactness): Generate members via macro.
1283         (test_results): Likewise.
1284         (test): Update members.
1285         (TEST): Redefine using new macros.
1286         (INF): New macro.
1287         (fetestmodes): New structure.
1288         (do_test): Refactor to be type generic.
1289         (test_in_one_mode): Refactor duplicate code into
1290         (GEN_ONE_TEST): New macro.
1292         * stdlib/tst-strtod-round-data.h: Regenerate.
1294         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1295         Extend to pass additional arbitrary parameters to
1296         generators.
1298 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1300         [BZ #15479]
1301         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1302         floating-point state after first floating-point operation on
1303         input.  Restore full floating-point state instead of just rounding
1304         mode.
1305         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1306         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1307         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1308         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1309         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1311         [BZ #15479]
1312         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1313         floating-point state after first floating-point operation on
1314         input.  Restore full floating-point state instead of just rounding
1315         mode.
1316         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1317         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1318         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1319         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1320         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1324         [BZ #19727]
1325         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1326         valid high surrogate.
1327         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1328         of an utf16 surrogate.
1329         * iconv/gconv_simple.c (BODY): Likewise.
1330         * iconvdata/bug-iconv12.c: New file.
1331         * iconvdata/Makefile (tests): Add bug-iconv12.
1333 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1335         [BZ #19726]
1336         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1337         outptrp in case of an illegal input.
1338         * iconv/tst-iconv6.c: New file.
1339         * iconv/Makefile (tests): Add tst-iconv6.
1341 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1343         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1344         an error in case of a value in range of an utf16 low surrogate.
1346 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1348         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1349         an error in case of a value in range of an utf16 low surrogate.
1351 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1353         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1354         Move to ...
1355         * sysdeps/s390/Makefile: ... here.
1356         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1357         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1358         (BRANCH_ON_COUNT): New define.
1359         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1360         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1361         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1362         run on s390-32, too.
1363         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1364         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1365         run on s390-32, too.
1366         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1367         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1368         run on s390-32, too.
1370 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1372         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1373         etf3eh or new vector loop-variant.
1375 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1377         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1378         etf3eh or new vector loop-variant.
1380 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1382         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1383         or new vector loop-variant.
1385 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1387         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1388         Rename to TR_LOOP and usage of tr instead of troo instruction.
1390 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1392         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1393         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1397         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1398         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1399         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1400         New override define.
1401         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1403 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1405         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1406         * sysdeps/s390/configure.ac: Add test for S390 vector register
1407         support in gcc.
1408         * sysdeps/s390/configure: Regenerated.
1410 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1412         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1413         Install file from $(objpfx)gconv-modules.
1414         ($(objpfx)gconv-modules): Concatenate architecture specific file
1415         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1416         * sysdeps/s390/gconv-modules: New file.
1417         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1418         Deleted.
1419         ($(objpfx)gconv-modules-s390): Deleted.
1420         (sysdeps-gconv-modules): New variable.
1422 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1424         [BZ #15479]
1425         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1426         of immediate operand to rounding instruction.
1427         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1428         Likewise.
1429         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1430         Likewise.
1431         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1432         Likewise.
1434 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1436         * math/libm-test.inc (MIN_EXP): Directly define as
1437         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1439 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1441         * math/libm-test.inc (MANT_DIG): Directly define as
1442         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1444 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1446         * stdlib/gen-tst-strtod-round.c (main):
1447           Change usage to more closely match the generated
1448           output.  Add usage and compilation instructions.
1449           (string_to_fp): Add and use FILE* parameter as
1450           output target.
1451           (print_fp): Likewise.
1452           (round_str): Likewise.
1453           (round_for_all): Likewise.
1454         * stdlib/tst-strtod-round.c (tests): Move into
1455         * stdlib/tst-strtod-round-data.h: New file.
1457 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1459         [BZ #15479]
1460         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1461         (__round): Do not force "inexact" exception.
1462         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1463         variable.
1464         (__round): Do not force "inexact" exception.
1465         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1466         (__roundf): Do not force "inexact" exception.
1467         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1468         (__roundl): Do not force "inexact" exception.
1469         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1470         (__roundl): Do not force "inexact" exception.
1471         * math/libm-test.inc (round_test_data): Do not allow spurious
1472         "inexact" exceptions.
1474         [BZ #15479]
1475         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1476         exception in comment.
1477         (huge): Remove variable.
1478         (__floor): Do not force "inexact" exception.
1479         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1480         "inexact" exception in comment.
1481         (huge): Remove variable.
1482         (__floor): Do not force "inexact" exception.
1483         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1484         exception in comment.
1485         (huge): Remove variable.
1486         (__floorf): Do not force "inexact" exception.
1487         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1488         exception in comment.
1489         (huge): Remove variable.
1490         (__floorl): Do not force "inexact" exception.
1492         [BZ #15479]
1493         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1494         exception in comment.
1495         (huge): Remove variable.
1496         (__ceil): Do not force "inexact" exception.
1497         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1498         "inexact" exception in comment.
1499         (huge): Remove variable.
1500         (__ceil): Do not force "inexact" exception.
1501         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1502         (__ceilf): Do not force "inexact" exception.
1503         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1504         exception in comment.
1505         (huge): Remove variable.
1506         (__ceill): Do not force "inexact" exception.
1508 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1510         * config.h.in (BIND_NOW): New.
1511         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1512         * configure: Regenerated.
1513         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1514         indirect branch via the GOT slot.
1516 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1518         [BZ #19765]
1519         * sysdeps/s390/mempcpy.S: New File.
1520         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1522         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1523         Add mempcpy variants.
1524         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1525         (memcpy): Adjust to be usable from mempcpy entry point.
1526         (__memcpy_mvcle): Likewise.
1527         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1528         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1529         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1530         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1531         (__memcpy_z10): Likewise.
1532         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1534 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1536         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1537         Remove __GI_ symbol.
1538         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1539         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1540         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1541         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1542         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1543         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1545 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1547         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1548         Use cghi instead of chi to compare 64bit value.
1550 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1552         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1553         Jump to 1MB check before executing mvc-loop.
1555 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1557         [BZ #6527]
1558         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1559         unconditionally.
1560         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1562 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1564         * stdlib/tst-strtod6.c (do_test): Use new type generic
1565         invocation of the test function.
1566         (test): Refactor into ...
1567         (TEST_STRTOD): New macro base function.
1569 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1571         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1572         (TEST_STRTOD): New macro.
1573         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1575 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1577         * stdlib/tst-strtod6.c (do_test): Use new type generic
1578         invocation of the test function.
1579         (test): Refactor into ...
1580         (TEST_STRTOD): New macro base function.
1582 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1584         CVE-2016-4429
1585         [BZ #20112]
1586         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1587         payload.
1589 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1591         [BZ #20111]
1592         * bits/sockaddr.h (_SS_SIZE): Define.
1593         * bits/socket.h (_SS_SIZE): Remove.
1594         (_SS_PADSIZE): Adjust to account for all padding.
1595         (struct sockaddr_storage): Update comment.  Avoid implicit
1596         padding.
1597         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1598         (_SS_PADSIZE): Adjust to account for all padding.
1599         (struct sockaddr_storage): Update comment.  Avoid implicit
1600         padding.
1601         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1602         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1603         (_SS_PADSIZE): Adjust to account for all padding.
1604         (struct sockaddr_storage): Update comment.  Avoid implicit
1605         padding.
1606         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1607         __SS_SIZE is 126 in this version.
1608         * inet/tst-sockaddr.c: New file.
1609         * inet/Makefile (tests): Add tst-sockaddr.c
1610         (tst-sockaddr.c): Compile with non-strict aliasing.
1612 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1614         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1615         [XPG3 || XPG4].
1616         (NL_ARGMAX): Also expect for [XPG3].
1617         (NL_LANGMAX): Likewise.
1618         (NL_MSGMAX): Likewise.
1619         (NL_NMAX): Likewise.
1620         (NL_SETMAX): Likewise.
1621         (NL_TEXTMAX): Likewise.
1622         (NZERO): Likewise.
1623         (TMP_MAX): Likewise.
1624         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1625         variable.
1627         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1628         (PF_MAX): Update value.
1629         (AF_KCM): New macro.
1630         (SOL_NETBEUI): Likewise.
1631         (SOL_LLC): Likewise.
1632         (SOL_DCCP): Likewise.
1633         (SOL_NETLINK): Likewise.
1634         (SOL_TIPC): Likewise.
1635         (SOL_RXRPC): Likewise.
1636         (SOL_PPPOL2TP): Likewise.
1637         (SOL_BLUETOOTH): Likewise.
1638         (SOL_PNPIPE): Likewise.
1639         (SOL_RDS): Likewise.
1640         (SOL_IUCV): Likewise.
1641         (SOL_CAIF): Likewise.
1642         (SOL_ALG): Likewise.
1643         (SOL_NFC): Likewise.
1644         (SOL_KCM): Likewise.
1645         (MSG_BATCH): New enum value and macro.
1647 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1649         [BZ #18185]
1650         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1651         sharing L2 cache to 2 for Knights Landing.
1653 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1655         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1656         (FTW_DP): Do not expect for [XPG3 || XPG4].
1657         (FTW_SL): Do not expect for [XPG3].
1658         (FTW_SLN): Likewise.
1659         (FTW_PHYS): Likewise.
1660         (FTW_MOUNT): Likewise.
1661         (FTW_DEPTH): Likewise.
1662         (FTW_CHDIR): Likewise.
1663         (nftw): Likewise.
1664         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1665         variable.
1667 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1669         * manual/errno.texi: Fix various typos & grammar errors.
1671 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1673         * manual/intro.texi: Fix duplicated typo.
1675 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1677         [BZ #13304]
1678         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1679         <float.h>, <math_private.h> and <stdlib.h>.
1680         (add_split): New function.
1681         (mul_split): Likewise.
1682         (ext_val): New typedef.
1683         (store_ext_val): New function.
1684         (mul_ext_val): New function.
1685         (compare): New function.
1686         (add_split_ext): New function.
1687         (__fmal): After checking for Inf, NaN and zero, compute result as
1688         an exact sum of scaled double values in round-to-nearest before
1689         adding those up and adjusting for other rounding modes.
1690         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1691         tests of fma.
1692         * math/auto-libm-test-out: Regenerated.
1694 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1696         [BZ #20119]
1697         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1698         processor level type mask for CPUID with EAX == 11.
1700 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1702         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1703         logical threads if the HTT bit is 0.
1704         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1705         (index_cpu_HTT): Likewise.
1706         (reg_HTT): Likewise.
1708 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1710         [BZ #20115]
1711         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1712         Remove alignments on jump targets.
1714 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1716         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1717         (getpwent): Likewise.
1718         (setpwent): Likewise.
1719         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1720         variable.
1722         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1723         (remque): Likewise.
1724         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1725         variable.
1727 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1729         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1730         not being tested.
1732 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1735         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1736         call.
1737         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1738         (__condvar_cleanup1): Likewise.
1740 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1742         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1743         New
1744         (__pthread_unwind): Renamed to ...
1745         (PTHREAD_UNWIND): This.
1746         (__pthread_enable_asynccancel): Replace
1747         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1749 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1751         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1752         (CLONE_NEWCGROUP): New macro.
1754         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1755         (Q_GETNEXTQUOTA): New macro.
1757 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1759         [BZ #19907]
1760         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1761         buffer updated by the previous run.
1762         * string/test-memcpy.c (do_one_test): Likewise.
1763         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1764         * string/test-memmove.c (do_one_test): Likewise.
1766 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1768         [BZ #20094]
1769         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1770         not [__USE_XOPEN].
1771         (unlockpt): Likewise.
1772         (ptsname): Likewise.
1773         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1774         variable.
1776         [BZ #20076]
1777         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1778         instead of [__USE_UNIX98].
1779         (S_ISSOCK): Likewise.
1780         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1781         variable.
1783         [BZ #20074]
1784         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1785         [__USE_POSIX].
1786         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1787         variable.
1789         [BZ #20051]
1790         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1791         (ttyslot): Do not declare.
1792         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1793         (ttyslot): New prototype.
1794         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1795         variable.
1796         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1798 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1800         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1802 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1804         Fix race condition in tst-mallocfork2, use fewer resources.
1805         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1806         to current process group.
1807         (signal_sender): Yield in the non-sleeping case.
1809 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1811         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1812         (ecvt): Likewise.
1813         (fcvt): Likewise.
1814         (gcvt): Likewise.
1815         (getsubopt): Likewise.
1816         (grantpt): Likewise.
1817         (initstate): Likewise.
1818         (l64a): Likewise.
1819         (mktemp): Likewise.
1820         (mkstemp): Likewise.
1821         (ptsname): Likewise.
1822         (random): Likewise.
1823         (realpath): Likewise.
1824         (setstate): Likewise.
1825         (srandom): Likewise.
1826         (ttyslot): Likewise.
1827         (unlockpt): Likewise.
1828         (valloc): Likewise.
1830         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1831         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1832         variable.
1834 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1836         [BZ #20072]
1837         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1838         init_cpu_features only if SHARED is defined.
1839         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1841 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1843         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1844         non-inclusive caches on Intel processors.
1846 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1848         * malloc/malloc.c (dumped_main_arena_start)
1849         (dumped_main_arena_end): New variables.
1850         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1851         (do_check_chunk): Skip dumped fake mmapped chunks.
1852         (munmap_chunk): Likewise.
1853         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1854         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1855         mmapped chunks.
1856         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1857         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1858         and dumped_main_arena_end to cover the dumped heap.
1860 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1862         * conform/data/time.h-data (getdate_err): Do not expect for
1863         [XPG3].
1864         (getdate): Likewise.
1865         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1866         variable.
1868         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1869         (F_ULOCK): Likewise.
1870         (F_TEST): Likewise.
1871         (F_TLOCK): Likewise.
1872         (useconds_t): Likewise.
1873         (intptr_t): Do not expect for [XPG3] or [XPG4].
1874         (brk): Do not expect for [XPG3]
1875         (fchown): Likewise.
1876         (fchdir): Likewise.
1877         (ftruncate): Likewise.
1878         (getdtablesize): Likewise.
1879         (gethostid): Likewise.
1880         (getpagesize): Likewise.
1881         (getpgid): Likewise.
1882         (getsid): Likewise.
1883         (getwd): Likewise.
1884         (lchown): Likewise.
1885         (lockf): Likewise.
1886         (readlink): Likewise.
1887         (sbrk): Likewise.
1888         (setpgrp): Likewise.
1889         (setregid): Likewise.
1890         (setreuid): Likewise.
1891         (symlink): Likewise.
1892         (sync): Likewise.
1893         (truncate): Likewise.
1894         (ualarm): Likewise.
1895         (usleep): Likewise.
1896         (vfork): Likewise.
1897         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1898         variable.
1900         [BZ #20054]
1901         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1902         not [__USE_UNIX98].
1903         * conform/data/unistd.h-data (gethostname): Do not expect for
1904         [XPG3].
1906         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1907         [!POSIX] (S_IFBLK): Likewise.
1908         [!POSIX] (S_IFCHR): Likewise.
1909         [!POSIX] (S_IFIFO): Likewise.
1910         [!POSIX] (S_IFREG): Likewise.
1911         [!POSIX] (S_IFDIR): Likewise.
1912         [!POSIX] (S_IFLNK): Likewise.
1913         [!POSIX] (S_IFSOCK): Likewise.
1914         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1915         variable.
1916         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1918 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1920         * sysdeps/aarch64/memset.S (__memset):
1921         Rewrite of optimized memset.
1923 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1925         [BZ #19703]
1926         Partially async-signal-safe fork for single-threaded processes.
1927         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1928         variable.  Do not acquire and reset/release malloc and libio locks
1929         in single-threaded processes.
1930         * malloc/tst-mallocfork2.c: New file.
1931         * malloc/Makefile (tests): Add it.
1933 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1935         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1936         argument.  Use scratch buffer instead of extend_alloca.
1937         (gethosts): Use scratch buffer instead of extend_alloca.
1938         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1939         extend_alloca.
1940         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1942 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1944         [BZ #20055]
1945         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1946         instead of [__USE_UNIX98].
1947         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1948         [__USE_UNIX98].
1949         * conform/data/termios.h-data (tcgetsid): Do not expect for
1950         [XPG3].
1951         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1952         variable.
1953         (test-xfail-XPG4/termios.h/conform): Likewise.
1955 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1957         Do not use mcheck in localedef.
1958         * locale/programs/localedef.c (turn_on_mcheck)
1959         (__malloc_initialize_hook): Remove.
1961 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1963         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1964         * sysdeps/s390/s390-64/Makefile: Likewise.
1966 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1968         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1969         Remove ifunc-defines.sym.
1970         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1971         Likewise.
1972         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1973         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1974         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1975         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1976         rtld-global-offsets.sym.
1977         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1978         * sysdeps/x86/cpu-features-offsets.sym: This.
1979         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1980         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1982 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1984         [BZ #20073]
1985         * io/sys/stat.h (fchmod): Declare for
1986         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1987         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1988         variable.
1990         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1991         [XPG3] (S_IFSOCK): Likewise.
1992         [XPG3] (S_ISVTX): Likewise.
1993         [XPG3] (S_ISLNK): Likewise.
1994         [XPG3] (S_ISSOCK): Likewise.
1995         [XPG3] (fchmod): Likewise.
1996         [XPG3] (lstat): Likewise.
1997         [XPG3] (mknod): Likewise.
1999         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2000         [XPG3].  Expect type long and XFAIL for [XPG4].
2001         (st_blocks): Likewise.
2003         [BZ #20044]
2004         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2005         (pthread_atfork): New prototype.
2006         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2007         variable.
2009         [BZ #20043]
2010         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2011         prototype.
2013 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2015         [BZ #20017]
2016         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2017         gmtime.
2019 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2021         [BZ #19994]
2022         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2023         flag in _res.options.
2025 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2027         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2028         [XPG3 || XPG4].
2029         (blksize_t): Likewise.
2030         (clockid_t): Likewise.
2031         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2032         variable.
2033         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2035 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2037         * sysdeps/unix/sysv/linux/s390/init-first.c:
2038         Add VDSO_SYMBOL(getcpu).
2039         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2040         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2041         Add VDSO_SYMBOL(getcpu).
2042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2043         New define HAVE_GETCPU_VSYSCALL.
2044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2046 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2048         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2049         instead of <sysdeps/x86_64/cacheinfo.c>.
2050         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2051         * sysdeps/x86/cacheinfo.c: Here.
2053 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2055         * malloc/malloc-internal.h: Adjust header file guard.
2057 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2059         [BZ #19787]
2060         * inet/getnameinfo.c (check_sprintf_result): New function.
2061         (CHECKED_SNPRINTF): New macro.
2062         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2063         to the host buffer.
2064         (gni_host_local): Use checked_copy to copy the host name.
2065         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2066         (gni_serv_local): Use checked_copy to copy the service name.
2067         (getnameinfo): Remove unnecessary truncation of result buffers.
2069 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2071         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2072         in case of inet_ntop failure.
2074 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2076         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2077         avoid long lines.
2078         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2079         variables.
2080         (gni_host_inet, gni_host_local): Add comment.
2081         (gni_host): Add comment.  Use temporary to avoid long lines.
2083 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2085         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2086         registers specifiers where general purpose registers specifiers should
2087         have been used.
2089 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2091         [BZ #19779]
2092         CVE-2016-1234
2093         Avoid copying names of directory entries.
2094         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2095         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2096         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2097         (struct readdir_result): New type.
2098         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2099         (GL_READDIR): New macros.
2100         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2101         (convert_dirent, convert_dirent64): New functions.
2102         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2103         convert_dirent64.  Adjust references to the readdir result.
2104         * sysdeps/unix/sysv/linux/i386/glob64.c:
2105         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2106         * posix/bug-glob2.c (LONG_NAME): Define.
2107         (filesystem): Add LONG_NAME.
2108         (my_DIR): Increase the size of room_for_dirent.
2110 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2112         [BZ #20041]
2113         * misc/sys/select.h (__need_timespec): Only define if
2114         [__USE_XOPEN2K].
2115         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2116         variable.
2117         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2118         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2119         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2121 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2122             Segher Boessenkool  <segher@gcc.gnu.org>
2124         [BZ #20004]
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2126         (__novec_swapcontext): Add missing load.
2128 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2130         [BZ #20023]
2131         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2132         <time.h>.
2133         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2134         variable.
2135         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2137 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2140         flags CLONE_VM compare.
2142 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #20031]
2145         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2146         completely empty.
2148 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2150         [BZ #19573]
2151         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2152         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2153         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2154         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2155         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2156         (hesiod_free_list): Mark as hidden.
2157         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2158         res_set, res_get.
2159         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2160         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2161         (hesiod_init): Remove obsolete res_ninit call.
2162         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2163         (hesiod_bind): Do not call init.
2164         (get_txt_records): Use res_mkquery, res_send instead of
2165         res_nmkquery, res_nsend.
2166         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2167         instead of _nss_hesiod_init.
2168         (_nss_hesiod_initgroups_dyn): Likewise.
2169         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2170         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2171         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2173 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2175         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2176         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2178 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2180         * hesiod/hesiod.h: Remove RCS keyword.
2181         * hesiod/hesiod_p.h: Likewise.
2183         * hesiod/hesiod.c: Likewise.
2185 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2187         [BZ #12450]
2188         * locale/iso-639.def: Add Samogitian/sgs.
2190 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2192         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2194         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2196 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2197             Carlos O'Donell  <carlos@redhat.com>
2199         [BZ #19072]
2200         * grp/Makefile (headers): Add grp-merge.h
2201         (routines): Add grp-merge.
2202         * grp/getgrgid_r.c: Include grp-merge.h.
2203         (DEEPCOPY_FN): Define.
2204         (MERGE_FN): Define.
2205         * grp/getgrname_r.c: Include grp-merge.h.
2206         (DEEPCOPY_FN): Define.
2207         (MERGE_FN): Define.
2208         * grp/grp-merge.c: New file.
2209         * grp/grp-merge.h: New file.
2210         * include/grp-merge.h: New file.
2211         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2212         __copy_grp@GLIBC_PRIVATE.
2213         * manual/nss.texi (Actions in the NSS configuration): Describe
2214         return, continue, and merge.
2215         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2216         (DEEPCOPY_FN): Define.
2217         (MERGE_FN): Define.
2218         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2219         (DEEPCOPY_FN): Define.
2220         (MERGE_FN): Define.
2221         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2222         [!MERGE_FN]: Define __merge_einval.
2223         (CHECK_MERGE): Define.
2224         (REENTRANT_NAME): Process merge if do_merge is true.
2225         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2226         (__nss_getent_r): Likewise.
2227         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2228         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2230 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2232         [BZ #20012]
2233         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2234         length to calculate the buffer to read.
2235         (fmemopen_write): Set the buffer position based on bytes written.
2236         (fmemopen_seek): Return EINVAL for invalid whence modes.
2238         [BZ #19957]
2239         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2240         tst-getpid2.
2241         (test): Add tst-clone2.
2242         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2243         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2244         pid/tid fields for CLONE_VM.
2245         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2246         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2247         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2248         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2249         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2250         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2251         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2252         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2254         Likewise.
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2256         Likewise.
2257         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2258         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2259         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2260         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2261         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2262         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2263         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2264         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2266 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2268         [BZ #19642]
2269         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2270         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2271         (gni_serv_local, gni_serv): New functions extracted from
2272         getnameinfo.
2273         (getnameinfo): Call gni_host and gni_serv to perform the
2274         processing.  Always free scratch buffer.
2276 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2278         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2279         remaining bytes in the dest string, with zeros.
2281 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2283         [BZ #20010]
2284         CVE-2016-3706
2285         * sysdeps/posix/getaddrinfo.c
2286         (convert_hostent_to_gaih_addrtuple): New function.
2287         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2288         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2289         AF_INET data.
2291 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2293         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2294         callback function gl_readdir.
2295         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2296         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2297         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2298         memcpy to copy the name.
2299         * manual/pattern.texi (Calling Glob): Document requirements for
2300         implementations of the gl_readdir callback function.
2301         * manual/examples/mkdirent.c: New example.
2302         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2303         per the manual guidance.
2304         * posix/tst-gnuglob.c (my_readdir): Likewise.
2306 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2308         [BZ #20014]
2309         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2310         not [__USE_POSIX].
2311         (getchar_unlocked): Likewise.
2312         (putc_unlocked): Likewise.
2313         (putchar_unlocked): Likewise.
2314         (flockfile): Likewise.
2315         (ftrylockfile): Likewise.
2316         (funlockfile): Likewise.
2317         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2318         variable.
2319         (test-xfail-XPG4/stdio.h/conform): Likewise.
2321         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2322         Expect constant.
2323         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2324         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2325         variable.
2326         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2327         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2329         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2330         [__USE_LARGEFILE64] (off64_t): Likewise.
2331         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2332         variable.
2334 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2336         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2338 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2340         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2341         * resolv/res_init.c: Likewise.
2342         * resolv/res_mkquery.c: Likewise.
2344 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2346         * resolv/res_init.c (isascii): Do not define.  Use definition in
2347         <ctype.h>.
2348         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2349         (LOG_AUTH): Remove.
2350         (SPRINTF): Remove, adjust caller.
2351         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2353 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2355         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2356         SUNSECURITY conditional.
2357         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2359 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2361         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2362         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2363         Remove BSD-related preprocessor conditionals.
2364         * conf/portability.h: Remove.
2366 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2368         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2369         * resolv/res_data.c: Likewise.
2371 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2373         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2374         * resolv/res_data.c: Remove code conditional on ultrix.
2376 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2378         * resolv/res_init.c (RFC1535): Do not define.  Remove
2379         RFC1535 preprocessor conditionals.
2380         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2381         because there configuration options which make the resolver
2382         behavior different.
2384 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2386         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2387         RESOLVSORT preprocessor conditionals.
2388         * resolv/nss_dns/dns-host.c: Likewise.
2389         * resolv/res_init.c: Likewise.
2391 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2393         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2394         is never defined.
2396 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2398         * inet/inet_lnaof.c: Remove SCSS keyword.
2399         * inet/inet_mkadr.c: Likewise.
2400         * inet/inet_net.c: Likewise.
2401         * inet/inet_netof.c: Likewise.
2402         * inet/rcmd.c: Likewise.
2403         * inet/rexec.c: Likewise.
2404         * inet/ruserpass.c: Likewise.
2406 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2408         * resolv/inet_addr.c: Remove _LIBC conditionals.
2409         * resolv/res_data.c: Likewise.
2410         * resolv/res_init.c: Likewise.
2411         * resolv/res_mkquery.c: Likewise.
2412         * resolv/res_libc.c: Update comment.
2413         * resolv/README: Update.
2415 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2417         * resolv/gethnamaddr.c: Remove SCSS keyword.
2418         * resolv/herror.c: Likewise.
2419         * resolv/inet_addr.c: Likewise.
2420         * resolv/inet_net_ntop.c: Likewise.
2421         * resolv/inet_net_pton.c: Likewise.
2422         * resolv/inet_neta.c: Likewise.
2423         * resolv/inet_ntop.c: Likewise.
2424         * resolv/inet_pton.c: Likewise.
2425         * resolv/ns_date.c: Remove RCS keyword.
2426         * resolv/ns_name.c: Likewise.
2427         * resolv/ns_netint.c: Likewise.
2428         * resolv/ns_parse.c: Likewise.
2429         * resolv/ns_print.c: Likewise.
2430         * resolv/ns_samedomain.c: Likewise.
2431         * resolv/ns_ttl.c: Likewise.
2432         * resolv/nsap_addr.c: Likewise.
2433         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2434         * resolv/res_data.c: Remove RCS keyword.
2435         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2436         * resolv/res_init.c: Likewise.
2437         * resolv/res_mkquery.c: Likewise.
2438         * resolv/res_query.c: Likewise.
2439         * resolv/res_send.c: Likewise.
2441 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2443         * conform/data/stdio.h-data (fdopen): Expect also for
2444         [XPG3 || XPG4].
2446         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2447         (fseeko): Likewise.
2448         (ftello): Likewise.
2449         (ftrylockfile): Likewise.
2450         (funlockfile): Likewise.
2451         (getc_unlocked): Likewise.
2452         (getchar_unlocked): Likewise.
2453         (putc_unlocked): Likewise.
2454         (putchar_unlocked): Likewise.
2456 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2458         [BZ #19868]
2459         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2460         DNS packet syntax checks (which were not needed before).  Skip
2461         over non-PTR records.
2463 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2465         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2466         definition.  Include <stddef.h> instead.
2468 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2470         [BZ #19831]
2471         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2472         function.
2473         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2474         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2476 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2478         [BZ #19862]
2479         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2480         (getanswer_r): Do not call syslog.
2481         (gaih_getanswer_slice): Likewise.
2482         * resolv/gethnamaddr.c (AskedForGot): Remove.
2483         (getanswer): Do not call syslog.
2484         (gethostbyaddr): Likewise.
2486 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2488         * conform/data/signal.h-data (union sigval): Expect also if
2489         [XOPEN2K].
2490         (struct sigevent): Likewise.
2491         (SIGEV_NONE): Likewise.
2492         (SIGEV_SIGNAL): Likewise.
2493         (SIGEV_THREAD): Likewise.
2494         (SIGRTMIN): Likewise.
2495         (SIGRTMAX): Likewise.
2496         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2497         variable.
2498         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2500 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2502         [BZ #19830]
2503         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2504         (gaih_getanswer_slice): Likewise.
2505         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2506         Also check for availability of RR metadata.
2508 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2510         [BZ #19825]
2511         * resolv/res_send.c (send_vc): Remove early *resplen2
2512         initialization.  Set *resplen2 on socket error.  Call
2513         close_and_return_error for other errors.
2515 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2517         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2518         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2519         (SCM_IUCV_TRGCLS): New define.
2521 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2523         [BZ #20005]
2524         * libio/fmemopen.c (fmemopen_write): Update internal position after
2525         write.
2526         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2527         * stdio-common/tst-fmemopen4.c: New file..
2529 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2531         [BZ #19996]
2532         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2533         not [__USE_XOPEN2K].
2534         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2535         variable.
2537         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2538         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2539         variable.
2541         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2542         [__USE_XOPEN2K8].
2543         [__USE_LARGEFILE64] (off64_t): Likewise.
2544         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2545         variable.
2547 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2549         [BZ #19989]
2550         * libio/stdio.h (cuserid): Do not declare if
2551         [__USE_XOPEN2K && !__USE_GNU].
2552         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2553         variable.
2555 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2557         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2558         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2560         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2561         ifunc'ed strcspn.
2562         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2563         [EALIGN]: Removed.
2564         [END]: Likewise
2565         [STRSPN]: Define instead of the above to control symbol name.
2566         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2567         New file.
2568         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2569         Likewise.
2570         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2571         Likewise.
2572         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2573         Likewise.
2574         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2575         [INITIAL_MASK]: New macro.
2576         [STRCSPN]: Likewise.
2577         [UPDATE_MASK]: Likewise.
2578         [USE_AS_STRCSPN]: Lisewise.
2580 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2582         [BZ #19931]
2583         * stdio-common/tst-vfprintf-width-prec.c: New file.
2584         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2585         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2586         (generated): Add mtrace-related files.
2587         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2588         (tst-%-mem.out): New pattern rule, replaces
2589         tst-printf-bz18872-mem.out.
2590         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2591         specifier, deallocate any previously allocated work buffer.
2593 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2595         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2596         Add nop before __startcontext, add explaining comments.
2598 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2600         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2601         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2602         completely different API.
2604         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2605         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2606         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2607         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2608         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2609         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2610         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2611         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2612         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2613         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2615 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2617         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2619 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2621         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2622         when it is the default of 0.
2624 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2626         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2627         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2628         (sysdep_routines): Add new strcasestr targets.
2629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2630         (__libc_ifunc_impl_list): Likewise.
2631         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2632         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2633         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2634         * sysdeps/powerpc/powerpc64/power8/Makefile:
2635         New file to add strcasestr-ppc64 to sysdep_routines.
2636         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2637         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2639 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2641         * benchtests/Makefile (wcsmbs-benchset): Include only for
2642         native builds and runs.
2643         (LOCALES): Likewise.
2644         (bench-build): Build timing-type here instead of the bench
2645         target.  Generate locale only for native builds.
2646         * benchtests/README: Add note for cross-building.
2648         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2650         * benchtests/README: Update README to include instructions on
2651         using bench-build.
2653         * Makefile.in (bench-build): New target.
2654         * Rules (PHONY): Add bench-build target.
2655         * benchtests/Makefile (bench): Depend on bench-build.
2656         (bench-build): New target.
2658 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2660         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2661         profil_reply_port.
2662         (profile_waiter): Do not initialize profil_reply_port.
2663         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2664         frequency instead of tick length in us.
2666 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2668         [BZ #18712]
2669         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2670         (__old_mempcpy_small): Likewise.
2671         (__old_strcpy_small): Likewise.
2672         (__old_stpcpy_small): Likewise.
2673         (__old_strpbrk_c2): Fix compat symbol name.
2674         (__old_strpbrk_c3): Likewise.
2675         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2676         (__mempcpy_small): Remove.
2677         (__strcpy_small): Remove.
2678         (__stpcpy_small): Remove.
2680 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2682         [BZ #19400]
2683         * locale/iso-639.def: Add the Talossan/tzl language.
2685 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2687         [BZ #16983]
2688         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2689         comment.  Add "ln" to strchr check on postal_fmt.
2691 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2693         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2694         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2695         tel_dom_fmt.
2697 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2699         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2700         (sysdep_routines): Added __strlen_power8.
2701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2702         __strlen_power8 entry.
2703         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2704         Implementation for POWER8.
2705         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2706         for __strlen_power8.
2707         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2708         Implementation for POWER8.
2710 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2712         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2714 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2716         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2717         Goldmont and Airmont processors.
2719 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2721         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2722         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2723         (__STRING2_SMALL_GET32): Remove.
2724         (memset): Remove.
2725         (__memset_1): Remove.
2726         (__memset_gc): Remove.
2727         (__mempcpy): Remove.
2728         (mempcpy): Remove.
2729         (__mempcpy_args): Remove.
2730         (strchr): Remove.
2731         (strcpy): Remove.
2732         (strcpy_args): Remove.
2733         (__stpcpy_args): Remove.
2734         (__strcmp_cc): Remove.
2735         (__strcmp_gc): Remove.
2736         (strstr): Remove.
2738 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2740         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2741         * nis/nis_call.c (nis_server_cache_add): Likewise.
2743 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2745         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2747 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2749         * malloc/arena.c (__malloc_fork_lock_parent)
2750         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2751         internal_function attribute.
2753 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2755         * stdio-common/printf_fp.c (__printf_fp_l):
2756         Rename ___printf_fp_l to __printf_fp_l and
2757         remove strong alias. Use libc_hidden_def instead
2758         of ldbl_hidden_def macro.
2760 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2762         Remove malloc hooks from fork handler.  They are no longer needed
2763         because malloc runs right before fork, and no malloc calls from
2764         other fork handlers are not possible anymore.
2765         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2766         declarations.
2767         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2768         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2769         (atfork_recursive_cntr): Remove.
2770         (__malloc_fork_lock_parent): Do not override malloc hooks and
2771         thread_arena.
2772         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2773         thread_arena.
2774         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2775         thread_arena instead of save_arena.
2777 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2779         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2780         (thread_atfork, thread_atfork_static): Remove.
2781         * sysdeps/mach/hurd/malloc-machine.h:
2782         (thread_atfork, thread_atfork_static): Remove.
2784 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2786         [BZ #19431]
2787         Run the malloc fork handler as late as possible to avoid deadlocks.
2788         * malloc/malloc-internal.h: New file.
2789         * malloc/malloc.c: Include it.
2790         * malloc/arena.c (ATFORK_MEM): Remove.
2791         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2792         Update comment.
2793         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2794         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2795         Remove outdated comment.
2796         (ptmalloc_init): Do not call thread_atfork.  Remove
2797         thread_atfork_static.
2798         * malloc/tst-malloc-fork-deadlock.c: New file.
2799         * Makefile (tests): Add tst-malloc-fork-deadlock.
2800         (tst-malloc-fork-deadlock): Link against libpthread.
2801         * manual/memory.texi (Aligned Memory Blocks): Update safety
2802         annotation comments.
2803         * sysdeps/nptl/fork.c (__libc_fork): Call
2804         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2805         __malloc_fork_unlock_child.
2806         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2808 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2810         [BZ #19613]
2811         Remove union wait.
2812         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2813         (w_stopsig, w_stopval): Remove.
2814         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2815         stat_loc argument.
2816         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2817         (__WAIT_STATUS_DEFN): Remove.
2818         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2819         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2820         (wait, wait3, wait4): Use int * for the stat_loc argument.
2821         * posix/wait.c (__wait): Likewise.
2822         * posix/wait3.c (__wait3): Likewise.
2823         * posix/wait4.c (__wait4): Likewise.
2824         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2825         (__WAIT_STATUS_DEFN): Remove.
2826         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2827         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2828         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2829         argument.
2830         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2831         * sysdeps/posix/wait3.c (__wait3): Likewise.
2832         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2833         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2834         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2835         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2836         stat_loc argument.
2837         * manual/process.texi (BSD Wait Functions): Remove union wait.
2839 2016-04-13  Andreas Schwab  <schwab@suse.de>
2841         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2842         (test-extras): Add tst-tlsalign-vars.
2843         * math/Makefile: Wrap long lines.
2844         (libm-vec-test-wrappers): Define.
2845         (test-extras): Add $(libm-vec-test-wrappers).
2846         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2847         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2848         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2849         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2850         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2851         (extra-test-objs): Add corresponding objects.
2853 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2855         [BZ #19928]
2856         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2857         New.
2858         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2859         times of shared cache size.
2860         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2861         (VMOVNT): New.
2862         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2863         (VMOVNT): Likewise.
2864         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2865         (VMOVNT): Likewise.
2866         (VMOVU): Changed to movups for smaller code sizes.
2867         (VMOVA): Changed to movaps for smaller code sizes.
2868         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2869         comments.
2870         (PREFETCH): New.
2871         (PREFETCH_SIZE): Likewise.
2872         (PREFETCHED_LOAD_SIZE): Likewise.
2873         (PREFETCH_ONE_SET): Likewise.
2874         Rewrite to use forward and backward loops, which move 4 vector
2875         registers at a time, to support overlapping addresses and use
2876         non temporal store if size is above the threshold and there is
2877         no overlap between destination and source.
2879 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2881         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2882         Include dl-vdso.
2883         * sysdeps/unix/sysv/linux/mips/Versions: Add
2884         __vdso_clock_gettime.
2885         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2886         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2887         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2888         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2889         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2890         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2891         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2892         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2893         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2895 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2897         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2898         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2901         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2902         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2905         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2906         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2907         syscalls generation.
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2909         [__NR_pwrite64] (__NR_write): Remove define.
2910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2911         [__NR_pwrite64] (__NR_write): Remove define.
2912         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2913         Remove define.
2914         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2915         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2916         Remove define.
2917         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2918         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2919         Linux implementation as base.
2920         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2922         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2923         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2925         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2928         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2929         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2930         syscall generation.
2931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2932         [__NR_pread64] (__NR_pread): Remove define.
2933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2934         [__NR_pread64] (__NR_pread): Likewise.
2935         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2936         define.
2937         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2938         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2939         Remove define.
2940         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2941         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2942         Linux implementation as base.
2943         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2944         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2945         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2947         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2948         definition.
2949         (__ALIGNMENT_COUNT): Likewise.
2950         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2951         (__ALIGNMENT_COUNT): Likewise.
2952         (SYSCALL_LL): New define.
2953         (SYSCALL_LL64): Likewise.
2954         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2955         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2956         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2957         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2959         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2960         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2961         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2962         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2963         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2964         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2966 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2968         [BZ #19865]
2969         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2970         original buffer before retry.
2972 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2974         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2975         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2976         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2977         GLRO(dl_auxv) list.
2978         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2979         including <ldsodefs.h>.
2980         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2982 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2984         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2985         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2986         $(CPPFLAGS).
2988 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2990         [BZ #17950]
2991         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2992         Add -mfpmath=387.
2994 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2996         * sysdeps/i386/configure.ac: Change == to = when calling test.
2997         * sysdeps/x86_64/configure.ac: Likewise.
2998         * sysdeps/i386/configure: Regenerated.
2999         * sysdeps/x86_64/configure: Likewise.
3001 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3003         [BZ #16137]
3004         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3005         * benchtests/bench-strcoll.c (input_files): Likewise.
3006         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3007         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3008         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3010 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3012         [BZ #19929]
3013         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3014         [__USE_XOPEN2K8 && !__USE_GNU].
3015         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3016         variable.
3018         [BZ #19925]
3019         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3020         define if [!__USE_MISC && __USE_XOPEN2K].
3021         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3022         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3023         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3024         Likewise.
3025         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3026         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3027         variable.
3028         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3030 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3032         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3033         (sysdep_routines): Add new strspn targets.
3034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3035         (__libc_ifunc_impl_list): Add strspn.
3036         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3037         New file.
3038         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3039         Likewise.
3040         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3041         Likewise.
3042         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3043         Likewise.
3045 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3047         * misc/hsearch_r.c: Include <limits.h>.
3049 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3051         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3053 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3055         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3056         (MEMCPY_SYMBOL): New.
3057         (MEMPCPY_SYMBOL): Likewise.
3058         (MEMMOVE_CHK_SYMBOL): Likewise.
3059         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3060         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3061         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3062         Provide alias for memcpy in libc.a and ld.so.
3064 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3066         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3067         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3068         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3069         Disabled fro now.
3070         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3071         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3073 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3075         * benchtests/Makefile (string-benchset): Add memcpy-large,
3076         memmove-large and memset-large.
3077         * benchtests/bench-memcpy-large.c: New file.
3078         * benchtests/bench-memmove-large.c: Likewise.
3079         * benchtests/bench-memmove-large.c: Likewise.
3080         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3082 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3084         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3085         32-bit displacement to avoid long nop between instructions.
3087 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3089         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3090         a comment on VMOVU and VMOVA.
3092 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3094         [BZ #19633]
3095         Use specified locale for number formatting in strfmon_l.
3096         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3097         (__nl_lookup_word): New inline functions.
3098         * include/printf.h (__print_fp_l): Declare.
3099         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3100         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3101         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3102         (___printf_fp): New function.
3103         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3104         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3105         * stdlib/tst-strfmon_l.c (do_test): New test.
3106         * stdlib/Makefile (tests): Add kt.
3107         (LOCALES): Build additional locales.
3108         (tst-strfmon_l.out): Require locales.
3110 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3112         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3113         if not in libc.
3114         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3115         Likewise.
3116         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3117         Likewise.
3118         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3119         Likewise.
3121 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3123         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3124         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3125         with unaligned_erms.
3126         (__memmove_erms): Skip if source == destination.
3127         (__memmove_unaligned_erms): Don't check source == destination
3128         first.
3130 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3132         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3133         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3135 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3137         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3138         * string/strspn.c (strspn): Likewise.
3140 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3142         * benchtests/bench-memset.c (do_test): Support 64-byte
3143         alignment.
3144         (test_main): Test 64-byte alignment.
3146 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3148         * benchtests/bench-memmove.c (test_main): Test 64-byte
3149         alignment.
3151 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3153         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3155 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3157         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3158         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3159         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3161         * string/strpbrk.c (strpbrk): Rewrite function.
3162         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3163         (__strpbrk_c2): Likewise.
3164         (__strpbrk_c3): Likewise.
3165         * string/string-inlines.c
3166         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3167         Likewise.
3168         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3169         Likewise.
3171         * string/strspn.c (strcspn): Rewrite function.
3172         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3173         (__strspn_c1): Remove inline function.
3174         (__strspn_c2): Likewise.
3175         (__strspn_c3): Likewise.
3176         * string/string-inlines.c
3177         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3178         compatibility symbol.
3179         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3180         Likewise.
3181         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3182         Likewise.
3183         * string/string-inlines.c: Include generic version.
3185 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3186             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3188         * string/Version (libc): Add GLIBC_2.24.
3189         * string/strcspn.c (strcspn): Rewrite function.
3190         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3191         (__strcspn_c1): Remove inline function.
3192         (__strcspn_c2): Likewise.
3193         (__strcspn_c3): Likewise.
3194         * string/string-inline.c
3195         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3196         compatibility symbol.
3197         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3198         Likewise.
3199         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3200         Likewise.
3201         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3203 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3205         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3206         Use ahi instead of aghi to adjust stack pointer.
3208 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3210         [BZ #19853]
3211         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3212         TEST to take significant digits as second parameter.
3213         [TEST]: Redefine in terms of TEST_N taking 30
3214         significant digits.
3215         (do_test): Add test case to demonstrate precision
3216         failure in the ldbl-128ibm printf.
3217         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3218         (__mpn_extract_long_double): Carry 7 extra intermediate
3219         bits of precision to aide computing difference when
3220         signs differ.
3222 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3224         [BZ #19881]
3225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3226         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3227         memset-avx512-unaligned-erms.
3228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3229         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3230         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3231         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3232         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3233         __memset_sse2_unaligned_erms, __memset_erms,
3234         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3235         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3236         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3237         file.
3238         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3239         Likewise.
3240         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3241         Likewise.
3242         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3243         Likewise.
3245 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3247         [BZ #19776]
3248         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3249         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3250         memmove-avx512-unaligned-erms.
3251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3252         (__libc_ifunc_impl_list): Test
3253         __memmove_chk_avx512_unaligned_2,
3254         __memmove_chk_avx512_unaligned_erms,
3255         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3256         __memmove_chk_sse2_unaligned_2,
3257         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3258         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3259         __memmove_avx512_unaligned_erms, __memmove_erms,
3260         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3261         __memcpy_chk_avx512_unaligned_2,
3262         __memcpy_chk_avx512_unaligned_erms,
3263         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3264         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3265         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3266         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3267         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3268         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3269         __mempcpy_chk_avx512_unaligned_erms,
3270         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3271         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3272         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3273         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3274         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3275         __mempcpy_erms.
3276         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3277         file.
3278         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3279         Likwise.
3280         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3281         Likwise.
3282         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3283         Likwise.
3285 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3287         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3288         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3289         (La_s390_64_regs): Likewise.
3290         (La_s390_32_retval): Append vector register lrv_v24.
3291         (La_s390_64_retval): Likeweise.
3292         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3293         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3294         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3295         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3297 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3299         [BZ #19916]
3300         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3301         to create a non-vector/vector version for _dl_runtime_resolve and
3302         _dl_runtime_profile. Move implementation to ...
3303         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3304         (_dl_runtime_resolve) Save and restore fpr/vrs.
3305         (_dl_runtime_profile) Save and restore vrs and fix some issues
3306         if _dl_call_pltexit is called.
3307         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3308         Choose the correct resolver function if running on a machine with vx.
3309         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3310         to create a non-vector/vector version for _dl_runtime_resolve and
3311         _dl_runtime_profile. Move implementation to ...
3312         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3313         (_dl_runtime_resolve) Save and restore fpr/vrs.
3314         (_dl_runtime_profile) Save and restore vrs and fix some issues
3315         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3316         Choose the correct resolver function if running on a machine with vx.
3318 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3320         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3322 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3324         [BZ #19509]
3325         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3326         skip_map != NULL.
3327         * elf/tst-dlsym-error.c: New file.
3328         * elf/Makefile (tests): Add tst-dlsym-error.
3329         (tst-dlsym-error): Link against libdl.
3331 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3334         (__ASSUME_FUTIMESAT): Remove macro.
3335         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3337 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3339         [BZ #19879]
3340         CVE-2016-3075
3341         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3342         copy name.
3344 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3346         [BZ #19837]
3347         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3348         error if parse_line fails.
3350 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3352         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3353         (index_cpu_ERMS): Likewise.
3354         (reg_ERMS): Likewise.
3356 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3358         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3359         PER_LINUX_FDPIC): Add.
3361 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3364         memcpy-avx512-no-vzeroupper.
3365         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3366         to ...
3367         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3368         (MEMCPY): Don't define.
3369         (MEMCPY_CHK): Likewise.
3370         (MEMPCPY): Likewise.
3371         (MEMPCPY_CHK): Likewise.
3372         (MEMPCPY_CHK): Renamed to ...
3373         (__mempcpy_chk_avx512_no_vzeroupper): This.
3374         (MEMPCPY_CHK): Renamed to ...
3375         (__mempcpy_chk_avx512_no_vzeroupper): This.
3376         (MEMCPY_CHK): Renamed to ...
3377         (__memmove_chk_avx512_no_vzeroupper): This.
3378         (MEMCPY): Renamed to ...
3379         (__memmove_avx512_no_vzeroupper): This.
3380         (__memcpy_avx512_no_vzeroupper): New alias.
3381         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3383 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3385         [BZ #18858]
3386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3387         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3388         and mempcpy-avx512-no-vzeroupper.
3389         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3390         New.
3391         (MEMPCPY): Likewise.
3392         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3393         (MEMPCPY_CHK): New.
3394         (MEMPCPY): Likewise.
3395         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3396         (MEMPCPY): Likewise.
3397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3398         (MEMPCPY): Likewise.
3399         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3400         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3401         Likewise.
3402         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3403         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3405 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3406              Amit Pawar  <Amit.Pawar@amd.com>
3408         [BZ #19583]
3409         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3410         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3411         processors.  Set Fast_Copy_Backward for AMD Excavator
3412         processors.
3413         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3414         New.
3415         (index_arch_Fast_Unaligned_Copy): Likewise.
3416         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3417         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3419 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3421         [BZ #19791]
3422         * resolv/res_send.c (close_and_return_error): New function.
3423         (send_dg): Initialize *resplen2 after reopen failure.  Call
3424         close_and_return_error for error returns.  On error paths without
3425         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3426         successful return.
3428 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3430         [BZ# 19860]
3431         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3432         zero if the compiler does not provide the AVX512F bit.
3434 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3436         [BZ #19848]
3437         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3438         from 8 to 4.
3439         (__ieee754_powl): Compare integer exponent against 4 not 8.
3440         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3441         from 8 to 4.
3442         (__ieee754_powl): Compare integer exponent against 4 not 8.
3443         * math/auto-libm-test-in: Add more tests of pow.
3444         * math/auto-libm-test-out: Regenerated.
3445         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3448 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3450         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3451         Make code unconditional.
3452         [!__NR_utimensat]: Remove conditional code.
3453         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3454         Make code unconditional.
3455         [!__NR_utimensat]: Remove conditional code.
3456         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3457         Make code unconditional.
3458         [!__NR_utimensat]: Remove conditional code.
3460 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3462         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3463         Make code unconditional.
3465 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3467         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3468         call-clobbered %eax on retry path.
3469         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3471 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3473         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3474         Don't set %rcx twice before "rep movsb".
3476 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3478         [BZ #19583]
3479         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3480         inline.  Check family before setting family, model and
3481         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3482         bits here.
3483         (init_cpu_features): Replace HAS_CPU_FEATURE and
3484         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3485         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3486         for Intel processors with usable AVX2.  Call get_common_indeces
3487         for other processors with family == NULL.
3488         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3489         (CPU_FEATURES_ARCH_P): Likewise.
3490         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3491         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3493 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3495         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3496         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3497         $(shared-thread-library) instead of hardcoding the path to libpthread.
3499 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3501         * sysdeps/unix/sysv/linux/kernel-features.h
3502         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3503         * sysdeps/unix/sysv/linux/getdents.c
3504         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3505         [!have_no_getdents64_defined]: Likewise.
3506         (__GETDENTS): Remove __have_no_getdents64 conditional.
3508 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3511         Remove macro.
3512         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3513         <kernel-features.h>.
3514         (signalfd) [__NR_signalfd4]: Make code unconditional.
3515         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3517 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3519         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3520         style.
3522 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3524         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3525         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3526         __pthread_unwind.
3527         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3528         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3529         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3530         (__condvar_cleanup1): Likewise.
3532 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3534         [BZ #19822]
3535         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3536         move it to the final $@ location.
3538 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3540         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3541         access where posix_spawn success and pid argument is null.
3542         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3543         success case.
3545 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3547         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3549         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3551         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3552         and __fcntl.
3553         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3554         __fcntl only.
3555         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3556         adding attribute_hidden to __open and __fcntl.
3558         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3559         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3560         depend on libc-modules.h,
3561         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3563 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3565         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3566         Remove macro.
3567         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3568         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3569         entry.
3571         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3572         Remove macro.
3573         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3574         include <kernel-features.h>.
3575         [!__ASSUME_FALLOCATE]: Remove conditional code.
3576         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3578 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3581         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3583         (_ZGVdN4v_cos_avx2): Likewise.
3584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3585         (_ZGVdN4v_cos): Likewise.
3586         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3587         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3588         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3589         (_ZGVdN4v_exp_avx2): Likewise.
3590         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3591         (_ZGVdN4v_exp): Likewise.
3592         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3593         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3594         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3595         (_ZGVdN4v_log_avx2): Likewise.
3596         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3597         (_ZGVdN4v_log): Likewise.
3598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3599         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3601         (_ZGVdN4vv_pow_avx2): Likewise.
3602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3603         (_ZGVdN4vv_pow): Likewise.
3604         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3605         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3606         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3607         (_ZGVdN4v_sin_avx2): Likewise.
3608         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3609         (_ZGVdN4v_sin): Likewise.
3610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3611         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3613         (_ZGVdN4vvv_sincos_avx2): Likewise.
3614         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3615         (_ZGVdN4vvv_sincos): Likewise.
3616         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3617         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3618         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3619         (_ZGVbN4v_cosf_sse4): Likewise.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3621         (_ZGVdN8v_cosf_avx2): Likewise.
3622         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3623         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3624         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3625         (_ZGVbN4v_expf_sse4): Likewise.
3626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3627         (_ZGVdN8v_expf_avx2): Likewise.
3628         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3629         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3630         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3631         (_ZGVbN4v_logf_sse4): Likewise.
3632         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3633         (_ZGVdN8v_logf_avx2): Likewise.
3634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3635         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3636         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3637         (_ZGVbN4vv_powf_sse4): Likewise.
3638         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3639         (_ZGVdN8vv_powf_avx2): Likewise.
3640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3641         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3642         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3643         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3644         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3645         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3646         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3647         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3648         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3649         (_ZGVbN4v_sinf_sse4): Likewise.
3650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3651         (_ZGVdN8v_sinf_avx2): Likewise.
3652         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3653         Use JUMPTARGET to call callee.
3654         (WRAPPER_IMPL_SSE2_ff): Likewise.
3655         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3656         (WRAPPER_IMPL_AVX): Likewise.
3657         (WRAPPER_IMPL_AVX_ff): Likewise.
3658         (WRAPPER_IMPL_AVX_fFF): Likewise.
3659         (WRAPPER_IMPL_AVX512): Likewise.
3660         (WRAPPER_IMPL_AVX512_ff): Likewise.
3661         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3662         Likewise.
3663         (WRAPPER_IMPL_SSE2_ff): Likewise.
3664         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3665         (WRAPPER_IMPL_AVX): Likewise.
3666         (WRAPPER_IMPL_AVX_ff): Likewise.
3667         (WRAPPER_IMPL_AVX_fFF): Likewise.
3668         (WRAPPER_IMPL_AVX512): Likewise.
3669         (WRAPPER_IMPL_AVX512_ff): Likewise.
3670         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3672 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3674         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3675         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3676         qualifier.
3677         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3678         internal_function qualifiers.
3680 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3682         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3683         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3684         * math/atest-exp.c (exp_mpn): Mark chk unused.
3685         * math/atest-exp2.c (exp_mpn): Likwise.
3686         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3687         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3689 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3691         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3692         Remove macro.
3693         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3694         <kernel-features.h>.
3695         [__NR_ppoll]: Make code unconditional.
3696         [!__ASSUME_PPOLL]: Remove conditional code.
3698         * sysdeps/unix/sysv/linux/kernel-features.h
3699         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3700         (__ASSUME_ACCEPT4): Likewise.
3701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3702         Define.
3703         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3704         Likewise.
3705         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3706         Likewise.
3707         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3710         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3711         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3712         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3713         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3714         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3717         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3719         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3720         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3721         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3722         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3723         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3725         Likewise.
3726         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3727         Likewise.
3728         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3729         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3730         0x040300].
3731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3732         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3734         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3735         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3736         0x030300].
3737         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3738         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3739         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3740         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3741         0x040300].
3742         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3745         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3747         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3748         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3749         0x030300].
3750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3751         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3752         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3753         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3754         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3755         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3756         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3758         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3759         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3760         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3761         0x040300].
3762         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3764         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3765         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3767         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3768         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3769         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3771         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3772         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3773         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3774         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3775         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3776         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3777         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3779         Likewise.
3780         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3781         Likewise.
3783 2016-03-15  Andreas Schwab  <schwab@suse.de>
3785         [BZ #19257]
3786         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3787         statp->_u._ext.nscount as loop count.
3789 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3791         * math/test-signgam-finite-c99.c: Also #undef
3792         __LIBC_INTERNAL_MATH_INLINES.
3793         * math/test-signgam-main.c: Likewise.
3795 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3797         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3798         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3799         (MADV_FREE): Likewise.
3800         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3801         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3802         EPOLLEXCLUSIVE.
3804 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3806         * timezone/README: Remove mention of checktab.awk. Mention wiki
3807         SharedSourceFiles.
3809 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3811         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3812         WUNTRACED.
3814 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3816         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3817         order to match the type of p when calling atomic_exchange_acq().
3819 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3821         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3822         cfi_offset calls.
3823         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3824         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3825         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3826         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3827         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3829 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3831         * timezone/checktab.awk: Removed.
3833 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3835         * manual/math.texi (Errors in Math Functions): Document relaxed
3836         accuracy goals for IBM long double.
3837         * math/libm-test.inc (test_exceptions): Always allow spurious
3838         "underflow" and "inexact" exceptions for IBM long double.
3840 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3842         [BZ #19762]
3843         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3844         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3845         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3846         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3847         (bit_arch_*): This for feature array.
3848         (bit_*): Renamed to ...
3849         (bit_cpu_*): This for cpu array.
3850         (index_*): Renamed to ...
3851         (index_arch_*): This for feature array.
3852         (index_*): Renamed to ...
3853         (index_cpu_*): This for cpu array.
3854         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3855         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3856         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3857         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3858         bit_##name with index_cpu_##name and bit_cpu_##name.
3859         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3860         bit_##name with index_arch_##name and bit_arch_##name.
3862 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3864         [BZ #19792]
3865         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3866         Terminate FDE before return label.
3868 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3870         [BZ #19790]
3871         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3872         (rintl): Define as macro.
3873         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3874         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3875         of fesetround.  Ensure results are evaluated before end of scope.
3876         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3877         USE_AS_NEARBYINTL and include s_rintl.c.
3878         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3879         Disable exception traps in new environment.
3880         (libc_feholdsetround_ppc_ctx): Likewise.
3882 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3884         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3885         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3886         (tst_audit10_aux) [__AVX512F__]: ... here.
3888 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3890         * include/sys/auxv.h: New file.
3892 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3894         [BZ #19759]
3895         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3897 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3899         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3900         operand modifier.
3901         (feclearexcept): Likewise.
3903 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3905         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3906         to reflect the entire 32-bit HWCAP.
3907         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3908         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3910 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3912         [BZ #19783]
3913         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3914         $(test-via-rtld-prefix).
3915         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3917 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3919         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3920         union wait.  Report any non-zero exit status as error.
3922 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3924         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3925         configured with --enable-hardcoded-path-in-tests.
3927 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3929         [BZ #19677]
3930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3931         (__ieee754_remainderl): Put zero low parts in canonical form.
3932         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3933         file.  Based on
3934         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3935         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3936         with wrapper round test-fmodrem-ldbl-128ibm.c.
3937         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3938         file.
3939         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3940         Likewise.
3941         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3942         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3944 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3946         [BZ #19610]
3947         * elf/ldconfig.c (opt_link): Update comment.
3948         (options): Update help string for option -X.
3949         (search_dir): Unlink stale symbolic link only if updating symbolic
3950         links.
3951         * elf/tst-ldconfig-X.sh: New file.
3952         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3953         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3955 2016-03-07  Andreas Schwab  <schwab@suse.de>
3957         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3958         needed arguments.
3960 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3962         [BZ #15333]
3963         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3964         to lstat64.
3966 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3968         * libio/filedoalloc.c (isatty): Remove.
3969         (local_isatty): Add comment.  Call __isatty directly.
3970         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3971         * libio/wfiledoalloc.c (isatty): Remove.
3972         (_IO_wfile_doallocate): Update comment.
3974 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3976         [BZ #19269]
3977         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3978         tst-audit4-aux.o.
3979         (tst-audit10): Depend on tst-audit10-aux.o.
3980         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3981         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3982         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3983         instead of inline AVX code.
3984         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3985         instead of inline AVX512 code.
3986         * sysdeps/x86_64/tst-audit4-aux.c: New file
3987         * sysdeps/x86_64/tst-audit10-aux.c: New file
3989         [BZ #19648]
3990         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3992 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3994         [BZ #14750]
3995         [BZ #10354]
3996         [BZ #18433]
3997         * include/sched.h (__clone): Add hidden prototype.
3998         (__clone2): Likewise.
3999         * include/unistd.h (__dup): Likewise.
4000         * posix/Makefile (tests): Add tst-spawn2.
4001         * posix/tst-spawn2.c: New file.
4002         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4003         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4004         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4005         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4006         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4007         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4008         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4009         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4010         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4011         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4012         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4014         Likewise.
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4016         Likewise.
4017         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4018         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4019         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4020         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4022         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4023         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4024         * sysdeps/unix/sysv/linux/nptl-signals.h
4025         (____nptl_is_internal_signal): New function.
4026         * sysdeps/unix/sysv/linux/spawni.c: New file.
4028         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4029         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4030         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4031         * posix/tst-execvp2.c (do_test): Likewise.
4032         * posix/tst-execvp3.c (do_test): Likewise.
4033         * posix/tst-execvp4.c (do_test): Likewise.
4034         * posix/tst-execvpe1.c: New file.
4035         * posix/tst-execvpe2.c: Likewise.
4036         * posix/tst-execvpe3.c: Likewise.
4037         * posix/tst-execvpe4.c: Likewise.
4038         * posix/tst-execvpe5.c: Likewise.
4039         * posix/tst-execvpe6.c: Likewise.
4041         [BZ #19534]
4042         * posix/execl.c (execl): Remove dynamic memory allocation.
4043         * posix/execle.c (execle): Likewise.
4044         * posix/execlp.c (execlp): Likewise.
4046 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4048         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4049         Replace .text with .text.avx512.
4050         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4051         Likewise.
4053 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4055         * sysdeps/generic/libnsl.abilist: New file.
4056         * sysdeps/generic/libutil.abilist: New file.
4058 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4060         [BZ #19762]
4061         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4062         HAS_ARCH_FEATURE with Fast_Rep_String.
4063         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4064         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4065         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4066         Likewise.
4067         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4068         Likewise.
4069         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4071         Likewise.
4072         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4073         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4074         Likewise.
4076 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4078         [BZ #19745]
4079         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4080         with *%rax in call.
4082 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4084         [BZ #19745]
4085         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4086         with *__libc_start_main@GOTPCREL(%rip) in call.
4088 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4090         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4091         inside conditional for nonempty $(CXX).
4093         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4094         nonempty.
4096         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4097         to test for empty $(CXX) rather than $(CXX) of "no".
4099 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4101         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4103 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4104             H.J. Lu  <hongjiu.lu@intel.com>
4106         [BZ #18880]
4107         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4108         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4109         enable __memcpy_ssse3_back.
4111 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4113         [BZ #19758]
4114         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4115         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4117 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4119         [BZ #19490]
4120         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4121         (__fentry__): Likewise.
4123 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4125         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4126         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4128 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4130         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4131         __mcount_internal directly.
4132         (C_LABEL(__fentry__)): Likewise.
4133         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4134         directly.
4136 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4138         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4139         (__start_context): Call __setcontext directly.
4141 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4144         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4145         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4146         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4147         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4148         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4149         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4150         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4151         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4152         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4153         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4154         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4156         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4157         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4158         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4159         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4161         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4162         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4163         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4164         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4165         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4166         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4167         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4168         Remove conditional code.
4169         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4170         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4171         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4172         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4173         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4174         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4175         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4176         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4177         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4178         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4179         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4180         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4182 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4184         * NEWS (2.23): Fix typo in bug 19048 text.
4186 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4188         [BZ #14259]
4189         * Makeconfig: Rename msgcatdir to localedir.
4190         Rename inst_msgcatdir to inst_localedir.
4191         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4192         * config.make.in: Add localedir.
4193         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4194         (ldd-rewrite): Likewise.
4195         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4196         (install-others): Use inst_localedir.
4197         (CPPFLAGS): Use localedir.
4198         * locale/Makefile (locale-CPPFLAGS): Likewise.
4199         * po/Makefile (mo-installed): Use inst_localedir.
4201         [BZ #19575]
4202         * localedata/charmaps/GB18030: Update comments regarding PAU to
4203         non-PUA mappings.
4205 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4207         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4208         test for header.
4209         * sysdeps/unix/sysv/linux/configure: Regenerated.
4210         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4211         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4212         Remove conditional code.
4213         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4215         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4216         Define to 3.2.0.
4217         (arch_minimum_kernel): Likewise.
4218         * sysdeps/unix/sysv/linux/configure: Regenerated.
4219         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4220         Define to 2.6.32.
4221         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4222         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4223         (arch_minimum_kernel): Define to 2.6.32.
4224         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4225         * README: Document Linux 3.2 requirement.
4226         * manual/install.texi (Linux): Document Linux 3.2 headers
4227         requirement.
4228         * INSTALL: Regenerated.
4230 2016-02-24  Andreas Schwab  <schwab@suse.de>
4232         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4233         if !NO_LONG_DOUBLE.
4235 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4237         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4238         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4240 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4242         [BZ #19512]
4243         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4245 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4247         * posix/tst-dir.c: Include libc-internal.h.
4249 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4251         [BZ #19056]
4252         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4253         * manual/filesys.texi (Reading/Closing Directory): Mention
4254         deprecaion.
4255         * posix/tst-dir.c (main): Disable deprecation warning in test.
4257 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4259         [BZ #19679]
4260         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4261         Renamed to ...
4262         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4263         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4264         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4265         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4266         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4267         * sysdeps/x86_64/dl-trampoline.h
4268         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4269         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4271 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4273         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4275 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4277         * elf/elf.h (R_386_GOT32X): New.
4278         (R_386_NUM): Update.
4279         (R_X86_64_GOTPCRELX: New.
4280         (R_X86_64_REX_GOTPCRELX): New.
4281         (R_X86_64_NUM): Update.
4283 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4285         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4287 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4289         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4290         assign attr->stackaddr to it, and adjust it down when
4291         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4292         [_STACK_GROWS_UP]: Delete assert.
4293         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4294         Implement stack grows up logic.
4295         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4296         stack grows up logic.
4298 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4300         * NEWS: Update with 2.24 template.
4302 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4304         [BZ #19678]
4305         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4306         Ensure +0.0 is returned when taking the next value below the least
4307         positive value.
4309 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4311         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4312         available.  Do not define NO_THREADS.
4313         * malloc/malloc.c: Do not check NO_THREADS.
4314         * malloc/arena.c: Likewise.
4316 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4318         * malloc/malloc.c (__libc_mallinfo): Update comment.
4319         (struct malloc_par): Remove max_total_mem member, it was always 0.
4320         (int_mallinfo): Store 0 into usmblks (no functional change).
4321         * malloc/hooks.c (struct malloc_state): Document that
4322         max_total_mem is always 0.
4323         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4324         always 0.
4325         * manual/memory.texi (Statistics of Malloc): Likewise.
4327 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4329         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4330         * malloc/arena.c (arena_max): Remove.
4331         (heap_trim, _int_new_arena): Do not update arena_max.
4333 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4335         * resolv/res_init.c (res_ninit): Update comment.
4337 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4339         [BZ #19505]
4340         * posix/spawn_int.h: Add headers and include guard.
4341         (__spawn_valid_fd): New function.
4342         * posix/spawn_faction_addopen.c
4343         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4344         * posix/spawn_faction_addclose.c
4345         (posix_spawn_file_actions_addclose): Likewise.
4346         * posix/spawn_faction_adddup2.c
4347         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4348         second file descriptor.
4349         * posix/spawn_valid_fd.c: New file.
4350         * posix/tst-posix_spawn-fd.c: New file.
4351         * posix/Makefile (routines): Add spawn_valid_fd.
4352         (tests): Add tst-posix_spawn-fd.
4354 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4356         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4357         (do_test): Limit the number of arenas, so that we can use fewer
4358         outer threads.  Limit timeout to 3 seconds, in preparation for a
4359         larger TIMEOUT value.
4361 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4363         [BZ #19674]
4364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4365         sign in overflowing and underflowing results when overflow or
4366         underflow is detected early.  Include sign in result before rather
4367         than after scaling.
4369         [BZ #19603]
4370         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4371         (__ieee754_remainderl): Adjust sign of integer version of low part
4372         when taking absolute value of high part.
4373         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4374         * math/libm-test.inc (remainder_test_data): Add another test.
4375         (remquo_test_data): Likewise.
4377 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4379         [BZ #19602]
4380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4381         equal high parts and both low parts zero specially.
4382         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4383         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4384         Add test-fmodl-ldbl-128ibm.
4386         [BZ #19595]
4387         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4388         common logic for all cases of shifting subnormal results.  Do not
4389         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4390         exponent to ldbl_insert_mantissa in subnormal case.
4392         [BZ #19594]
4393         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4394         on high and low parts then adjust result and use
4395         ldbl_canonicalize_int if needed.
4397         [BZ #19593]
4398         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4399         on high part and __floor or __ceil on low part then use
4400         ldbl_canonicalize_int if needed.
4402         [BZ #19592]
4403         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4404         high and low parts then use ldbl_canonicalize_int if needed.
4406         [BZ #17899]
4407         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4408         New function.
4409         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4410         on high and low parts then use ldbl_canonicalize_int if needed.
4412 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4414         * configure: Regenerated.
4416         * po/libc.pot: Regenerated.
4418         * po/be.po: Updated translation.
4419         * po/bg.po: Likewise.
4420         * po/ca.po: Likewise.
4421         * po/cs.po: Likewise.
4422         * po/da.po: Likewise.
4423         * po/el.po: Likewise.
4424         * po/eo.po: Likewise.
4425         * po/es.po: Likewise.
4426         * po/fi.po: Likewise.
4427         * po/fr.po: Likewise.
4428         * po/gl.po: Likewise.
4429         * po/hr.po: Likewise.
4430         * po/hu.po: Likewise.
4431         * po/ia.po: Likewise.
4432         * po/id.po: Likewise.
4433         * po/it.po: Likewise.
4434         * po/ja.po: Likewise.
4435         * po/lt.po: Likewise.
4436         * po/nb.po: Likewise.
4437         * po/nl.po: Likewise.
4438         * po/pt_BR.po: Likewise.
4439         * po/rw.po: Likewise.
4440         * po/sk.po: Likewise.
4441         * po/sl.po: Likewise.
4442         * po/sv.po: Likewise.
4443         * po/tr.po: Likewise.
4444         * po/zh_CN.po: Likewise.
4445         * po/zh_TW.po: Likewise.
4447         * version.h (RELEAES): Set to "development".
4448         (VERSION): Set to 2.23.90.
4450         * version.h (RELEASE): Set to "stable".
4451         (VERSION): Set to 2.23.
4452         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4454         * NEWS: Updated fixed bugs.
4456 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4457             Wilco Dijkstra  <wdijkstr@arm.com>
4459         [BZ #19462]
4460         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4461         (_STRING_INLINE_unaligned): This.
4462         * include/string.h: Include <string_private.h>.
4463         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4464         _STRING_INLINE_unaligned.
4465         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4466         (_STRING_INLINE_unaligned): New.
4467         * sysdeps/aarch64/string_private.h: New file.
4468         * sysdeps/generic/string_private.h: Likewise.
4469         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4470         * sysdeps/s390/string_private.h: Likewise.
4471         * sysdeps/x86/string_private.h: Likewise.
4472         * sysdeps/m68k/m680x0/m68020/bits/string.h
4473         (_STRING_ARCH_unaligned): Renamed to ...
4474         (_STRING_INLINE_unaligned): This.
4475         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4476         to ...
4477         (_STRING_INLINE_unaligned): This.
4478         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4479         to ...
4480         (_STRING_INLINE_unaligned): This.
4481         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4482         to ...
4483         (_STRING_INLINE_unaligned): This.
4485 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4486             H.J. Lu  <hongjiu.lu@intel.com>
4488         [BZ #19590]
4489         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4490         relocation.
4492 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4494         [BZ #18665]
4495         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4496         *herrno_p.
4497         (gaih_getanswer): Document functional behviour. Return tryagain
4498         if any result is tryagain.
4499         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4500         when freed.
4501         * resolv/res_send.c: Add copyright text.
4502         (__libc_res_nsend): Document that MAXPACKET is expected.
4503         (send_vc): Document. Remove buffer reuse.
4504         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4505         size of the buffer. Add Dprint for truncated UDP buffer.
4507 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4509         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4510         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4511         * INSTALL: Regenerate.
4513 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4514             Jonathan Wakely  <jwakely@redhat.com>
4515             Carlos O'Donell  <carlos@redhat.com>
4517         [BZ 19439]
4518         * math/Makefile (tests): Add test-math-isinff.
4519         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4520         * math/bits/mathcalls.h [__USE_MISC]: Use
4521         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4522         functions not in C++11 and which don't conflict e.g. isinff,
4523         isinfl etc.
4524         * math/test-math-isinff.cc: New file.
4526 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4528         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4530 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4532         [BZ #19529]
4533         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4535 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4537         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4539 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4541         [BZ #19550]
4542         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4543         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4544         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4545         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4546         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4547         New syscall entry.
4548         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4549         New syscall entry.
4550         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4551         syscall entry.
4553 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4555         [BZ #18240]
4556         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4557         unsigned int wraparound.
4559 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4561         [BZ #18240]
4562         * misc/bug18240.c: New test.
4563         * misc/Makefile (tests): Add it.
4565 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4566             Joseph Myers  <joseph@codesourcery.com>
4568         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4569         load in branch delay slot when less than a word of input left.
4571 2016-01-27  Andreas Schwab  <schwab@suse.de>
4573         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4574         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4575         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4576         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4578 2016-01-26  David S. Miller  <davem@davemloft.net>
4580         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4582 2016-01-25  David S. Miller  <davem@davemloft.net>
4584         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4585         __sqrtl_finite.
4586         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4587         instead using versioned_symbol.
4588         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4589         of entries.
4591         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4592         __sqrtl_finite to GLIBC_2.23
4594 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4596         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4598 2016-01-25  Andreas Schwab  <schwab@suse.de>
4600         [BZ #17514]
4601         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4602         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4603         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4604         * nptl/tst-mutex-errorcheck.c: New file.
4606 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4608         [BZ #18560]
4609         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4610         (IPCOP_semop): Likewise.
4611         (IPCOP_semget): Likewise.
4612         (IPCOP_semctl): Likewise.
4613         (IPCOP_msgsnd): Likewise.
4614         (IPCOP_msgrcv): Likewise.
4615         (IPCOP_msgget): Likewise.
4616         (IPCOP_msgctl): Likewise.
4617         (IPCOP_shmat): Likewise.
4618         (IPCOP_shmdt): Likewise.
4619         (IPCOP_shmget): Likewise.
4620         (IPCOP_shmctl): Likewise.
4622 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4624         * string/tst-endian.c: Include <libc-internal.h>.
4625         (do_test): Ignore tautological-compare warnings around
4626         "htobeXX (beXXtoh (i)) != i" and
4627         "htoleXX (leXXtoh (i)) != i" if-statements.
4629 2016-01-24  David S. Miller  <davem@davemloft.net>
4631         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4632         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4633         alias.
4634         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4635         __sqrtl_finite.
4637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4639 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4641         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4642         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4643         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4645 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4647         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4648         (thread_func): Use new function to simplify barrier check.
4649         (do_test): Use new function to simplify checking barrier exit
4650         code, and actually join the child thread.
4652 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4654         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4655         semicolon.
4656         (__libc_tend): Likewise.
4657         (__libc_tabort): Likewise.
4659 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4661         * sysdeps/nios2/libm-test-ulps: Update.
4662         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4663         (__gtsf2): Likewise.
4664         (__unorddf2): Likewise.
4665         (__unordsf2): Likewise.
4666         (__ledf2): Likewise.
4668 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4670         * nis/nis_table.c (__follow_path): Disable diagnostic for
4671         uninitialized variable that is a false positive for gcc 4.7.
4672         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4674 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4676         * sysdeps/nacl/lowlevellock-futex.h
4677         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4678         Always evaluate PRIVATE argument.
4680 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4682         [BZ #19490]
4683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4684         (pthread_cond_broadcast): Use ENTRY/END
4685         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4686         (pthread_cond_signal): Likewise.
4687         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4688         Likewise.
4689         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4690         Likewise.
4691         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4692         Likewise.
4694 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4696         * sysdeps/ieee754/dbl-64/s_finite.c
4697         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4698         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4699         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4700         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4701         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4704         (__gtsf2): Add as optional for libc.so.
4705         (__unordsf2): Likewise.
4706         (__signbit): Remove for libc.so.
4707         (__signbitl): Likewise.
4709 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4711         * iconvdata/bug-iconv11.c (test_ibm93x):
4712         Use %zu printf format specifier for size_t argument.
4714 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4716         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4717         already-recorded ulps.
4718         * sysdeps/arm/libm-test-ulps: Regenerated.
4719         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4721         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4723 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4724             Paul Pluzhnikov  <ppluzhnikov@google.com>
4726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4727         assembler not supporting AVX-512.
4729 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4731         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4733 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4735         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4736         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4740         * sysdeps/arm/libm-test-ulps: Regenerated.
4742 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4744         [BZ #19451]
4745         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4747 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4749         [BZ #19486]
4750         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4751         * sysdeps/generic/fix-fp-int-convert-overflow.h
4752         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4753         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4754         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4755         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4756         Likewise.
4757         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4758         Avoid conversions to long int where inexact exceptions
4759         could be raised.
4760         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4761         Likewise.
4762         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4763         Avoid conversions to long long int where inexact exceptions
4764         could be raised.
4765         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4766         Likewise.
4768 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4770         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4771         * configure: Regenerated.
4773 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4775         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4777 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4779         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4780         outside of comment.
4782 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4784         * nptl/tst-barrier1.c: Add description on first line.
4785         * nptl/tst-barrier2.c: Likewise.
4786         * nptl/tst-barrier3.c: Likewise.
4787         * nptl/tst-barrier4.c: Likewise.
4788         * nptl/tst-barrier5.c: Likewise.
4790 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4792         [BZ #18868]
4793         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4795 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4799         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4800         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4801         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4802         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4803         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4804         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4805         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4806         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4807         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4809 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4811         [BZ #13065]
4812         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4813         new implementation.
4814         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4815         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4816         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4817         (BARRIER_IN_THRESHOLD): New macro.
4818         * nptl/pthread_barrierattr_setpshared.c
4819         (pthread_barrierattr_setpshared): Clean up.
4820         * nptl/tst-barrier4.c: Correct comment.
4821         * nptl/tst-barrier5.c: New file.
4822         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4823         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4824         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4825         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4826         * nptl/lowlevelbarrier.sym: Remove.
4827         * nptl/DESIGN-barrier.txt: Remove.
4828         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4829         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4830         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4831         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4832         error.
4833         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4834         implementation.
4836 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4838         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4839         (do_child): Mask SIGRTMIN while thr is running.
4841 2016-01-15  Martin Sebor  <msebor@redhat.com>
4843         [BZ #19432]
4844         * iconvdata/Makefile: Add bug-iconv11.
4845         * iconvdata/bug-iconv11.c: New test.
4846         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4847         * iconvdata/ibm933.c: Same.
4848         * iconvdata/ibm935.c: Same.
4849         * iconvdata/ibm937.c: Same.
4850         * iconvdata/ibm939.c: Same.
4852 2016-01-15  Martin Sebor  <msebor@redhat.com>
4854         [BZ #19443]
4855         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4856         [DEBUG] (_ufc_set_bits): Declare used.
4857         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4858         [DEBUG] (print_all): Declare used.
4859         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4860         operands of the ternary ?: expression to target type.
4861         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4862         calling the undeclared abort.
4863         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4865 2016-01-15  Martin Sebor  <msebor@redhat.com>
4867         [BZ #18755]
4868         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4869         warnings.
4870         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4871         (__gai_create_helper_thread): Same.
4872         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4873         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4874         to suppress -Wmaybe-uninitialized warnings.
4876 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4878         [BZ #19465]
4879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4880         inside if.
4881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4882         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4883         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4885 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4887         [BZ #19466]
4888         * time/tst-mktime2.c (time_t_max): Removed.
4889         (time_t_min): Likewise.
4890         (TYPE_SIGNED): New.
4891         (TYPE_MINIMUM): Likewise.
4892         (TYPE_MAXIMUM): Likewise.
4893         (TIME_T_MIN): Likewise.
4894         (TIME_T_MAX): Likewise.
4895         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4896         and TIME_T_MIN.
4897         (do_test): Likewise.
4899 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4901         [BZ #19467]
4902         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4903         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4905 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4907         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4909 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4911         * benchtests/Makefile (PYTHON): Define.
4912         (bench-func): Use $(PYTHON) to run python scripts.
4913         ($(objpfx)bench-%.c): Likewise.
4915 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4917         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4918         leading slash when `file_name' is "/".
4920 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4922         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4923         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4924         Likewise.
4925         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4926         Likewise.
4927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4928         Likewise.
4929         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4930         enum constant and macro.
4931         (PTRACE_SETSIGMASK): Likewise.
4932         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4933         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4934         (PTRACE_GETSIGMASK): Likewise.
4935         (PTRACE_SETSIGMASK): Likewise.
4936         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4937         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4938         Likewise.
4939         (PTRACE_SETSIGMASK): Likewise.
4940         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4941         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4942         (PTRACE_GETSIGMASK): Likewise.
4943         (PTRACE_SETSIGMASK): Likewise.
4944         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4946         Likewise.
4947         (PTRACE_SETSIGMASK): Likewise.
4948         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4949         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4950         Likewise.
4951         (PTRACE_SETSIGMASK): Likewise.
4952         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4953         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4954         Likewise.
4955         (PTRACE_SETSIGMASK): Likewise.
4956         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4958 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4959             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4961         [BZ #19439]
4962         * math/bits/mathcalls.h
4963         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4964         prototype.
4965         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4967 2016-01-11  Andreas Schwab  <schwab@suse.de>
4969         [BZ #19253]
4970         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4971         cache when TZDEFRULES was used.
4972         * time/tst-tzname.c: New file.
4973         * time/Makefile (test): Add tst-tzname.
4974         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4975         * timezone/Makefile (test-zones): Add $(posixrules-file).
4976         ($(testdata)/$(posixrules-file)): New rule.
4978 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4980         Fix doc quoting problems with Texinfo 5
4981         Without this change, in the info file output, Texinfo 5 quotes code
4982         in text with undirected single quotes 'like this' and generates
4983         code examples that with many PDF readers cannot be cut out of PDFs
4984         and pasted into code.
4985         * manual/libc.texinfo: Configure the libc manual like the GNU
4986         Emacs manual, by using @documentencoding and setting
4987         txicodequoteundirected and txicodequotebacktick.  This way,
4988         Texinfo 5 quotes code in text with directed single quotes ‘like
4989         this’ and produces examples that can be cut out of PDFs.  This
4990         change causes Texinfo 5 to generate info files that contain UTF-8
4991         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4992         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4994 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4996         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4997         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4998         barriers to their respective compiler built-ins.
4999         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5000         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5001         * sysdeps/powerpc/sysdep.h: Likewise.
5002         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5004         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5006 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5008         * scripts/config.guess: Revert previous shebang change.
5009         * scripts/config.sub: Likewise.
5010         * scripts/mkinstalldirs: Likewise.
5012 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5014         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5015         PPC_FEATURE2_HAS_IEEE128.
5016         * sysdeps/powerpc/dl-procinfo.c:
5017         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5019 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5021         [BZ #19415]
5022         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5023         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5024         (_dl_lookup_address): Rewrite using function resolver trampoline.
5025         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5026         two bits in address.
5028 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5030         * longlong.h: Change !__SHMEDIA__ to
5031         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5032         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5034 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5035             Joseph Myers  <joseph@codesourcery.com>
5036             Mark Shinwell  <shinwell@codesourcery.com>
5037             Andrew Stubbs  <ams@codesourcery.com>
5038             Rich Felker <dalias@libc.org>
5040         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5042 2016-01-07  Richard Henderson  <rth@redhat.com>
5044         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5046 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5048         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5049         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5050         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5051         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5052         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5054 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5055             Joseph Myers  <joseph@codesourcery.com>
5057         * timezone/private.h: Update from tzcode 2015g.
5058         * timezone/tzfile.h: Likewise.
5059         * timezone/tzselect.ksh: Likewise.
5060         * timezone/zdump.c: Likewise.
5061         * timezone/zic.c: Likewise.
5062         * timezone/ialloc.c: Remove file.
5063         * timezone/scheck.c: Likewise.
5064         * timezone/Makefile (extra-objs): Remove variable.
5065         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5066         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5067         -Wno-maybe-uninitialized.
5068         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5069         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5070         (CFLAGS-ialloc.c): Remove variable.
5071         (CFLAGS-scheck.c): Likewise.
5072         * timezone/README: Update list of files from tzcode.
5074 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5076         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5077         instead of __fxprintf when _LIBC is undefined.
5079 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5081         * catgets/test-gencat.sh: Remove space after shebang.
5082         * conform/GlibcConform.pm: Likewise.
5083         * conform/check-header-lists.sh: Likewise.
5084         * conform/conformtest.pl: Likewise.
5085         * conform/linknamespace.pl: Likewise.
5086         * conform/list-header-symbols.pl: Likewise.
5087         * debug/catchsegv.sh: Likewise.
5088         * elf/genrtldtbl.awk: Likewise.
5089         * elf/tst-pathopt.sh: Likewise.
5090         * elf/tst-rtld-load-self.sh: Likewise.
5091         * grp/tst_fgetgrent.sh: Likewise.
5092         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5093         * iconvdata/gen-8bit-gap.sh: Likewise.
5094         * iconvdata/gen-8bit.sh: Likewise.
5095         * iconvdata/run-iconv-test.sh: Likewise.
5096         * intl/tst-gettext.sh: Likewise.
5097         * intl/tst-gettext2.sh: Likewise.
5098         * intl/tst-gettext4.sh: Likewise.
5099         * intl/tst-gettext6.sh: Likewise.
5100         * intl/tst-translit.sh: Likewise.
5101         * io/ftwtest-sh: Likewise.
5102         * libio/test-freopen.sh: Likewise.
5103         * locale/gen-translit.pl: Likewise.
5104         * malloc/tst-mtrace.sh: Likewise.
5105         * manual/check-safety.sh: Likewise.
5106         * manual/libc-texinfo.sh: Likewise.
5107         * manual/tsort.awk: Likewise.
5108         * manual/xtract-typefun.awk: Likewise.
5109         * nptl/tst-cancel-wrappers.sh: Likewise.
5110         * nptl/tst-tls6.sh: Likewise.
5111         * posix/globtest.sh: Likewise.
5112         * posix/tst-getconf.sh: Likewise.
5113         * posix/wordexp-tst.sh: Likewise.
5114         * scripts/check-c++-types.sh: Likewise.
5115         * scripts/check-local-headers.sh: Likewise.
5116         * scripts/config.guess: Likewise.
5117         * scripts/config.sub: Likewise.
5118         * scripts/cpp: Likewise.
5119         * scripts/cross-test-ssh.sh: Likewise.
5120         * scripts/documented.sh: Likewise.
5121         * scripts/evaluate-test.sh: Likewise.
5122         * scripts/gen-libc-abis: Likewise.
5123         * scripts/gen-sorted.awk: Likewise.
5124         * scripts/list-fixed-bugs.py: Likewise.
5125         * scripts/merge-test-results.sh: Likewise.
5126         * scripts/mkinstalldirs: Likewise.
5127         * scripts/rellns-sh: Likewise.
5128         * scripts/test-installation.pl: Likewise.
5129         * scripts/update-copyrights: Likewise.
5130         * stdio-common/tst-printf.sh: Likewise.
5131         * stdio-common/tst-unbputc.sh: Likewise.
5132         * stdlib/tst-fmtmsg.sh: Likewise.
5133         * stdlib/tst-setcontext3.sh: Likewise.
5134         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5135         * sysdeps/unix/make-syscalls.sh: Likewise.
5137 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5139         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5140         asm stw with atomic_exchange_rel.  Add explanatory comment.
5141         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5142         Likewise.
5144 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5146         [BZ #19122]
5147         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5148         * sysdeps/generic/dl-unistd.h: New file.
5149         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5151 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5153          [BZ #19122]
5154          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5155          * sysdeps/generic/dl-mman.h: New file.
5156          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5158 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5160         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5161         trailing whitespace removed.
5162         * scripts/config.guess: Update to version 2016-01-01.
5163         * scripts/config.sub: Update to version 2016-01-01.
5164         * scripts/move-if-change: Update from gnulib.
5166 2016-01-04  Anton Blanchard  <anton@samba.org>
5168         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5169         for array indices.
5170         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5172 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5174         * NEWS: Update copyright dates.
5175         * catgets/gencat.c (print_version): Likewise.
5176         * csu/version.c (banner): Likewise.
5177         * debug/catchsegv.sh: Likewise.
5178         * debug/pcprofiledump.c (print_version): Likewise.
5179         * debug/xtrace.sh (do_version): Likewise.
5180         * elf/ldconfig.c (print_version): Likewise.
5181         * elf/ldd.bash.in: Likewise.
5182         * elf/pldd.c (print_version): Likewise.
5183         * elf/sotruss.sh: Likewise.
5184         * elf/sprof.c (print_version): Likewise.
5185         * iconv/iconv_prog.c (print_version): Likewise.
5186         * iconv/iconvconfig.c (print_version): Likewise.
5187         * locale/programs/locale.c (print_version): Likewise.
5188         * locale/programs/localedef.c (print_version): Likewise.
5189         * login/programs/pt_chown.c (print_version): Likewise.
5190         * malloc/memusage.sh (do_version): Likewise.
5191         * malloc/memusagestat.c (print_version): Likewise.
5192         * malloc/mtrace.pl: Likewise.
5193         * manual/libc.texinfo: Likewise.
5194         * nptl/version.c (banner): Likewise.
5195         * nscd/nscd.c (print_version): Likewise.
5196         * nss/getent.c (print_version): Likewise.
5197         * nss/makedb.c (print_version): Likewise.
5198         * posix/getconf.c (main): Likewise.
5199         * scripts/test-installation.pl: Likewise.
5200         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5202         * All files with FSF copyright notices: Update copyright dates
5203         using scripts/update-copyrights.
5204         * intl/plural.c: Regenerated.
5205         * locale/programs/charmap-kw.h: Likewise.
5206         * locale/programs/locfile-kw.h: Likewise.
5208 2016-01-02  Helge Deller  <deller@gmx.de>
5210         [BZ #19285]
5211         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5212         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5213         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5214         (MADV_xxK_PAGES): Remove.
5216 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5218         [BZ #15421]
5219         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5220         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5221         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5222         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5224 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5226         [BZ #19408]
5227         * sysdeps/unix/sysv/linux/personality.c: New file.
5228         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5229         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5230         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5231         (sysdep_routines): Add personality.
5232         (tests): Add tst-personality.
5233         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5234         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5235         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5236         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5237         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5238         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5239         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5240         Likewise.
5241         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5242         Likewise.
5243         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5244         Likewise.
5245         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5246         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5247         Likewise.
5249 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5251         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5252         (PATH_ARM_SYSTYPE): Remove.
5253         (PATH_CPUINFO): Likewise.
5254         (IO_BASE_FOOTBRIDGE): Likewise.
5255         (IO_SHIFT_FOOTBRIDGE): Likewise.
5256         (struct platform): Likewise.
5257         (init_iosys): Remove compatibility code for 2.4 kernels.
5258         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5260 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5262         * malloc/tst-malloc-thread-fail.c: New file.
5263         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5264         (tst-malloc-thread-fail): Link against libpthread.
5266 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5268         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5269         (get_parser): New function.
5270         (main): New function.
5272 2015-12-29  Rob Wu  <rob@robwu.nl>
5274         [BZ #19369]
5275         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5277 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5279         [BZ #19270]
5280         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5282 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5284         [BZ #15421]
5285         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5287 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5289         [BZ #13690]
5290         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5291         after releasing it.
5292         (__lll_robust_unlock): Likewise.
5293         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5294         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5295         (lll_robust_unlock): Likewise.
5296         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5297         Prevent warnings in callers.
5299 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5301         * malloc/arena.c (list_lock): Update comment.
5303 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5305         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5306         __parse_hwcap_and_convert_at_platform to libc.a.
5308 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5310         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5311         platform and feature support for POWER9.
5312         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5313         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5314         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5315         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5316         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5317         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5318         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5319         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5321 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5323         Harmonize generic stdio-lock support with nptl
5325         This fixes build when _IO_funlockfile is a macro, fixes build where
5326         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5327         stack unwind.
5329         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5330         _IO_release_lock ): Use cleanup attribute on new
5331         _IO_acquire_lock_file variable instead of assuming that
5332         _IO_release_lock will be called.
5333         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5334         _IO_acquire_lock_needs_exceptions_enabled.
5335         (_IO_acquire_lock_clear_flags2): New macro.
5337 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5339         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5341 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5343         [BZ #19182]
5344         * malloc/arena.c (list_lock): Document lock ordering requirements.
5345         (free_list_lock): New lock.
5346         (ptmalloc_lock_all): Comment on free_list_lock.
5347         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5348         (detach_arena): Update comment.  free_list_lock is now needed.
5349         (_int_new_arena): Use free_list_lock around detach_arena call.
5350         Acquire arena lock after list_lock.  Add comment, including FIXME
5351         about incorrect synchronization.
5352         (get_free_list): Switch to free_list_lock.
5353         (reused_arena): Acquire free_list_lock around detach_arena call
5354         and attached threads counter update.  Add two FIXMEs about
5355         incorrect synchronization.
5356         (arena_thread_freeres): Switch to free_list_lock.
5357         * malloc/malloc.c (struct malloc_state): Update comments to
5358         mention free_list_lock.
5360 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5362         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5363         Remove functions.
5364         (sloww, sloww1): Accept argument to offset quadrant.
5365         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5366         quadrant.
5367         (__sin, __cos): Consolidate common code into new functions.
5368         (reduce_sincos_1, do_sincos_1): New functions.
5369         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5371         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5372         code to new functions.
5373         (reduce_sincos_2, do_sincos_2): New functions.
5374         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5377         common code for sincos.
5378         (__cos) [!IN_SINCOS]: Likewise.
5379         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5380         New function.
5381         (__sincos): Use it.
5383 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5385         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5386         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5387         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5389 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5391         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5392         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5394         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5395         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5396         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5397         index_Prefer_No_VZEROUPPER): New feature.
5398         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5399         Prefer_No_VZEROUPPER for Knights Landing.
5401 015-12-18  Torvald Riegel  <triegel@redhat.com>
5403         * math/atest-exp2.c (mp_exp_m1): Remove.
5405 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5407         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5408         syscalls.
5409         (__SYSCALL0): New macro.
5410         (__SYSCALL1): Likewise.
5411         (__SYSCALL2): Likewise.
5412         (__SYSCALL3): Likewise.
5413         (__SYSCALL4): Likewise.
5414         (__SYSCALL5): Likewise.
5415         (__SYSCALL6): Likewise.
5416         (__SYSCALL_CONCAT_X): Likewise.
5417         (__SYSCALL_CONCAT): Likewise.
5418         (__SYSCALL_DIST): Likewise.
5419         (__SYSCALL_CALL): Likewise.
5421 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5423         [BZ #19363]
5424         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5426 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5428         [BZ #19375]
5429         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5430         negative subnormals.
5432 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5435         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5436         (INTERNAL_SYSCALL_NCS): Use it.
5437         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5439 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5441         [BZ #19243]
5442         * malloc/arena.c (get_free_list): Remove assert and adjust
5443         reference count handling.  Add comment about reused_arena
5444         interaction.
5445         (reused_arena): Add comments abount get_free_list interaction.
5446         * malloc/tst-malloc-thread-exit.c: New file.
5447         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5448         (tst-malloc-thread-exit): Link against libpthread.
5450 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5452         [BZ #19367]
5453         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5454         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5455         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5456         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5457         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5459 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5461         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5462         Silvermont optimizations for Knights Landing.
5464 2015-12-15  Andreas Schwab  <schwab@suse.de>
5466         [BZ #17197]
5467         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5468         immediately after emitting SI.
5469         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5470         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5471         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5472         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5473         * iconvdata/bug-iconv10.c: New file.
5474         * iconvdata/Makefile (tests): Add bug-iconv10.
5475         ($(objpfx)bug-iconv10.out): New rule.
5477 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5479         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5480         aliasing violation.
5482 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5484         [BZ #18472]
5485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5486         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5487         conditionals for them.
5488         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5489         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5490         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5491         sys/kdaemon.h.
5492         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5493         compat-only syscall, obsoleted in glibc 2.23.
5494         (create_module): Likewise.
5495         (get_kernel_syms): Likewise.
5496         (query_module): Likewise.
5497         (uselib): Likewise.
5498         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5500 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5502         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5503         <linux/version.h>.
5504         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5505         conditional code.
5506         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5507         and ioshift_name initialization.
5509 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5512         Fix indentation.
5514 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5516         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5518 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5520         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5522 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5523             Jakub Wilk  <jwilk@debian.org>
5525         [BZ #19347]
5526         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5527         to change the group of the device to the tty group.
5529 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5531         Split large string section; add truncation advice
5532         * manual/examples/strncat.c: Remove.
5533         This example was misleading, as the code would have undefined
5534         behavior if "hello" was longer than SIZE.  Anyway, the manual
5535         shouldn't encourage strncpy+strncat for this sort of thing.
5536         * manual/string.texi (Copying Strings and Arrays): Split into
5537         three sections Copying Strings and Arrays, Concatenating Strings,
5538         and Truncating Strings, as this section was way too long.  All
5539         cross-referenced changed.  Add advice about string-truncation
5540         functions.  Remove misleading strncat example.
5542 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5544         * manual/nss.texi (NSS Modules Interface): Document
5545         NSS_STATUS_NOTFOUND and SUCCESS.
5547 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5549         [BZ 18568]
5550         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5551         201505L, for Unicode 8.
5553 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5555         * locale/C-translit.h: Regenerate.
5557 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5559         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5560         and U+0153.
5562 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5564         [BZ #19351]
5565         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5566         expanding log(1+z), compare z rather than its square with epsilon
5567         to determine when to avoid evaluating the expansion.
5569         [BZ #19350]
5570         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5571         Increase overflow threshold.
5573         [BZ #19349]
5574         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5575         when small.
5577         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5579         New macro.
5580         [__LINUX_KERNEL_VERSION >= 0x040300]
5581         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5583         Likewise.
5584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5585         Likewise.
5586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5587         Likewise.
5588         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5589         Likewise.
5590         [__LINUX_KERNEL_VERSION >= 0x040300]
5591         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5592         [__LINUX_KERNEL_VERSION >= 0x040300]
5593         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5594         [__LINUX_KERNEL_VERSION >= 0x040300]
5595         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5596         [__LINUX_KERNEL_VERSION >= 0x040300]
5597         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5598         [__LINUX_KERNEL_VERSION >= 0x040300]
5599         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5601         Likewise.
5602         [__LINUX_KERNEL_VERSION >= 0x040300]
5603         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5605         Likewise.
5606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5607         Likewise.
5608         [__LINUX_KERNEL_VERSION >= 0x040300]
5609         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5611         Likewise.
5612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5613         Likewise.
5614         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5615         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5616         Likewise.
5617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5618         Likewise.
5619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5620         Likewise.
5621         [__LINUX_KERNEL_VERSION >= 0x040300]
5622         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5624         Likewise.
5625         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5626         Likewise.
5627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5628         Likewise.
5629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5630         Likewise.
5631         [__LINUX_KERNEL_VERSION >= 0x040300]
5632         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5633         [__LINUX_KERNEL_VERSION >= 0x040300]
5634         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5635         [__LINUX_KERNEL_VERSION >= 0x040300]
5636         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5637         [__LINUX_KERNEL_VERSION >= 0x040300]
5638         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5639         [__LINUX_KERNEL_VERSION >= 0x040300]
5640         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5642         Likewise.
5643         [__LINUX_KERNEL_VERSION >= 0x040300]
5644         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5645         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5646         Likewise.
5647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5648         Likewise.
5649         [__LINUX_KERNEL_VERSION >= 0x040300]
5650         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5652         Likewise.
5653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5654         Likewise.
5655         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5656         (__ASSUME_SOCKET_SYSCALL): Likewise.
5657         (__ASSUME_BIND_SYSCALL): Likewise.
5658         (__ASSUME_CONNECT_SYSCALL): Likewise.
5659         (__ASSUME_LISTEN_SYSCALL): Likewise.
5660         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5661         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5662         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5663         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5664         (__ASSUME_SEND_SYSCALL): Likewise.
5665         (__ASSUME_SENDTO_SYSCALL): Likewise.
5666         (__ASSUME_RECV_SYSCALL): Likewise.
5667         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5668         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5669         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5670         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5671         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5672         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5673         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5674         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5675         Likewise.
5676         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5677         Likewise.
5678         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5679         Likewise.
5680         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5681         Likewise.
5682         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5683         Likewise.
5684         [__LINUX_KERNEL_VERSION >= 0x020625]
5685         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5686         [__LINUX_KERNEL_VERSION >= 0x020625]
5687         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5688         [__LINUX_KERNEL_VERSION >= 0x020625]
5689         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5690         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5691         Likewise.
5692         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5693         Likewise.
5694         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5695         Likewise.
5696         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5697         Likewise.
5698         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5699         Likewise.
5700         [__LINUX_KERNEL_VERSION >= 0x020625]
5701         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5702         [__LINUX_KERNEL_VERSION >= 0x020625]
5703         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5704         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5705         Likewise.
5706         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5707         Likewise.
5709 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5711         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5712         record the current if the current ABI and CPU support the FP64
5713         extension.
5714         (has-modd-spreg): Define to record the current if the current ABI and
5715         CPU support 32-bit floating point values in odd FPU registers.
5716         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5717         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5718         $(has-modd-spreg) equals yes.
5719         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5720         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5721         $(has-modd-spreg) equal yes.
5723 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5725         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5726         basename.
5728 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5730         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5731         (bench-string): ... here.
5732         (bench): Add bench-string.
5733         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5734         to *-benchset to reflect what they are.
5735         (benchset): Adjust.
5737         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5738         cos-inputs.
5740 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5742         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5743         __attribute__ ((__simd__)) for vector math function declarations.
5745 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5747         Fix typo in strncat, wcsncat manual entries
5748         * manual/string.texi (Copying and Concatenation): Fix typos in
5749         sample implementations of strncat and wcsncat, by having them use
5750         the old value of the destination length, not the new one.
5752 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5754         [BZ #16961]
5755         [BZ #16962]
5756         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5757         string on the stack for strtod.
5758         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5759         a string on the stack for strtof.
5760         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5761         constructing a string on the stack for strtold.
5762         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5763         __strtold_nan to GLIBC_PRIVATE.
5764         * math/test-nan-overflow.c: New file.
5765         * math/test-nan-payload.c: Likewise.
5766         * math/Makefile (tests): Add test-nan-overflow and
5767         test-nan-payload.
5769 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5771         Consistency about byte vs character in string.texi
5772         * manual/string.texi (String and Array Utilities):
5773         Distinguish more carefully among bytes, multibyte characters,
5774         and wide characters.  Use "byte" when talking about C 'char',
5775         to distinguish it more clearly from multibyte characters.
5776         Say "wide character" or "multibyte character" instead of
5777         "character", when a wide or multibyte character is intended.
5778         Similarly for "multibyte string" versus "string".
5779         Define these terms more carefully.
5781 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5783         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5784         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5785         Likewise.
5786         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5787         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5788         * sysdeps/sh/math_private.h: New file.
5789         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5790         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5791         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5792         long double function name.
5793         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5794         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5795         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5799         Remove __finitel, __isinfl, and __isnanl.
5800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5804         Remove __finitel.
5805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5806         Likewise.
5807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5809 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5811         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5812         installed libmvec_nonshared.a.
5814 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5816         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5817         (sysdep_routines): Likewise.
5818         (sysdep-rtld-routines): Likewise.
5819         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5820         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5821         * sysdeps/powerpc/Versions: Added new
5822         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5823         * sysdeps/powerpc/hwcapinfo.c: New file.
5824         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5825         and parse hwcap, hwcap2 and platform number information.
5826         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5827         to store HWCAP+HWCAP2 and platform number.
5828         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5829         for HWCAP+HWCAP2 and platform number in the TCB.
5830         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5831         the HWCAP, HWCAP2 and platform number in the TCB.
5832         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5833         (TLS_INIT_TP): Included calls to add the hwcap and
5834         at_platform values in the TCB in TP initialization.
5835         (TLS_DEFINE_INIT_TP): Likewise.
5836         (THREAD_GET_HWCAP): New macro.
5837         (THREAD_SET_HWCAP): Likewise.
5838         (THREAD_GET_AT_PLATFORM): Likewise.
5839         (THREAD_SET_AT_PLATFORM): Likewise.
5840         * sysdeps/powerpc/powerpc32/dl-machine.h:
5841         (dl_platform_init): New function that calls
5842         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5843         powerpc32.
5844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5845         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5846         this functionality, static linking case.
5847         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5848         linking case.
5849         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5850         __parse_hwcap_and_convert_at_platform for the static linking case.
5851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5852         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5853         ABI list for GLIBC 2.23.
5854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5855         Likewise.
5856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5857         Likewise.
5859 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5861         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5862         * configure: Regenerate.
5863         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5864         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5866 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5868         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5869         * iconvdata/ibm933.c: Likewise.
5870         * iconvdata/ibm935.c: Likewise.
5871         * iconvdata/ibm937.c: Likewise.
5872         * iconvdata/ibm939.c: Likewise.
5874 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5876         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5877         pthread_join.
5878         * nptl/tst-cancel21.c (tf): Likewise.
5880 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5882         [BZ #19313]
5883         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5884         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5885         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5886         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5889         Likewise.
5890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5891         Likewise.
5892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5893         Likewise.
5894         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5895         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5896         unsigned long int with __CPU_MASK_TYPE.
5898 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5900         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5902 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5904         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5905         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5906         t512.x.
5907         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5909 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5911         [BZ #19214]
5912         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5913         argument to return extended model.  Update family and model
5914         with extended family and model when family == 0x0f.
5915         (init_cpu_features): Updated.
5917 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5919         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5920         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5922         * sysdeps/mach/hurd/mmap64.c: New file.
5924 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5926         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5927         rights for its main user thread in NEWTASK.
5929 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5931         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5932         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5934 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5936         [BZ #14259]
5937         * Makeconfig: Rename localedir to complocaledir.
5938         Rename inst_localedir to inst_complocaledir.
5939         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5940         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5941         * configure.ac: Use libc_cv_complocaledir.
5942         * configure: Regenerate.
5943         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5944         -DCOMPLOCALEDIR.
5945         * locale/findlocale.c: Use COMPLOCALEDIR.
5946         * locale/loadarchive.c: Likewise.
5947         * locale/programs/locale.c: Likewise.
5948         * locale/programs/localedef.c: Likewise.
5949         * locale/programs/locarchive.c: Likewise.
5950         * localedata/Makefile: Use inst_complocaledir.
5951         * sysdeps/gnu/configure: Regenerate.
5952         * sysdeps/hppa/configure: Regenerate.
5953         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5954         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5956         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5957         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5958         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5959         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5961 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5963         [BZ #19058]
5964         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5965         AS_NEEDED.
5966         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5967         workaround.
5968         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5969         libmvec-static-only-routines): Added new file.
5970         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5972 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5974         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5975         of interrupted RPC instead of restoring it.
5977         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5978         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5979         libc_hidden_def.
5980         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5981         into initialized data instead of common. Define rtld_hidden_data_def.
5982         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5983         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5984         libc_hidden_def.
5985         (if_freenameindex): Add libc_hidden_weak.
5986         (if_nameindex): Add libc_hidden_weak.
5987         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5988         __open64.
5989         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5990         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5991         * sysdeps/mach/nanosleep.c: Include <time.h>
5992         (__nanosleep): Rename to __libc_nanosleep.
5993         (__nanosleep): Add weak_alias.
5994         (nanosleep): Update alias.
5996 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5998         * stdlib/strtod_nan.c: New file.
5999         * stdlib/strtod_nan_double.h: Likewise.
6000         * stdlib/strtod_nan_float.h: Likewise.
6001         * stdlib/strtod_nan_main.c: Likewise.
6002         * stdlib/strtod_nan_narrow.h: Likewise.
6003         * stdlib/strtod_nan_wide.h: Likewise.
6004         * stdlib/strtof_nan.c: Likewise.
6005         * stdlib/strtold_nan.c: Likewise.
6006         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6007         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6008         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6009         * wcsmbs/wcstod_nan.c: Likewise.
6010         * wcsmbs/wcstof_nan.c: Likewise.
6011         * wcsmbs/wcstold_nan.c: Likewise.
6012         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6013         strtold_nan.
6014         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6015         wcstof_nan.
6016         * include/stdlib.h (__strtof_nan): Declare and use
6017         libc_hidden_proto.
6018         (__strtod_nan): Likewise.
6019         (__strtold_nan): Likewise.
6020         (__wcstof_nan): Likewise.
6021         (__wcstod_nan): Likewise.
6022         (__wcstold_nan): Likewise.
6023         * include/wchar.h (____wcstoull_l_internal): Declare.
6024         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6025         (____strtoull_l_internal): Remove declaration.
6026         (STRTOF_NAN): Define macro.
6027         (SET_MANTISSA): Remove macro.
6028         (STRTOULL): Likewise.
6029         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6030         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6031         (STRTOF_NAN): Define macro.
6032         (SET_MANTISSA): Remove macro.
6033         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6034         (SET_MANTISSA): Remove macro.
6035         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6036         macro.
6037         (SET_MANTISSA): Remove macro.
6038         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6039         macro.
6040         (SET_MANTISSA): Remove macro.
6041         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6042         (SET_MANTISSA): Remove macro.
6043         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6044         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6045         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6047         [BZ #19266]
6048         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6049         upper case and lower case letters inside NAN(), not using TOLOWER.
6050         * stdlib/tst-strtod-nan-locale-main.c: New file.
6051         * stdlib/tst-strtod-nan-locale.c: Likewise.
6052         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6053         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6054         Depend on $(gen-locales).
6055         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6056         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6057         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6058         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6059         Depend on $(gen-locales).
6060         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6062 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6064         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6066         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6068         __finitel, __isinfl, and __isnanl.
6069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6070         Likewise.
6071         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6073         __finitel.
6074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6075         Likewise.
6076         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6078 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6080         * malloc/memusage.c (me): Remove redundant getenv call.
6082 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6084         [BZ #19143]
6085         [BZ #19164]
6086         * nptl/check-cpuset.h: Remove.
6087         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6088         Remove CPU set size check.
6089         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6090         Likewise.
6091         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6092         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6093         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6094         (__pthread_setaffinity_new): Remove CPU set size check.
6095         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6096         (__kernel_cpumask_size): Remove.
6097         (__sched_setaffinity_new): Remove CPU set size check.
6098         * manual/threads.texi (Default Thread Attributes): Remove stale
6099         reference to check_cpuset_attr, determine_cpumask_size in comment.
6100         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6101         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6102         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6103         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6104         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6105         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6106         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6107         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6108         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6109         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6110         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6111         skeleton test file.
6112         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6113         tst-affinity-pid.
6115 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6117         * scripts/update-abilist.sh: New file.
6118         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6119         * Makerules (update-all-abi-%, update-all-abi)
6120         (subdir_update-all-abi): New targets.
6121         * elf/Makefile (update-all-abi): New target.
6123 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6125         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6126         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6127         (__libc_lock_define_initialized): Use it.
6128         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6129         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6130         * malloc/malloc.c (main_arena): Likewise.
6131         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6132         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6134 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6136         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6137         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6138         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6139         (PTRACE_O_MASK): Update value.
6140         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6141         New value in enum __ptrace_setoptions.
6142         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6143         (PTRACE_O_MASK): Update value.
6144         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6145         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6146         (PTRACE_O_MASK): Update value.
6147         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6148         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6149         (PTRACE_O_MASK): Update value.
6150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6151         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6152         (PTRACE_O_MASK): Update value.
6153         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6154         New value in enum __ptrace_setoptions.
6155         (PTRACE_O_MASK): Update value.
6156         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6157         New value in enum __ptrace_setoptions.
6158         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6159         (PTRACE_O_MASK): Update value.
6161         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6162         New macro.
6163         (PACKET_AUXDATA): Likewise.
6164         (PACKET_ORIGDEV): Likewise.
6165         (PACKET_VERSION): Likewise.
6166         (PACKET_HDRLEN): Likewise.
6167         (PACKET_RESERVE): Likewise.
6168         (PACKET_TX_RING): Likewise.
6169         (PACKET_LOSS): Likewise.
6170         (PACKET_VNET_HDR): Likewise.
6171         (PACKET_TX_TIMESTAMP): Likewise.
6172         (PACKET_TIMESTAMP): Likewise.
6173         (PACKET_FANOUT): Likewise.
6174         (PACKET_TX_HAS_OFF): Likewise.
6175         (PACKET_QDISC_BYPASS): Likewise.
6176         (PACKET_ROLLOVER_STATS): Likewise.
6177         (PACKET_FANOUT_DATA): Likewise.
6178         (PACKET_MR_UNICAST): Likewise.
6180         [BZ #19242]
6181         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6182         (TOUPPER): Likewise.
6183         * stdlib/tst-strtol-locale-main.c: New file.
6184         * stdlib/tst-strtol-locale.c: Likewise.
6185         * stdlib/Makefile (tests): Add tst-strtol-locale.
6186         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6187         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6188         Depend on $(gen-locales).
6189         * wcsmbs/tst-wcstol-locale.c: New file.
6190         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6191         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6192         tr_TR.ISO-8859-9.
6193         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6194         Depend on $(gen-locales).
6196 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6198         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6199         __glibc_likely instead of __builtin_expect.  After falling back to
6200         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6201         system interface to register the code pages as occupied.
6203 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6205         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6206         [!ARM_MATH_PRIVATE_H].
6207         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6208         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6209         [!HPPA_MATH_PRIVATE_H].
6210         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6211         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6212         to [!I386_MATH_PRIVATE_H].
6213         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6214         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6215         Change guard to [!M68K_MATH_PRIVATE_H].
6216         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6217         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6218         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6219         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6220         macro.
6221         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6222         [!MIPS_MATH_PRIVATE_H].
6223         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6224         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6225         [!NIO2_MATH_PRIVATE_H].
6226         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6227         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6228         [!TILE_MATH_PRIVATE_H].
6229         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6231         [BZ #15421]
6232         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6233         initialize with 0 and define as weak alias of __signgam.
6234         * include/math.h [!_ISOMAC] (__signgam): Declare.
6235         * math/Makefile (libm-calls): Add w_lgamma_compat.
6236         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6237         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6238         test-signgam-ullong-init.
6239         (tests-static): Add test-signgam-uchar-static,
6240         test-signgam-uchar-init-static, test-signgam-uint-static,
6241         test-signgam-uint-init-static, test-signgam-ullong-static and
6242         test-signgam-ullong-init-static.
6243         (CFLAGS-test-signgam-uchar.c): New variable.
6244         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6245         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6246         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6247         (CFLAGS-test-signgam-uint.c): Likewise.
6248         (CFLAGS-test-signgam-uint-init.c): Likewise.
6249         (CFLAGS-test-signgam-uint-static.c): Likewise.
6250         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6251         (CFLAGS-test-signgam-ullong.c): Likewise.
6252         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6253         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6254         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6255         * math/Versions (libm): Add GLIBC_2.23.
6256         * math/lgamma-compat.h: New file.
6257         * math/test-signgam-main.c: Likewise.
6258         * math/test-signgam-uchar-init-static.c: Likewise.
6259         * math/test-signgam-uchar-init.c: Likewise.
6260         * math/test-signgam-uchar-static.c: Likewise.
6261         * math/test-signgam-uchar.c: Likewise.
6262         * math/test-signgam-uint-init-static.c: Likewise.
6263         * math/test-signgam-uint-init.c: Likewise.
6264         * math/test-signgam-uint-static.c: Likewise.
6265         * math/test-signgam-uint.c: Likewise.
6266         * math/test-signgam-ullong-init-static.c: Likewise.
6267         * math/test-signgam-ullong-init.c: Likewise.
6268         * math/test-signgam-ullong-static.c: Likewise.
6269         * math/test-signgam-ullong.c: Likewise.
6270         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6271         wrapper of w_lgamma_main.c.
6272         * math/w_lgamma_compat.c: New file.
6273         * math/w_lgamma_compatf.c: Likewise.
6274         * math/w_lgamma_compatl.c: Likewise.
6275         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6276         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6277         defining compatibility symbols.
6278         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6279         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6280         wrapper of w_lgammaf_main.c.
6281         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6282         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6283         defining compatibility symbols.
6284         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6285         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6286         wrapper of w_lgammal_main.c.
6287         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6288         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6289         defining compatibility symbols.
6290         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6291         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6292         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6293         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6294         <lgamma-compat.h>.
6295         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6296         (__ieee754_gamma): Define as alias.
6297         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6298         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6299         <lgamma-compat.h>.
6300         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6301         (__ieee754_gammaf): Define as alias.
6302         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6303         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6304         <lgamma-compat.h>.
6305         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6306         (__ieee754_gammal): Define as alias.
6307         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6308         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6309         <math/w_lgamma_compat.c>.
6310         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6311         Define as alias of __lgamma_compat and use in defining lgammal.
6312         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6313         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6314         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6315         (USE_AS_COMPAT): New macro.
6316         (LGAMMA_OLD_VER): Undefine and redefine.
6317         (lgammal): Do not define here.
6318         (gammal): Only define here if [GAMMA_ALIAS].
6319         * conform/linknamespace.pl (@whitelist): Remove signgam.
6320         * sysdeps/nacl/libm.abilist: Update.
6321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6322         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6323         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6324         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6327         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6328         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6329         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6330         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6331         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6336         Likewise.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6338         Likewise.
6339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6340         Likewise.
6341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6343         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6344         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6345         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6347         Likewise.
6348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6351         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6354 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6356         [BZ #16364]
6357         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6358         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6360 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6362         * sysdeps/s390/fpu/bits/mathinline.h:
6363         Use __asm__ [__volatile__] instead of asm [volatile].
6364         * sysdeps/s390/abort-instr.h: Likewise.
6365         * sysdeps/s390/atomic-machine.h: Likewise.
6366         * sysdeps/s390/bits/string.h: Likewise.
6367         * sysdeps/s390/dl-tls.h: Likewise.
6368         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6369         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6370         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6371         * sysdeps/s390/fpu/fesetround.c: Likewise.
6372         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6373         * sysdeps/s390/fpu/s_fma.c: Likewise.
6374         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6375         * sysdeps/s390/memusage.h: Likewise.
6376         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6377         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6378         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6379         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6380         * sysdeps/s390/nptl/tls.h: Likewise.
6381         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6382         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6383         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6384         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6385         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6386         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6387         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6388         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6389         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6390         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6391         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6392         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6393         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6394         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6395         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6396         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6397         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6398         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6399         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6402         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6403         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6405 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6406             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6408         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6409         Add lwarx hint, and use macro for acquire instruction.
6410         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6411         Likewise.
6412         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6413         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6414         update to use new atomic macros.
6416 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6418         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6419         (__lll_trylock_elision): Fix setting of adapt_count.
6420         * sysdeps/unix/sysv/linux/powerpc/htm.h
6421         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6422         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6423         (_ABORT_SYSCALL): Renumber, and clarify definition.
6424         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6426 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6428         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6429         after system headers to prevent MIN/MAX redefinition.  Define
6430         HAVE_ALLOCA to preserve builtin alloca usage.
6432 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6434         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6435         static and don't set or restore rounding.
6436         (__cos)[IN_SINCOS]: Likewise.
6437         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6438         (__sincos): Set and restore rounding mode.  Remove check for infinite
6439         or NaN input.
6441         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6443         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6444         as used.
6446 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6448         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6450 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6452         * config.make.in (have-glob-dat-reloc): New.
6453         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6454         target supports GLOB_DAT relocaton. AC_SUBST.
6455         * configure: Regenerated.
6456         * elf/Makefile (tests): Add tst-prelink.
6457         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6458         (tst-prelink-ENV): New.
6459         ($(objpfx)tst-prelink-conflict.out): Likewise.
6460         ($(objpfx)tst-prelink-cmp.out): Likewise.
6461         * sysdeps/x86/tst-prelink.c: Moved to ...
6462         * elf/tst-prelink.c: Here.
6463         * sysdeps/x86/tst-prelink.exp: Moved to ...
6464         * elf/tst-prelink.exp: Here.
6465         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6466         (tst-prelink-ENV): Removed.
6467         ($(objpfx)tst-prelink-conflict.out): Likewise.
6468         ($(objpfx)tst-prelink-cmp.out): Likewise.
6469         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6471 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6473         [BZ #14551]
6474         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6475         (__mpn_construct_long_double): If high part overflows to infinity,
6476         set errno and recompute overflowed result of the correct sign.
6477         * sysdeps/ieee754/ldbl-128ibm/Makefile
6478         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6479         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6480         $(libm).
6481         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6483 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6485         [BZ #15479]
6486         [BZ #19238]
6487         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6488         floating-point state after first operation on input.  Restore full
6489         state rather than just rounding mode.
6490         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6491         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6492         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6494         [BZ #19235]
6495         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6496         add 0.5 to integer arguments.
6497         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6498         Likewise.
6499         (.LC2): New object.
6501 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6503         * scripts/pylintrc (reports): Set to no.
6505 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6507         * elf/dl-load.c (open_verify): Take new argument FD.
6508         Skip __open call if passed FD is not -1.
6509         (_dl_map_object, open_path): Update callers.
6510         * elf/dl-sysdep-open.h: New file.
6511         * elf/dl-load.c: Include it.
6512         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6513         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6514         * sysdeps/nacl/dl-sysdep-open.h: New file.
6515         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6516         from libc to rtld.
6518 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6520         [BZ #19228]
6521         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6522         and restore full floating-point state.
6523         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6524         Likewise.
6525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6526         Likewise.
6527         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6528         Likewise.
6529         * math/test-nearbyint-except-2.c: New file.
6530         * math/Makefile (tests): Add test-nearbyint-except-2.
6532 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6534         [BZ #19178]
6535         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6536         (tst-prelink-ENV): New.
6537         ($(objpfx)tst-prelink-conflict.out): Likewise.
6538         ($(objpfx)tst-prelink-cmp.out): Likewise.
6539         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6540         * sysdeps/x86/tst-prelink.c: New file.
6541         * sysdeps/x86/tst-prelink.exp: Likewise.
6543 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6545         * math/auto-libm-test-in: Add another test of pow.
6546         * math/auto-libm-test-out: Regenerated.
6547         * math/libm-test.inc (pow_test_data): Add another test.
6549 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6551         [BZ #19219]
6552         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6553         weak_alias to nearbyintl.
6555 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6557         * sysdeps/aarch64/bits/string.h: New file.
6558         (_STRING_ARCH_unaligned): Define.
6560 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6562         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6563         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6564         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6565         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6568 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6570         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6571         for original name of the DSO.  Add it to the name list of the DSO
6572         if it is actually given.
6573         (_dl_map_object): Keep track of whether an audit module rewrote
6574         the file name.  If yes, pass the original name to
6575         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6576         debugging is enabled, log the change of the file name.
6577         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6578         _dl_map_object_from_fd.
6579         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6580         * elf/tst-audit11.c: New file
6581         * elf/tst-auditmod11.c: New file.
6582         * elf/tst-audit11mod1.c: New file.
6583         * elf/tst-audit11mod2.c: New file.
6584         * elf/tst-audit11mod2.map: New file.
6585         * elf/tst-audit12.c: New file
6586         * elf/tst-auditmod12.c: New file.
6587         * elf/tst-audit12mod1.c: New file.
6588         * elf/tst-audit12mod2.c: New file.
6589         * elf/tst-audit12mod2.map: New file.
6590         * elf/tst-audit12mod3.c: New file.
6592 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6594         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6595         Don't create weak aliases,
6596         because versioned symbols are created later.
6597         * sysdeps/s390/s390-32/setjmp.S
6598         (setjmp, _setjmp): Remove weak and rename to an unique name
6599         in SHARED case due to existing versioned symbols.
6600         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6601         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6602         (getcontext): Create weak alias only in non SHARED case.
6603         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6605 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6607         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6608         (__ASSUME_*_SYSCALL) Define new macros.
6609         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6610         Remove socketcall syscalls.
6611         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6612         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6613         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6614         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6615         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6616         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6618 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6620         [BZ #12926]
6621         Terminate process on invalid netlink response.
6622         * sysdeps/unix/sysv/linux/netlinkaccess.h
6623         (__netlink_assert_response): Declare.
6624         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6625         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6626         (sysdep_routines): Add netlink_assert_response.
6627         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6628         __netlink_assert_response.
6629         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6630         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6631         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6632         __netlink_assert_response.
6634 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6636         [BZ #19178]
6637         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6638         (RTYPE_CLASS_PLT): Likewise.
6639         (RTYPE_CLASS_COPY): Likewise.
6640         (RTYPE_CLASS_TLS): Likewise.
6641         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6642         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6643         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6644         DL_DEBUG_PRELINK.
6646 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6648         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6649         calls with argument -0.5.
6650         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6652         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6653         (libc_cv_z_nodlopen): Likewise.
6654         (libc_cv_z_initfirst): Likewise.
6655         * configure: Regenerated.
6657 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6659         Simplify abilist format to be line-based.
6660         * scripts/abilist.awk: Collect descriptors in the descs variable.
6661         (emit): Write descs variable and sort it
6662         externally, with sort.
6663         * sysdeps/**/*.abilist: Convert to new format.
6665 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6667         [BZ #11460]
6668         * io/Makefile (routines): Add fts64.
6669         (tests): Add tst-fts and tst-fts-lfs.
6670         (CFLAGS-fts64.c): New.
6671         * io/Versions (GLIBC_2.23): New.
6672         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6673         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6674         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6675         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6676         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6677         (FTSENT64): Likewise.
6678         (fts64_children): Likewise.
6679         (fts64_close): Likewise.
6680         (fts64_open): Likewise.
6681         (fts64_read): Likewise.
6682         (fts64_set): Likewise.
6683         * io/fts64.c: New file.
6684         * io/tst-fts.c: New test.
6685         * io/tst-fts-lfs.c: Likewise.
6686         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6687         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6688         fts64_set.
6689         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6703         Likewise.
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6705         Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6715         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6716         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6717         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6718         * sysdeps/wordsize-64/fts.c: New file.
6719         * sysdeps/wordsize-64/fts64.c: Likewise.
6720         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6721         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6722         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6723         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6725 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6727         * math/libm-test.inc (NON_FINITE): New macro.
6728         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6729         * math/gen-libm-test.pl (show_exceptions): Add argument
6730         $non_finite.
6731         (parse_args): Update call to show_exceptions.
6732         * math/test-math-finite.h: New file.
6733         * math/test-math-no-finite.h: Likewise.
6734         * math/test-double-finite.c: Likewise.
6735         * math/test-float-finite.c: Likewise.
6736         * math/test-ldouble-finite.c: Likewise.
6737         * math/test-double.c: Include "test-math-no-finite.h".
6738         * math/test-float.c: Include "test-math-no-finite.h".
6739         * math/test-ldouble.c: Include "test-math-no-finite.h".
6740         * math/test-math-inline.h (TEST_FINITE): New macro.
6741         * math/test-math-vector.h (TEST_FINITE): Likewise.
6742         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6743         (libm-tests): Add test-float-finite and test-double-finite.
6744         ($(objpfx)test-float-finite.o): New dependency on
6745         $(objpfx)libm-test.stmp.
6746         ($(objpfx)test-double-finite.o): Likewise.
6747         ($(objpfx)test-ldouble-finite.o): Likewise.
6748         (libm-test-no-inline-cflags): New variable.
6749         (libm-test-finite-cflags): Likewise.
6750         (CFLAGS-test-float-finite.c): Likewise.
6751         (CFLAGS-test-double-finite.c): Likewise.
6752         (CFLAGS-test-ldouble-finite.c): Likewise.
6753         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6754         (CFLAGS-test-double.c): Likewise.
6755         (CFLAGS-test-ldouble.c): Likewise.
6757 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6759         * io/fcntl.c (__fcntl): Add ... to prototype.
6760         * misc/ioctl.c (__ioctl): Likewise.
6761         * misc/syscall.c (syscall): Likewise.
6763 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6765         * scripts/list-fixed-bugs.py: New file.
6767         [BZ #19213]
6768         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6769         returned for argument 1.
6770         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6771         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6772         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6773         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6774         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6775         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6777         [BZ #19211]
6778         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6779         __USE_XOPEN], not if [!__USE_ISOC99].
6780         (lgammaf): Likewise.
6781         (lgammal): Likewise.
6782         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6783         (gammaf): Likewise.
6784         (gammal): Likewise.
6785         * math/test-signgam-finite-c11.c: New file.
6786         * math/test-signgam-finite-c99.c: Likewise.
6787         * math/test-signgam-finite.c: Likewise.
6788         * math/Makefile (tests): Add test-signgam-finite,
6789         test-signgam-finite-c99 and test-signgam-finite-c11.
6790         (CFLAGS-test-signgam-finite.c): New variable.
6791         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6792         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6794         [BZ #19212]
6795         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6796         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6797         500].
6798         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6799         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6800         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6801         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6802         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6803         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6804         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6805         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6806         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6807         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6809         [BZ #19209]
6810         * math/bits/math-finite.h (ldexp): Remove declaration.
6811         (ldexpf): Likewise.
6812         (ldexpl): Likewise.
6814         [BZ #19205]
6815         * math/bits/math-finite.h (acosf): Condition declaration on
6816         [__USE_ISOC99].
6817         (acosl): Likewise.
6818         (acoshf): Likewise.
6819         (acoshl): Likewise.
6820         (asinf): Likewise.
6821         (asinl): Likewise.
6822         (atan2f): Likewise.
6823         (atan2l): Likewise.
6824         (atanhf): Likewise.
6825         (atanhl): Likewise.
6826         (coshf): Likewise.
6827         (coshl): Likewise.
6828         (expf): Likewise.
6829         (expl): Likewise.
6830         (fmodf): Likewise.
6831         (fmodl): Likewise.
6832         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6833         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6834         (j0l): Likewise.
6835         (y0f): Likewise.
6836         (y0l): Likewise.
6837         (j1f): Likewise.
6838         (j1l): Likewise.
6839         (y1f): Likewise.
6840         (y1l): Likewise.
6841         (jnf): Likewise.
6842         (jnl): Likewise.
6843         (ynf): Likewise.
6844         (ynl): Likewise.
6845         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6846         (lgammal_r): Likewise.
6847         (__lgamma_r_finite): New declaration.
6848         (__lgammaf_r_finite): Likewise.
6849         (__lgammal_r_finite): Likewise.
6850         (lgamma): Use __lgamma_r_finite.
6851         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6852         __lgammaf_r_finite.
6853         (lgammal): Condition definition on [__USE_ISOC99].  Use
6854         __lgammal_r_finite.
6855         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6856         __lgamma_r_finite.
6857         (gammaf): Condition definition on [__USE_ISOC99].  Use
6858         __lgammaf_r_finite.
6859         (gammal): Condition definition on [__USE_ISOC99].  Use
6860         __lgammal_r_finite.
6861         (logf): Condition declaration on [__USE_ISOC99].
6862         (logl): Likewise.
6863         (log10f): Likewise.
6864         (log10l): Likewise.
6865         (ldexpf): Likewise.
6866         (ldexpl): Likewise.
6867         (powf): Likewise.
6868         (powl): Likewise.
6869         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6870         __USE_ISOC99].
6871         (remainderf): Condition declaration on [__USE_ISOC99].
6872         (remainderl): Likewise.
6873         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6874         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6875         (scalbl): Likewise.
6876         (sinhf): Condition declaration on [__USE_ISOC99].
6877         (sinhl): Likewise.
6878         (sqrtf): Likewise.
6879         (sqrtl): Likewise.
6881 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6883         * sysdeps/arm/atomic-machine.h
6884         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6885         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6886         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6887         Remove conditional code.
6888         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6889         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6890         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6891         Change conditional to [__ASSEMBLER__].
6892         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6893         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6894         [!__ASSEMBLER__].
6895         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6896         code.
6897         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6898         conditional macro definitions.
6899         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6900         (__arch_compare_and_exchange_val_16_acq): Likewise.
6901         (__arch_compare_and_exchange_val_32_acq): Likewise.
6902         (atomic_exchange_and_add): Likewise.
6903         (atomic_add): Likewise.
6904         (atomic_add_negative): Likewise.
6905         (atomic_add_zero): Likewise.
6906         (atomic_bit_set): Likewise.
6907         (atomic_bit_test_set): Likewise.
6908         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6909         code unconditional.
6910         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6912         * math/test-math-errno.h: New file.
6913         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6914         empty.
6915         (TEST_ERRNO): New macro.
6916         (TEST_EXCEPTIONS): Likewise.
6917         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6918         (TEST_EXCEPTIONS): Likewise.
6919         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6920         * math/test-double.c: Include "test-math-errno.h".
6921         * math/test-float.c: Likewise.
6922         * math/test-ldouble.c: Likewise.
6923         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6924         code unconditional.
6925         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6926         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6927         unconditional.
6928         (test_errno): Only run code if TEST_ERRNO.
6929         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6931 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6933         * nptl/tst-once5.cc: Remove attribution.
6935 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6937         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6938         sqrt, tan, tanh, y0, y1 and yn.
6939         * math/auto-libm-test-out: Regenerated.
6940         * math/libm-test.inc (scalb_test_data): Add more tests.
6941         (scalbn_test_data): Likewise.
6942         (scalbln_test_data): Likewise.
6943         (signbit_test_data): Likewise.
6944         (sin_test_data): Likewise.
6945         (sincos_test_data): Likewise.
6946         (sinh_test_data): Likewise.
6947         (sqrt_test_data): Likewise.
6948         (tan_test_data): Likewise.
6949         (tanh_test_data): Likewise.
6950         (tgamma_test_data): Likewise.
6951         (y0_test_data): Likewise.
6952         (y1_test_data): Likewise.
6953         (yn_test_data): Likewise.
6954         (significand_test_data): Likewise.
6955         * sysdeps/i386/fpu/libm-test-ulps: Update.
6957 2015-11-03  David Kastrup  <dak@gnu.org>
6959         [BZ #18604]
6960         * assert/assert.h (assert): Don't macro-expand failed assertion
6961         expression in error message.
6962         * malloc/malloc.c (assert): Likewise.
6964 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6966         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6967         test.
6968         * configure: Regenerated.
6970 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6972         * math/libm-test.inc (modf_test_data): Add more tests.
6973         (nearbyint_test_data): Likewise.
6974         (nextafter_test_data): Likewise.
6975         (nexttoward_test_data): Likewise.
6976         (pow_test_data): Likewise.
6977         (remainder_test_data): Likewise.
6978         (remquo_test_data): Likewise.
6979         (rint_test_data): Likewise.
6981         [BZ #19201]
6982         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6983         Check for zero remainder in case of large exponents and ensure
6984         correct sign of result in that case.
6985         * math/libm-test.inc (remainder_test_data): Add more tests.
6987         [BZ #6799]
6988         * math/s_nextafter.c: Include <errno.h>.
6989         (__nextafter): Set errno on overflow and underflow.
6990         * math/s_nexttowardf.c: Include <errno.h>.
6991         (__nexttowardf): Set errno on overflow and underflow.
6992         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6993         (__nextafterl): Set errno on overflow and underflow.
6994         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6995         (__nexttoward): Set errno on overflow and underflow.
6996         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6997         (__nexttowardf): Set errno on overflow and underflow.
6998         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6999         (__nextafterf): Set errno on overflow and underflow.
7000         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7001         (__nextafterl): Set errno on overflow and underflow.
7002         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7003         (__nexttoward): Set errno on overflow and underflow.
7004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7005         (__nexttowardf): Set errno on overflow and underflow.
7006         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7007         (__nextafterl): Set errno on overflow and underflow.
7008         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7009         (__nexttoward): Set errno on overflow and underflow.
7010         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7011         (__nexttowardf): Set errno on overflow and underflow.
7012         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7013         (__nexttoward): Set errno on overflow and underflow.
7014         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7015         (__nexttowardf): Set errno on overflow and underflow.
7016         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7017         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7018         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7019         (__nextafterl): Set errno on overflow and underflow.
7020         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7021         setting to be missing on overflow.  Add more tests.
7022         (nexttoward_test_data): Likewise.
7024         * configure.ac (libc_cv_initfini_array): Remove configure test.
7025         * configure: Regenerated.
7027 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7029         [BZ #19189]
7030         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7031         non-finite argument handle arguments with negative sign.
7033         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7034         result from infinite argument.
7035         (j1_test_data): Likewise.
7036         (jn_test_data): Likewise.
7037         (y0_test_data): Likewise.
7038         (y1_test_data): Likewise.
7039         (yn_test_data): Likewise.
7041         [BZ #16171]
7042         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7043         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7044         * math/w_remainderf.c (dremf): Define as weak alias of
7045         __remainderf.
7046         * math/w_remainderl.c (dreml): Define as weak alias of
7047         __remainderl.
7048         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7049         __remainder.
7050         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7051         __remainderf.
7052         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7053         __remainderl.
7054         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7055         weak alias of remainderl.
7056         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7057         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7058         alias of __remainder.
7059         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7060         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7061         strong alias of __remainderl.
7062         (dreml): Use long_double_symbol.
7063         * math/Makefile (libm-calls): Remove w_drem.
7064         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7065         (CFLAGS-nldbl-drem.c): Remove variable.
7066         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7067         * math/w_drem.c: Remove file.
7068         * math/w_dremf.c: Likewise.
7069         * math/w_dreml.c: Likewise.
7070         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7071         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7072         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7074         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7075         * sysdeps/i386/configure: Regenerated.
7076         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7077         * sysdeps/x86_64/configure: Regenerated.
7079         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7080         test.
7081         (libc_cv_visibility_attribute): Likewise.
7082         (libc_cv_protected_data): Test unconditionally.
7083         (libc_cv_broken_visibility_attribute): Remove configure test.
7084         (libc_cv_have_sdata_section): Test unconditionally.
7085         * configure: Regenerated.
7087         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7088         * include/scratch_buffer.h: Include <stddef.h> instead of
7089         <libc-internal.h>.
7090         (struct scratch_buffer): Use max_align_t instead of
7091         libc_max_align_t.
7093 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7095         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7096         instead of extend_alloca.  Change control flow to avoid a goto.
7097         Remove assert which is trivially always true.
7099 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7101         [BZ #16068]
7102         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7103         (FE_ALL_EXCEPT_X86): New macro.
7104         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7105         FE_ALL_EXCEPT.  Ensure precision control is included in
7106         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7107         handle "denormal operand exception" and clear FZ and DAZ bits.
7108         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7109         (FE_ALL_EXCEPT_X86): New macro.
7110         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7111         FE_ALL_EXCEPT.  Ensure precision control is included in
7112         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7113         handle "denormal operand exception" and clear FZ and DAZ bits.
7114         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7115         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7116         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7117         test-fenv-x87 and test-fenv-sse-2.
7118         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7120         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7121         * math/test-double.h (BUILD_COMPLEX): New macro.
7122         * math/test-float.h (BUILD_COMPLEX): Likewise.
7123         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7125         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7126         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7127         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7129         instead of DBL_DENORM_MIN in comment.
7130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7131         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7133         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7135         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7137 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7139         [BZ# 19048]
7140         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7141         attached_threads member.
7142         (main_arena): Initialize attached_threads.
7143         * malloc/arena.c (list_lock): Update comment.
7144         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7145         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7146         (deattach_arena): New function.
7147         (_int_new_arena): Initialize arena reference count and deattach
7148         replaced arena.
7149         (get_free_list, reused_arena): Update reference count and deattach
7150         replaced arena.
7151         (arena_thread_freeres): Update arena reference count and only put
7152         unreferenced arenas on the free list.
7154 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7156         [BZ #19181]
7157         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7158         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7159         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7160         * math/test-fenv-clear-main.c: New file.
7161         * math/test-fenv-clear.c: Likewise.
7162         * math/Makefile (tests): Add test-fenv-clear.
7163         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7164         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7165         test-fenv-clear-sse.
7166         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7168         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7169         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7170         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7172 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7174         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7175         static libc.
7177 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7179         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7180         test.
7181         * sysdeps/i386/configure: Regenerated.
7182         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7183         test.
7184         * sysdeps/x86_64/configure: Regenerated.
7185         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7187         memset-avx2 unconditionally instead of conditionally on
7188         [$(config-cflags-avx2) = yes].
7189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7190         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7191         unconditional.
7192         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7193         * sysdeps/x86_64/multiarch/memset_chk.S
7194         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7195         to [IS_IN (libc) && SHARED].
7197 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7199         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7200         configure test.
7201         * sysdeps/arm/configure: Regenerated.
7202         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7203         Define variable if not already defined.
7205         [BZ #17404]
7206         * sysdeps/mips/atomic-machine.h
7207         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7208         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7209         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7211         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7212         unconditional.
7213         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7214         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7215         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7216         unconditional.
7217         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7218         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7219         unconditional.
7220         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7221         * stdlib/setenv.c
7222         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7223         code unconditional.
7224         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7225         Remove conditional code.
7226         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7227         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7228         unconditional.
7229         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7230         code.
7231         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7232         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7233         unconditional.
7234         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7235         code.
7236         * sysdeps/ieee754/ldbl-128/k_tanl.c
7237         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7238         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7240         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7241         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7242         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7243         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7244         unconditional.
7245         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7246         code.
7247         * sysdeps/ieee754/ldbl-96/k_tanl.c
7248         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7249         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7251         * nptl/tst-initializers1-c11.c: New file.
7252         * nptl/tst-initializers1-gnu11.c: Likewise.
7253         * nptl/Makefile (tests): Add these new tests.
7254         (CFLAGS-tst-initializers1-c11.c): New variable.
7255         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7257         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7258         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7259         instead of -std=gnu99.
7260         * configure.ac (systemtap): Test with -std=gnu11 instead of
7261         -std=gnu99.
7262         * configure: Regenerated.
7263         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7264         in compilation command in comment.
7266         * sysdeps/nptl/configure.ac: Remove file.
7267         * sysdeps/nptl/configure: Remove generated file.
7268         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7269         * configure: Regenerated.
7270         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7271         * config.make.in (have-forced-unwind): Remove variable.
7272         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7273         unconditional.
7274         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7275         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7276         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7277         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7278         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7279         unconditional.
7281 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7283         [BZ #19174]
7284         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7285         .skip_lock_out_of_tbegin_retries.
7286         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7287         (__lll_lock_elision): Likewise, and respect a value of
7288         try_tbegin <= 0.
7290 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7292         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7293         statement.
7295 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7297         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7298         variable.
7299         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7300         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7302         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7303         of -std=c1x -D_ISOC11_SOURCE.
7305         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7306         * configure: Regenerated.
7307         * manual/install.texi (Tools for Compilation): Document
7308         requirement for GCC 4.7 or later.
7309         * INSTALL: Regenerated.
7311 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7313         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7314         on CNT to a conditional jump to 'puntdata'.
7316 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7318         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7319         (libc_cv_gcc_tls_model_attr): Likewise.
7320         * configure: Regenerated.
7322         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7323         * configure: Regenerated.
7324         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7326 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7328         * configure.ac (old_glibc_headers): Remove configure test.
7329         * configure: Regenerated.
7330         * config.make.in (old-glibc-headers): Remove variable.
7331         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7332         (install): Remove dependency on remove-old-headers.
7333         (headers2_0): Remove variable.
7334         (remove-old-headers): Remove rule.
7336         * configure.ac (libc_cv_dot_text): Remove configure test.
7337         (libc_cv_asm_set_directive): Use .text instead of
7338         ${libc_cv_dot_text} in configure test.
7339         * configure: Regenerated.
7341 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7343         [BZ #19168]
7344         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7346 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7348         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7349         not support static linking.
7350         * configure: Regenerate.
7352 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7354         * math/libm-test.inc (check_float_internal): Do not special-case
7355         errors up to 0.5 ulp.
7357         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7358         log2.
7359         * math/auto-libm-test-out: Regenerated.
7360         * math/libm-test.inc (MAX_EXP): New macro.
7361         (ilogb_test_data): Add more tests.
7362         (isfinite_test_data): Likewise.
7363         (isgreater_test_data): Likewise.
7364         (isgreaterequal_test_data): Likewise.
7365         (isinf_test_data): Likewise.
7366         (isless_test_data): Likewise.
7367         (islessequal_test_data): Likewise.
7368         (islessgreater_test_data): Likewise.
7369         (isnan_test_data): Likewise.
7370         (isnormal_test_data): Likewise.
7371         (issignaling_test_data): Likewise.
7372         (isunordered_test_data): Likewise.
7373         (j0_test_data): Likewise.
7374         (j1_test_data): Likewise.
7375         (jn_test_data): Likewise.
7376         (lgamma_test_data): Likewise.
7377         (log_test_data): Likewise.
7378         (log10_test_data): Likewise.
7379         (log1p_test_data): Likewise.
7380         (log2_test_data): Likewise.
7381         (logb_test_data): Likewise.
7382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7384         [BZ #18611]
7385         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7386         avoid excess range and precision on underflow.
7387         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7388         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7389         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7391         underflow.
7392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7394         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7395         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7396         * math/auto-libm-test-in: Do not allow missing errno setting for
7397         tests of j1 and jn.
7398         * math/auto-libm-test-out: Regenerated.
7400 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7402         [BZ #15491]
7403         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7404         floating-point environment instead of clearing all exceptions.
7405         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7406         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7407         merging in "invalid" exceptions from frndint.
7408         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7409         * math/test-nearbyint-except.c: New file.
7410         * math/Makefile (tests): Add test-nearbyint-except.
7412 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7414         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7416         * sysdeps/tile/libm-test-ulps: Regenerated.
7418 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7421         (__NR_sync_file_range2): Assume it is always defined.
7422         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7423         (__NR_sync_file_range): Assume it is always defined.
7425 2015-10-22  Andreas Schwab  <schwab@suse.de>
7427         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7428         INTERNAL_SYSCALL_ERRNO.
7429         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7430         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7431         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7432         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7433         Likewise.
7434         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7436 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7438         * io/tst-fcntl.c (fd): New static variable.
7439         (do_prepare): Open temporary file here....
7440         (do_test): ...not here.
7442         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7444 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7446         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7447         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7448         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7449         Moved before "#ifdef __ASSEMBLER__".
7451 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #19156]
7454         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7455         arguments very close to 0.
7457 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7459         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7460         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7462 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7464         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7465         New.  Defined for GCC 5 and above when not compiling for
7466         profiling.
7467         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7469         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7470         Renamed to ...
7471         (CFLAGS-epoll_pwait.o): This.
7472         (CFLAGS-mmap.c): Renamed to ...
7473         (CFLAGS-mmap.o): This.
7474         (CFLAGS-mmap64.c): Renamed to ...
7475         (CFLAGS-mmap64.o): This.
7476         (CFLAGS-epoll_pwait.os): New.
7477         (CFLAGS-mmap.os): Likewise.
7478         (CFLAGS-mmap64.os): Likewise.
7479         (CFLAGS-semtimedop.os): Likewise.
7480         (CFLAGS-semtimedop.c): Renamed to ...
7481         (CFLAGS-semtimedop.o): This.
7483 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7485         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7486         warning message.
7488 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7490         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7491         * Makefile ($(objpfx)c++-types-check.out): Filter out
7492         $(+gccwarn-c) instead of -Wstrict-prototypes.
7494         * io/fts.c (fts_open): Convert to prototype-style function
7495         definition.
7496         * malloc/mcheck.c (mcheck): Likewise.
7497         (mcheck_pedantic): Likewise.
7498         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7499         internal_function.
7500         (re_search_internal): Likewise.
7501         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7502         prototype-style function definition.
7503         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7504         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7505         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7506         (xdr_utmpptr): Likewise.
7507         (xdr_utmparr): Likewise.
7508         (xdr_utmpidle): Likewise.
7509         (xdr_utmpidleptr): Likewise.
7510         (xdr_utmpidlearr): Likewise.
7512         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7513         log, log10 and log2.
7514         * math/auto-libm-test-out: Regenerated.
7515         * math/libm-test.inc (fmod_test_data): Add more tests.
7516         (fpclassify_test_data): Likewise.
7517         (frexp_test_data): Likewise.
7518         (hypot_test_data): Likewise.
7519         (ilogb_test_data): Likewise.
7521 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7523         * debug/fortify_fail.c (__fortify_fail): Convert to
7524         prototype-style function definition.  Use internal_function.
7525         * libio/genops.c (save_for_backup): Convert to prototype-style
7526         function definition.
7527         * libio/wgenops.c (save_for_wbackup): Likewise.
7528         * login/grantpt.c (grantpt): Likewise.
7529         * login/ptsname.c (ptsname): Likewise.
7530         (__ptsname_r): Likewise.
7531         * login/unlockpt.c (unlockpt): Likewise.
7532         * mach/msgserver.c (__mach_msg_server): Likewise.
7533         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7534         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7535         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7536         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7537         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7538         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7539         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7540         Likewise.
7541         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7542         internal_function.
7543         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7544         prototype-style function definition.
7545         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7546         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7547         (__pthread_create_2_0): Likewise.
7548         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7549         * nptl/register-atfork.c (__register_atfork): Likewise.
7550         * posix/glob.c (glob): Likewise.
7551         * posix/regcomp.c (re_comp): Likewise.
7552         * posix/regexec.c (re_exec): Likewise.
7553         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7554         [!__STDC__]: Remove conditional code.
7555         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7556         [!__STDC__]: Remove conditional code.
7557         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7558         [!__STDC__]: Remove conditional code.
7559         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7560         [!__STDC__]: Remove conditional code.
7561         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7562         [!__STDC__]: Remove conditional code.
7563         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7564         [!__STDC__]: Remove conditional code.
7565         * stdlib/mul.c [__STDC__]: Make code unconditional.
7566         [!__STDC__]: Remove conditional code.
7567         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7568         [!__STDC__]: Remove conditional code.
7569         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7570         [!__STDC__]: Remove conditional code.
7571         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7572         function definition.
7573         (STRTOF): Likewise.
7574         * stdlib/strtod_l.c (__STRTOF): Likewise.
7575         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7576         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7577         (__strtol_l): Likewise.
7578         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7579         [!__STDC__]: Remove conditional code.
7580         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7581         definition.
7582         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7583         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7584         type.
7585         (__strcasecmp): Convert to prototype-style function definition.
7586         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7587         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7588         type.
7589         (__strncasecmp): Convert to prototype-style function definition.
7590         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7591         * sunrpc/xdr.c (xdr_union): Likewise.
7592         * sunrpc/xdr_array.c (xdr_array): Likewise.
7593         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7594         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7595         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7596         Likewise.
7597         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7598         Likewise.
7599         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7600         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7601         Likewise.
7602         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7603         (LOCALE_PARAM_PROTO): Likewise.
7604         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7605         argument type.
7606         (ut_argument_spec): Remove macro.
7607         (ut_argument_spec_iso): Rename to ut_argument_spec.
7608         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7609         prototype-style function definition.
7610         (memcpy_uppcase): Likewise.
7611         (__strftime_internal): Likewise.
7612         (my_strftime): Likewise.
7613         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7614         (LOCALE_PARAM_DECL): Likewise.
7615         [_LIBC] (LOCALE_PARAM): Include argument type.
7616         (__strptime_internal): Convert to prototype-style function
7617         definition.
7618         (strptime): Likewise.
7619         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7620         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7621         type.
7622         (__wcscasecmp): Convert to prototype-style function definition.
7623         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7624         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7625         type.
7626         (__wcsncasecmp): Convert to prototype-style function definition.
7628         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7629         function definition.
7630         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7631         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7632         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7633         * elf/dl-minimal.c (_itoa): Likewise.
7634         * hurd/hurdmalloc.c (malloc): Likewise.
7635         (free): Likewise.
7636         (realloc): Likewise.
7637         * inet/inet6_option.c (inet6_option_space): Likewise.
7638         (inet6_option_init): Likewise.
7639         (inet6_option_append): Likewise.
7640         (inet6_option_alloc): Likewise.
7641         (inet6_option_next): Likewise.
7642         (inet6_option_find): Likewise.
7643         * io/ftw.c (FTW_NAME): Likewise.
7644         (NFTW_NAME): Likewise.
7645         (NFTW_NEW_NAME): Likewise.
7646         (NFTW_OLD_NAME): Likewise.
7647         * libio/iofwide.c (_IO_fwide): Likewise.
7648         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7649         (_IO_str_init_static): Likewise.
7650         (_IO_str_init_readonly): Likewise.
7651         (_IO_str_overflow): Likewise.
7652         (_IO_str_underflow): Likewise.
7653         (_IO_str_count): Likewise.
7654         (_IO_str_seekoff): Likewise.
7655         (_IO_str_pbackfail): Likewise.
7656         (_IO_str_finish): Likewise.
7657         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7658         (_IO_wstr_overflow): Likewise.
7659         (_IO_wstr_underflow): Likewise.
7660         (_IO_wstr_count): Likewise.
7661         (_IO_wstr_seekoff): Likewise.
7662         (_IO_wstr_pbackfail): Likewise.
7663         (_IO_wstr_finish): Likewise.
7664         * locale/programs/localedef.c (normalize_codeset): Likewise.
7665         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7666         (add_locales_to_archive): Likewise.
7667         (delete_locales_from_archive): Likewise.
7668         * malloc/malloc.c (__libc_mallinfo): Likewise.
7669         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7670         * misc/tsearch.c (__tfind): Likewise.
7671         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7672         * nptl/pthread_attr_getdetachstate.c
7673         (__pthread_attr_getdetachstate): Likewise.
7674         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7675         Likewise.
7676         * nptl/pthread_attr_getinheritsched.c
7677         (__pthread_attr_getinheritsched): Likewise.
7678         * nptl/pthread_attr_getschedparam.c
7679         (__pthread_attr_getschedparam): Likewise.
7680         * nptl/pthread_attr_getschedpolicy.c
7681         (__pthread_attr_getschedpolicy): Likewise.
7682         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7683         Likewise.
7684         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7685         Likewise.
7686         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7687         Likewise.
7688         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7689         Likewise.
7690         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7691         (__pthread_attr_init_2_0): Likewise.
7692         * nptl/pthread_attr_setdetachstate.c
7693         (__pthread_attr_setdetachstate): Likewise.
7694         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7695         Likewise.
7696         * nptl/pthread_attr_setinheritsched.c
7697         (__pthread_attr_setinheritsched): Likewise.
7698         * nptl/pthread_attr_setschedparam.c
7699         (__pthread_attr_setschedparam): Likewise.
7700         * nptl/pthread_attr_setschedpolicy.c
7701         (__pthread_attr_setschedpolicy): Likewise.
7702         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7703         Likewise.
7704         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7705         Likewise.
7706         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7707         Likewise.
7708         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7709         Likewise.
7710         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7711         Likewise.
7712         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7713         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7714         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7715         use internal_function.
7716         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7717         prototype-style function definition.
7718         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7719         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7720         internal_function.
7721         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7722         Convert to prototype-style function definition.
7723         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7724         Likewise.
7725         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7726         Likewise.
7727         (__pthread_mutex_unlock): Likewise.
7728         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7729         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7730         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7731         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7732         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7733         * nss/makedb.c (process_input): Likewise.
7734         * posix/fnmatch.c (__strchrnul): Likewise.
7735         (__wcschrnul): Likewise.
7736         (fnmatch): Likewise.
7737         * posix/fnmatch_loop.c (FCT): Likewise.
7738         * posix/glob.c (globfree): Likewise.
7739         (__glob_pattern_type): Likewise.
7740         (__glob_pattern_p): Likewise.
7741         * posix/regcomp.c (re_compile_pattern): Likewise.
7742         (re_set_syntax): Likewise.
7743         (re_compile_fastmap): Likewise.
7744         (regcomp): Likewise.
7745         (regerror): Likewise.
7746         (regfree): Likewise.
7747         * posix/regexec.c (regexec): Likewise.
7748         (re_match): Likewise.
7749         (re_search): Likewise.
7750         (re_match_2): Likewise.
7751         (re_search_2): Likewise.
7752         (re_search_stub): Likewise.  Use internal_function
7753         (re_copy_regs): Likewise.
7754         (re_set_registers): Convert to prototype-style function
7755         definition.
7756         (prune_impossible_nodes): Likewise.  Use internal_function.
7757         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7758         prototype-style function definition.
7759         (inet_net_pton_ipv4): Likewise.
7760         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7761         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7762         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7763         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7764         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7765         Make variadic.
7766         * time/strptime_l.c (localtime_r): Convert to prototype-style
7767         function definition.
7768         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7769         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7770         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7771         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7773         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7774         definition.
7775         (_ufc_doit_r): Likewise.
7776         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7777         (_ufc_output_conversion_r): Likewise.
7778         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7779         * inet/rcmd.c (rcmd_af): Likewise.
7780         (rcmd): Likewise.
7781         (ruserok_af): Likewise.
7782         (ruserok): Likewise.
7783         (ruserok2_sa): Likewise.
7784         (ruserok_sa): Likewise.
7785         (iruserok_af): Likewise.
7786         (iruserok): Likewise.
7787         (__ivaliduser): Likewise.
7788         (__validuser2_sa): Likewise.
7789         * inet/rexec.c (rexec_af): Likewise.
7790         (rexec): Likewise.
7791         * inet/ruserpass.c (ruserpass): Likewise.
7792         * locale/programs/xmalloc.c (xcalloc): Likewise.
7793         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7794         * math/w_drem.c (__drem): Likewise.
7795         * math/w_dremf.c (__dremf): Likewise.
7796         * math/w_dreml.c (__dreml): Likewise.
7797         * misc/daemon.c (daemon): Likewise.
7798         * resolv/res_debug.c (p_fqnname): Likewise.
7799         * stdlib/div.c (div): Likewise.
7800         * string/memcmp.c (memcmp_bytes): Likewise.
7801         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7802         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7804         * crypt/cert.c (main): Convert to prototype-style function
7805         definition.
7806         * io/pipe.c (__pipe): Likewise.
7807         * io/pipe2.c (__pipe2): Likewise.
7808         * misc/futimesat.c (futimesat): Likewise.
7809         * misc/utimes.c (__utimes): Likewise.
7810         * posix/execve.c (__execve): Likewise.
7811         * posix/execvp.c (execvp): Likewise.
7812         * posix/execvpe.c (__execvpe): Likewise.
7813         * posix/fexecve.c (fexecve): Likewise.
7814         * socket/socketpair.c (socketpair): Likewise.
7815         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7816         * stdlib/erand48.c (erand48): Likewise.
7817         * stdlib/erand48_r.c (__erand48_r): Likewise.
7818         * stdlib/jrand48.c (jrand48): Likewise.
7819         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7820         * stdlib/lcong48.c (lcong48): Likewise.
7821         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7822         * stdlib/nrand48.c (nrand48): Likewise.
7823         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7824         * stdlib/seed48.c (seed48): Likewise.
7825         * stdlib/seed48_r.c (__seed48_r): Likewise.
7826         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7827         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7828         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7830 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7832         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7833         * configure: Regenerated.
7834         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7835         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7836         unconditional.
7837         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7838         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7839         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7840         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7841         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7842         unconditional.
7843         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7845         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7846         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7848         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7849         function definition.
7850         * crypt/crypt_util.c (__encrypt_r): Likewise.
7851         * libio/genops.c (_IO_no_init): Likewise.
7852         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7853         (_IO_old_fopencookie): Likewise.
7854         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7855         * libio/iogetline.c (_IO_getline): Likewise.
7856         (_IO_getline_info): Likewise.
7857         * libio/iogetwline.c (_IO_getwline): Likewise.
7858         (_IO_getwline_info): Likewise.
7859         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7860         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7861         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7862         (find_entry): Likewise.
7863         (iterate_table): Likewise.
7864         (lookup): Likewise.
7865         * login/forkpty.c (forkpty): Likewise.
7866         * misc/hsearch_r.c (__hsearch_r): Likewise.
7867         * misc/select.c (__select): Likewise.
7868         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7869         Likewise.
7870         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7871         Likewise.
7872         * nptl/old_pthread_cond_timedwait.c
7873         (__pthread_cond_timedwait_2_0): Likewise.
7874         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7875         * nptl/pthread_barrierattr_getpshared.c
7876         (pthread_barrierattr_getpshared): Likewise.
7877         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7878         Likewise.
7879         * nptl/pthread_mutex_setprioceiling.c
7880         (pthread_mutex_setprioceiling): Likewise.
7881         * nptl/pthread_mutexattr_getprioceiling.c
7882         (pthread_mutexattr_getprioceiling): Likewise.
7883         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7884         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7885         Likewise.
7886         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7887         Likewise.
7888         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7889         Likewise.
7890         * socket/recvfrom.c (__recvfrom): Likewise.
7891         * socket/sendto.c (__sendto): Likewise.
7892         * socket/setsockopt.c (__setsockopt): Likewise.
7893         * stdio-common/_itoa.c (_itoa): Likewise.
7894         * stdio-common/_itowa.c (_itowa): Likewise.
7895         * stdio-common/reg-printf.c (__register_printf_specifier):
7896         Likewise.
7897         (__register_printf_function): Likewise.
7898         * stdio-common/tempname.c (__path_search): Likewise.
7899         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7900         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7901         * stdlib/random_r.c (__initstate_r): Likewise.
7902         * stdlib/setenv.c (__add_to_environ): Likewise.
7903         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7904         * streams/getpmsg.c (getpmsg): Likewise.
7905         * streams/putmsg.c (putmsg): Likewise.
7906         * streams/putpmsg.c (putpmsg): Likewise.
7907         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7908         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7909         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7910         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7911         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7912         * sunrpc/svc_udp.c (cache_get): Likewise.
7913         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7914         * sysdeps/mach/hurd/getcwd.c
7915         (__canonicalize_directory_name_internal): Likewise.
7916         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7917         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7918         * sysdeps/mach/hurd/select.c (__select): Likewise.
7919         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7920         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7921         * sysdeps/sparc/nptl/pthread_barrier_init.c
7922         (__pthread_barrier_init): Likewise.
7923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7924         (__pthread_cond_timedwait): Likewise.
7925         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7926         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7927         Likewise.
7928         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7929         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7930         Likewise.
7931         * sysvipc/semtimedop.c (semtimedop): Likewise.
7932         * time/setitimer.c (__setitimer): Likewise.
7933         * time/strftime_l.c (emacs_strftime): Likewise.
7935 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7937         * config.make.in (have-ssp): Delete.
7938         (stack-protector): New variable.
7939         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7940         cache test for -fstack-protector-strong.  Export stack_protector to
7941         the best ssp flag.
7942         * configure: Regenerated.
7943         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7944         * nscd/Makefile (CFLAGS-nscd): Likewise.
7945         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7947 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7949         [BZ #19122]
7950         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7951         attribute_hidden.
7953 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7955         [BZ #18743]
7956         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7957         code to...
7958         (ELIDE_LOCK): ...here.
7959         (__get_new_count): New function with part of the code from
7960         __elide_lock that updates the value of adapt_count after a
7961         transaction abort.
7962         (__elided_trylock): Moved this code to...
7963         (ELIDE_TRYLOCK): ...here.
7965 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7967         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7968         * configure: Regenerate.
7969         * INSTALL: Regenerate.
7970         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7971         and tweak grammar.
7973 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7975         * login/programs/pt_chown.c: Include signal.h
7976         (main): Clear any signal mask from the parent process.
7978 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7980         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7981         * configure: Regenerated.
7982         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7983         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7984         $(gnu89-inline-CFLAGS).
7986         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7987         test.
7988         (libc_cv_asm_weakext_directive): Likewise.
7989         * configure: Regenerated.
7990         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7991         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7992         * include/libc-symbols.h
7993         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7994         #error.
7995         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7996         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7998         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7999         prototype-style function definition.
8000         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8001         * sysdeps/i386/ffs.c (__ffs): Likewise.
8002         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8003         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8004         Likewise.
8005         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8006         Likewise.
8007         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8009         Likewise.
8010         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8011         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8012         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8013         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8014         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8015         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8016         * sysdeps/mach/hurd/access.c (__access): Likewise.
8017         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8018         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8019         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8020         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8021         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8022         (cthread_getspecific): Likewise.
8023         (cthread_setspecific): Likewise.
8024         (__libc_getspecific): Likewise.
8025         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8026         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8027         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8028         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8029         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8030         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8031         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8032         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8033         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8034         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8035         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8036         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8037         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8038         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8039         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8040         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8041         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8042         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8043         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8044         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8045         * sysdeps/mach/hurd/link.c (__link): Likewise.
8046         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8047         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8048         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8049         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8050         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8051         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8052         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8053         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8054         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8055         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8056         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8057         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8058         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8059         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8060         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8061         * sysdeps/mach/hurd/send.c (__send): Likewise.
8062         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8063         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8064         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8065         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8066         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8067         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8068         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8069         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8070         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8071         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8072         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8073         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8074         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8075         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8076         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8077         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8078         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8079         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8080         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8081         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8082         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8083         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8084         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8085         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8086         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8087         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8088         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8089         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8090         * sysdeps/posix/alarm.c (alarm): Likewise.
8091         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8092         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8093         * sysdeps/posix/dup.c (__dup): Likewise.
8094         * sysdeps/posix/dup2.c (__dup2): Likewise.
8095         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8096         (main): Likewise.
8097         * sysdeps/posix/flock.c (__flock): Likewise.
8098         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8099         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8100         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8101         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8102         * sysdeps/posix/isatty.c (__isatty): Likewise.
8103         * sysdeps/posix/killpg.c (killpg): Likewise.
8104         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8105         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8106         * sysdeps/posix/raise.c (raise): Likewise.
8107         * sysdeps/posix/remove.c (remove): Likewise.
8108         * sysdeps/posix/rename.c (rename): Likewise.
8109         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8110         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8111         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8112         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8113         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8114         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8115         * sysdeps/posix/sigset.c (sigset): Likewise.
8116         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8117         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8118         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8119         * sysdeps/posix/time.c (time): Likewise.
8120         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8121         (ttyname): Likewise.
8122         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8123         * sysdeps/posix/utime.c (utime): Likewise.
8124         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8125         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8126         Likewise.
8127         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8128         (pthread_spin_trylock): Likewise.
8129         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8130         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8131         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8132         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8133         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8134         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8135         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8136         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8137         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8138         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8139         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8140         * sysdeps/s390/ffs.c (__ffs): Likewise.
8141         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8142         Likewise.
8143         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8144         Likewise.
8145         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8146         Likewise.
8147         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8148         (pthread_barrier_destroy): Likewise.
8149         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8150         (__pthread_barrier_wait): Likewise.
8151         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8152         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8153         (__pthread_barrier_wait): Likewise.
8154         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8155         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8156         (memcmp_not_common_alignment): Likewise.
8157         (MEMCMP): Likewise.
8158         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8159         (_wordcopy_fwd_dest_aligned): Likewise.
8160         (_wordcopy_bwd_aligned): Likewise.
8161         (_wordcopy_bwd_dest_aligned): Likewise.
8162         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8163         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8164         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8165         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8166         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8167         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8168         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8169         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8170         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8171         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8172         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8173         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8174         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8175         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8176         * sysdeps/unix/stime.c (stime): Likewise.
8177         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8178         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8179         Likewise.  Use internal_function.
8180         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8181         Convert to prototype-style function definition.
8182         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8183         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8184         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8185         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8186         Likewise.  Use internal_function.
8187         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8188         prototype-style function definition
8189         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8190         Likewise.
8191         (__getlogin_r): Likewise.
8192         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8193         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8194         (__pthread_cond_broadcast): Likewise.
8195         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8196         (__pthread_cond_destroy): Likewise.
8197         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8198         (__pthread_cond_init): Likewise.
8199         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8200         (__pthread_cond_signal): Likewise.
8201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8202         (__pthread_cond_wait): Likewise.
8203         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8204         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8205         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8208         Likewise.
8209         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8210         Likewise.
8211         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8212         Likewise.
8213         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8215         (__ftruncate64): Likewise.
8216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8217         (truncate64): Likewise.
8218         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8219         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8220         (pthread_getcpuclockid): Likewise.
8221         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8222         Likewise.
8223         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8224         Likewise.
8225         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8226         Likewise.
8227         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8228         Likewise.
8229         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8230         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8231         (__libc_sigaction): Likewise.
8232         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8235         (__sigprocmask): Likewise.
8236         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8237         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8238         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8239         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8240         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8241         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8242         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8243         Likewise.
8244         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8245         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8246         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8247         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8249         Likewise.
8250         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8251         (__sigprocmask): Likewise.
8252         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8253         (cfgetispeed): Likewise.
8254         (cfsetospeed): Likewise.
8255         (cfsetispeed): Likewise.
8256         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8257         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8258         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8259         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8260         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8261         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8262         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8263         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8264         Likewise.
8265         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8266         Likewise.
8267         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8268         Likewise.
8269         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8270         Likewise.
8271         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8273 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8275         sunrpc: Rewrite with explicit TLS access using __thread.
8276         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8277         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8278         directly.
8279         (__rpc_thread_variables): Access thread_rpc_vars directly.
8280         Eliminate redundant assignment of the tvp variable.
8282 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8284         malloc: Rewrite with explicit TLS access using __thread.
8285         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8286         (tsd_setspecific, tsd_getspecific): Remove.
8287         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8288         (tsd_setspecific, tsd_getspecific): Likewise.
8289         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8290         (tsd_setspecific, tsd_getspecific): Likewise.
8291         * malloc/arena.c (thread_arena): New TLS variable.
8292         (arena_key): Remove variable.
8293         (arena_get): Use thread_arena.
8294         (arena_lookup): Remove macro.
8295         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8296         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8297         (_int_new_arena, get_free_list, reused_arena)
8298         (arena_thread_freeres): Use thread_arena.
8299         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8300         tsd_getspecific, tsd_setspecific from safety annotations.
8301         (Allocating Cleared Space): Remove arena_lookup from safety
8302         annotations.
8304 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8306         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8307         struct scratch_buffer instead of extend_alloca.
8309 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8311         * sysdeps/unix/sysv/linux/kernel-features.h
8312         (__ASSUME_SOCK_CLOEXEC): Remove.
8313         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8314         (__have_paccept): Remove unused macro.
8315         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8316         * misc/syslog.c (openlog_internal): Remove fallback code for
8317         !__ASSUME_SOCK_CLOEXEC.
8318         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8319         missing SOCK_CLOEXEC.
8320         * nscd/connections.c (have_sock_cloexec): Remove definition.
8321         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8322         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8323         !__ASSUME_SOCK_CLOEXEC.
8324         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8325         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8326         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8327         definition.
8328         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8329         code for !__ASSUME_SOCK_CLOEXEC.
8331 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8333         [BZ #18982]
8334         * manual/stdio.texi (Variable Arguments Output): Add portability
8335         note, explaining that vfprintf clobbers the va_list pointer.
8337 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8339         * math/libm-test.inc (fabs_test_data): Add more tests.
8340         (fdim_test_data): Likewise.
8341         (fma_test_data): Likewise.
8342         (fmax_test_data): Likewise.
8343         (fmin_test_data): Likewise.
8344         (fmod_test_data): Likewise.
8346 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8348         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8349         data.
8351 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8353         * math/libm-test.inc (ceil_test_data): Add more tests and more
8354         expectations for "inexact".
8355         (floor_test_data): Add more tests.
8356         (round_test_data): Likewise.
8357         (trunc_test_data): Likewise.
8359         * crypt/cert.c (good_bye): Convert to prototype-style function
8360         definition.
8361         (get8): Likewise.
8362         (put8): Likewise.
8363         * crypt/crypt-entry.c (crypt): Likewise.
8364         (__fcrypt): Likewise.
8365         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8366         (_ufc_set_bits): Likewise.
8367         (_ufc_clearmem): Likewise.
8368         (__init_des_r): Likewise.
8369         (shuffle_sb): Likewise.
8370         (shuffle_sb): Likewise.
8371         (_ufc_setup_salt_r): Likewise.
8372         (_ufc_mk_keytab_r): Likewise.
8373         (_ufc_dofinalperm_r): Likewise.
8374         (encrypt): Likewise.
8375         (__setkey_r): Likewise.
8376         (setkey): Likewise.
8377         * crypt/md5.c (md5_init_ctx): Likewise.
8378         (md5_read_ctx): Likewise.
8379         (md5_finish_ctx): Likewise.
8380         (md5_stream): Likewise.
8381         (md5_buffer): Likewise.
8382         (md5_process_bytes): Likewise.
8383         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8384         (__sha256_finish_ctx): Likewise.
8385         (__sha256_process_bytes): Likewise.
8386         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8387         (__sha512_finish_ctx): Likewise.
8388         (__sha512_process_bytes): Likewise.
8389         * ctype/isctype.c (__isctype): Likewise.
8390         * debug/backtrace.c (__backtrace): Likewise.
8391         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8392         * debug/fgets_chk.c (__fgets_chk): Likewise.
8393         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8394         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8395         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8396         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8397         * debug/memset_chk.c (__memset_chk): Likewise.
8398         * debug/strcat_chk.c (__strcat_chk): Likewise.
8399         * debug/strncat_chk.c (__strncat_chk): Likewise.
8400         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8401         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8402         * dirent/dirfd.c (dirfd): Likewise.
8403         * dirent/getdents.c (__getdirentries): Likewise.
8404         * dirent/getdents64.c (getdirentries64): Likewise.
8405         * dirent/rewinddir.c (__rewinddir): Likewise.
8406         * dirent/seekdir.c (seekdir): Likewise.
8407         * dirent/telldir.c (telldir): Likewise.
8408         * elf/sln.c (makesymlinks): Likewise.
8409         (makesymlink): Likewise.
8410         * gmon/gmon.c (__moncontrol): Likewise.
8411         (__monstartup): Likewise.
8412         (write_hist): Likewise.
8413         (write_call_graph): Likewise.
8414         (write_bb_counts): Likewise.
8415         * grp/setgroups.c (setgroups): Likewise.
8416         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8417         * inet/inet_net.c (inet_network): Likewise.
8418         * inet/inet_netof.c (inet_netof): Likewise.
8419         * inet/rcmd.c (rresvport_af): Likewise.
8420         (rresvport): Likewise.
8421         * io/access.c (__access): Likewise.
8422         * io/chdir.c (__chdir): Likewise.
8423         * io/chmod.c (__chmod): Likewise.
8424         * io/chown.c (__chown): Likewise.
8425         * io/close.c (__close): Likewise.
8426         * io/creat.c (creat): Likewise.
8427         * io/creat64.c (creat64): Likewise.
8428         * io/dup.c (__dup): Likewise.
8429         * io/dup2.c (__dup2): Likewise.
8430         * io/dup3.c (__dup3): Likewise.
8431         * io/euidaccess.c (__euidaccess): Likewise.
8432         * io/faccessat.c (faccessat): Likewise.
8433         * io/fchmod.c (__fchmod): Likewise.
8434         * io/fchmodat.c (fchmodat): Likewise.
8435         * io/fchown.c (__fchown): Likewise.
8436         * io/fchownat.c (fchownat): Likewise.
8437         * io/fcntl.c (__fcntl): Likewise.
8438         * io/flock.c (__flock): Likewise.
8439         * io/fts.c (fts_load): Likewise.
8440         (fts_close): Likewise.
8441         (fts_read): Likewise.
8442         (fts_set): Likewise.
8443         (fts_children): Likewise.
8444         (fts_build): Likewise.
8445         (fts_stat): Likewise.
8446         (fts_sort): Likewise.
8447         (fts_alloc): Likewise.
8448         (fts_lfree): Likewise.
8449         (fts_palloc): Likewise.
8450         (fts_padjust): Likewise.
8451         (fts_maxarglen): Likewise.
8452         (fts_safe_changedir): Likewise.
8453         * io/getwd.c (getwd): Likewise.
8454         * io/isatty.c (__isatty): Likewise.
8455         * io/lchown.c (__lchown): Likewise.
8456         * io/link.c (__link): Likewise.
8457         * io/linkat.c (linkat): Likewise.
8458         * io/lseek.c (__libc_lseek): Likewise.
8459         * io/mkdir.c (__mkdir): Likewise.
8460         * io/mkdirat.c (mkdirat): Likewise.
8461         * io/mkfifo.c (mkfifo): Likewise.
8462         * io/mkfifoat.c (mkfifoat): Likewise.
8463         * io/open.c (__libc_open): Likewise.
8464         * io/open64.c (__libc_open64): Likewise.
8465         * io/readlink.c (__readlink): Likewise.
8466         * io/readlinkat.c (readlinkat): Likewise.
8467         * io/rmdir.c (__rmdir): Likewise.
8468         * io/symlink.c (__symlink): Likewise.
8469         * io/symlinkat.c (symlinkat): Likewise.
8470         * io/ttyname.c (ttyname): Likewise.
8471         * io/ttyname_r.c (__ttyname_r): Likewise.
8472         * io/umask.c (__umask): Likewise.
8473         * io/unlink.c (__unlink): Likewise.
8474         * io/unlinkat.c (unlinkat): Likewise.
8475         * io/utime.c (utime): Likewise.
8476         * libio/clearerr.c (clearerr): Likewise.
8477         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8478         * libio/feof.c (_IO_feof): Likewise.
8479         * libio/feof_u.c (feof_unlocked): Likewise.
8480         * libio/ferror.c (_IO_ferror): Likewise.
8481         * libio/ferror_u.c (ferror_unlocked): Likewise.
8482         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8483         * libio/fileno.c (__fileno): Likewise.
8484         * libio/fputc.c (fputc): Likewise.
8485         * libio/fputc_u.c (fputc_unlocked): Likewise.
8486         * libio/fputwc.c (fputwc): Likewise.
8487         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8488         * libio/freopen.c (freopen): Likewise.
8489         * libio/freopen64.c (freopen64): Likewise.
8490         * libio/fseek.c (fseek): Likewise.
8491         * libio/fseeko.c (fseeko): Likewise.
8492         * libio/fseeko64.c (fseeko64): Likewise.
8493         * libio/ftello.c (__ftello): Likewise.
8494         * libio/ftello64.c (ftello64): Likewise.
8495         * libio/fwide.c (fwide): Likewise.
8496         * libio/genops.c (_IO_un_link): Likewise.
8497         (_IO_link_in): Likewise.
8498         (_IO_least_marker): Likewise.
8499         (_IO_switch_to_main_get_area): Likewise.
8500         (_IO_switch_to_backup_area): Likewise.
8501         (_IO_switch_to_get_mode): Likewise.
8502         (_IO_free_backup_area): Likewise.
8503         (_IO_switch_to_put_mode): Likewise.
8504         (__overflow): Likewise.
8505         (__underflow): Likewise.
8506         (__uflow): Likewise.
8507         (_IO_setb): Likewise.
8508         (_IO_doallocbuf): Likewise.
8509         (_IO_default_underflow): Likewise.
8510         (_IO_default_uflow): Likewise.
8511         (_IO_default_xsputn): Likewise.
8512         (_IO_sgetn): Likewise.
8513         (_IO_default_xsgetn): Likewise.
8514         (_IO_sync): Likewise.
8515         (_IO_default_setbuf): Likewise.
8516         (_IO_default_seekpos): Likewise.
8517         (_IO_default_doallocate): Likewise.
8518         (_IO_init): Likewise.
8519         (_IO_old_init): Likewise.
8520         (_IO_default_sync): Likewise.
8521         (_IO_default_finish): Likewise.
8522         (_IO_default_seekoff): Likewise.
8523         (_IO_sputbackc): Likewise.
8524         (_IO_sungetc): Likewise.
8525         (_IO_set_column): Likewise.
8526         (_IO_set_column): Likewise.
8527         (_IO_adjust_column): Likewise.
8528         (_IO_get_column): Likewise.
8529         (_IO_init_marker): Likewise.
8530         (_IO_remove_marker): Likewise.
8531         (_IO_marker_difference): Likewise.
8532         (_IO_marker_delta): Likewise.
8533         (_IO_seekmark): Likewise.
8534         (_IO_unsave_markers): Likewise.
8535         (_IO_nobackup_pbackfail): Likewise.
8536         (_IO_default_pbackfail): Likewise.
8537         (_IO_default_seek): Likewise.
8538         (_IO_default_stat): Likewise.
8539         (_IO_default_read): Likewise.
8540         (_IO_default_write): Likewise.
8541         (_IO_default_showmanyc): Likewise.
8542         (_IO_default_imbue): Likewise.
8543         (_IO_iter_next): Likewise.
8544         (_IO_iter_file): Likewise.
8545         * libio/getc.c (_IO_getc): Likewise.
8546         * libio/getwc.c (_IO_getwc): Likewise.
8547         * libio/iofclose.c (_IO_new_fclose): Likewise.
8548         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8549         * libio/iofflush.c (_IO_fflush): Likewise.
8550         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8551         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8552         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8553         * libio/iofgets.c (_IO_fgets): Likewise.
8554         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8555         * libio/iofgetws.c (fgetws): Likewise.
8556         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8557         * libio/iofopen64.c (_IO_fopen64): Likewise.
8558         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8559         (_IO_cookie_write): Likewise.
8560         (_IO_cookie_seek): Likewise.
8561         (_IO_cookie_close): Likewise.
8562         (_IO_cookie_seekoff): Likewise.
8563         (_IO_old_cookie_seek): Likewise.
8564         * libio/iofputs.c (_IO_fputs): Likewise.
8565         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8566         * libio/iofputws.c (fputws): Likewise.
8567         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8568         * libio/iofread.c (_IO_fread): Likewise.
8569         * libio/iofread_u.c (__fread_unlocked): Likewise.
8570         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8571         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8572         * libio/ioftell.c (_IO_ftell): Likewise.
8573         * libio/iofwrite.c (_IO_fwrite): Likewise.
8574         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8575         * libio/iogets.c (_IO_gets): Likewise.
8576         * libio/iopadn.c (_IO_padn): Likewise.
8577         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8578         (_IO_new_popen): Likewise.
8579         (_IO_new_proc_close): Likewise.
8580         * libio/ioputs.c (_IO_puts): Likewise.
8581         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8582         (_IO_seekoff): Likewise.
8583         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8584         (_IO_seekpos): Likewise.
8585         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8586         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8587         * libio/ioungetc.c (_IO_ungetc): Likewise.
8588         * libio/ioungetwc.c (ungetwc): Likewise.
8589         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8590         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8591         * libio/iowpadn.c (_IO_wpadn): Likewise.
8592         * libio/libc_fatal.c (__libc_fatal): Likewise.
8593         * libio/memstream.c (__open_memstream): Likewise.
8594         (_IO_mem_sync): Likewise.
8595         (_IO_mem_finish): Likewise.
8596         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8597         (_IO_old_file_close_it): Likewise.
8598         (_IO_old_file_finish): Likewise.
8599         (_IO_old_file_fopen): Likewise.
8600         (_IO_old_file_attach): Likewise.
8601         (_IO_old_file_setbuf): Likewise.
8602         (_IO_old_do_write): Likewise.
8603         (old_do_write): Likewise.
8604         (_IO_old_file_underflow): Likewise.
8605         (_IO_old_file_overflow): Likewise.
8606         (_IO_old_file_sync): Likewise.
8607         (_IO_old_file_seekoff): Likewise.
8608         (_IO_old_file_write): Likewise.
8609         (_IO_old_file_xsputn): Likewise.
8610         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8611         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8612         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8613         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8614         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8615         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8616         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8617         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8618         (_IO_old_popen): Likewise.
8619         (_IO_old_proc_close): Likewise.
8620         * libio/oldpclose.c (__old_pclose): Likewise.
8621         * libio/pclose.c (__new_pclose): Likewise.
8622         * libio/peekc.c (_IO_peekc_locked): Likewise.
8623         * libio/putc.c (_IO_putc): Likewise.
8624         * libio/putc_u.c (putc_unlocked): Likewise.
8625         * libio/putchar.c (putchar): Likewise.
8626         * libio/putchar_u.c (putchar_unlocked): Likewise.
8627         * libio/putwc.c (putwc): Likewise.
8628         * libio/putwc_u.c (putwc_unlocked): Likewise.
8629         * libio/putwchar.c (putwchar): Likewise.
8630         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8631         * libio/rewind.c (rewind): Likewise.
8632         * libio/setbuf.c (setbuf): Likewise.
8633         * libio/setlinebuf.c (setlinebuf): Likewise.
8634         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8635         * libio/vscanf.c (_IO_vscanf): Likewise.
8636         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8637         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8638         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8639         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8640         (_IO_switch_to_main_wget_area): Likewise.
8641         (_IO_switch_to_wbackup_area): Likewise.
8642         (_IO_wsetb): Likewise.
8643         (_IO_wdefault_pbackfail): Likewise.
8644         (_IO_wdefault_finish): Likewise.
8645         (_IO_wdefault_uflow): Likewise.
8646         (__woverflow): Likewise.
8647         (__wuflow): Likewise.
8648         (__wunderflow): Likewise.
8649         (_IO_wdefault_xsputn): Likewise.
8650         (_IO_wdefault_xsgetn): Likewise.
8651         (_IO_wdoallocbuf): Likewise.
8652         (_IO_wdefault_doallocate): Likewise.
8653         (_IO_switch_to_wget_mode): Likewise.
8654         (_IO_free_wbackup_area): Likewise.
8655         (_IO_switch_to_wput_mode): Likewise.
8656         (_IO_sputbackwc): Likewise.
8657         (_IO_sungetwc): Likewise.
8658         (_IO_adjust_wcolumn): Likewise.
8659         (_IO_init_wmarker): Likewise.
8660         (_IO_wmarker_delta): Likewise.
8661         (_IO_seekwmark): Likewise.
8662         (_IO_unsave_wmarkers): Likewise.
8663         * libio/wmemstream.c (open_wmemstream): Likewise.
8664         (_IO_wmem_sync): Likewise.
8665         (_IO_wmem_finish): Likewise.
8666         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8667         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8668         * locale/programs/simple-hash.c (init_hash): Likewise.
8669         (delete_hash): Likewise.
8670         (insert_entry): Likewise.
8671         (set_entry): Likewise.
8672         (next_prime): Likewise.
8673         (is_prime): Likewise.
8674         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8675         (xmalloc): Likewise.
8676         (xrealloc): Likewise.
8677         * locale/programs/xstrdup.c (xstrdup): Likewise.
8678         * localedata/collate-test.c (xstrcoll): Likewise.
8679         * localedata/xfrm-test.c (xstrcmp): Likewise.
8680         * login/getlogin_r.c (__getlogin_r): Likewise.
8681         * login/getpt.c (__posix_openpt): Likewise.
8682         * login/login_tty.c (login_tty): Likewise.
8683         * login/setlogin.c (setlogin): Likewise.
8684         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8685         (mach_msg_destroy_port): Likewise.
8686         (mach_msg_destroy_memory): Likewise.
8687         * malloc/mcheck.c (flood): Likewise.
8688         * misc/acct.c (acct): Likewise.
8689         * misc/brk.c (__brk): Likewise.
8690         * misc/chflags.c (chflags): Likewise.
8691         * misc/chroot.c (chroot): Likewise.
8692         * misc/fchflags.c (fchflags): Likewise.
8693         * misc/fstab.c (getfsspec): Likewise.
8694         (getfsfile): Likewise.
8695         * misc/fsync.c (fsync): Likewise.
8696         * misc/ftruncate.c (__ftruncate): Likewise.
8697         * misc/ftruncate64.c (__ftruncate64): Likewise.
8698         * misc/getdomain.c (getdomainname): Likewise.
8699         (getdomainname): Likewise.
8700         * misc/gethostname.c (__gethostname): Likewise.
8701         * misc/getpass.c (getpass): Likewise.
8702         * misc/getttyent.c (skip): Likewise.
8703         (value): Likewise.
8704         * misc/gtty.c (gtty): Likewise.
8705         * misc/hsearch.c (hsearch): Likewise.
8706         (hcreate): Likewise.
8707         * misc/hsearch_r.c (__hcreate_r): Likewise.
8708         (__hdestroy_r): Likewise.
8709         * misc/ioctl.c (__ioctl): Likewise.
8710         * misc/mkdtemp.c (mkdtemp): Likewise.
8711         * misc/mkostemp.c (mkostemp): Likewise.
8712         * misc/mkostemp64.c (mkostemp64): Likewise.
8713         * misc/mkostemps.c (mkostemps): Likewise.
8714         * misc/mkostemps64.c (mkostemps64): Likewise.
8715         * misc/mkstemp.c (mkstemp): Likewise.
8716         * misc/mkstemp64.c (mkstemp64): Likewise.
8717         * misc/mkstemps.c (mkstemps): Likewise.
8718         * misc/mkstemps64.c (mkstemps64): Likewise.
8719         * misc/mktemp.c (__mktemp): Likewise.
8720         * misc/preadv.c (preadv): Likewise.
8721         * misc/preadv64.c (preadv64): Likewise.
8722         * misc/pwritev.c (pwritev): Likewise.
8723         * misc/pwritev64.c (pwritev64): Likewise.
8724         * misc/readv.c (__readv): Likewise.
8725         * misc/revoke.c (revoke): Likewise.
8726         * misc/setdomain.c (setdomainname): Likewise.
8727         * misc/setegid.c (setegid): Likewise.
8728         * misc/seteuid.c (seteuid): Likewise.
8729         * misc/sethostid.c (sethostid): Likewise.
8730         * misc/sethostname.c (sethostname): Likewise.
8731         * misc/setregid.c (__setregid): Likewise.
8732         * misc/setreuid.c (__setreuid): Likewise.
8733         * misc/sstk.c (sstk): Likewise.
8734         * misc/stty.c (stty): Likewise.
8735         * misc/syscall.c (syscall): Likewise.
8736         * misc/syslog.c (setlogmask): Likewise.
8737         * misc/truncate.c (__truncate): Likewise.
8738         * misc/truncate64.c (truncate64): Likewise.
8739         * misc/ualarm.c (ualarm): Likewise.
8740         * misc/usleep.c (usleep): Likewise.
8741         * misc/ustat.c (ustat): Likewise.
8742         * misc/writev.c (__writev): Likewise.
8743         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8744         * nptl/old_pthread_cond_broadcast.c
8745         (__pthread_cond_broadcast_2_0): Likewise.
8746         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8747         Likewise.
8748         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8749         Likewise.
8750         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8751         Likewise.
8752         * nptl/pt-raise.c (raise): Likewise.
8753         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8754         Likewise.
8755         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8756         * nptl/pthread_barrierattr_destroy.c
8757         (pthread_barrierattr_destroy): Likewise.
8758         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8759         Likewise.
8760         * nptl/pthread_barrierattr_setpshared.c
8761         (pthread_barrierattr_setpshared): Likewise.
8762         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8763         Likewise.
8764         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8765         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8766         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8767         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8768         Likewise.
8769         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8770         Likewise.
8771         * nptl/pthread_condattr_getpshared.c
8772         (pthread_condattr_getpshared): Likewise.
8773         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8774         Likewise.
8775         * nptl/pthread_condattr_setpshared.c
8776         (pthread_condattr_setpshared): Likewise.
8777         * nptl/pthread_detach.c (pthread_detach): Likewise.
8778         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8779         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8780         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8781         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8782         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8783         Likewise.
8784         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8785         Likewise.
8786         * nptl/pthread_mutex_getprioceiling.c
8787         (pthread_mutex_getprioceiling): Likewise.
8788         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8789         Likewise.
8790         * nptl/pthread_mutexattr_getprotocol.c
8791         (pthread_mutexattr_getprotocol): Likewise.
8792         * nptl/pthread_mutexattr_getpshared.c
8793         (pthread_mutexattr_getpshared): Likewise.
8794         * nptl/pthread_mutexattr_getrobust.c
8795         (pthread_mutexattr_getrobust): Likewise.
8796         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8797         Likewise.
8798         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8799         Likewise.
8800         * nptl/pthread_mutexattr_setprioceiling.c
8801         (pthread_mutexattr_setprioceiling): Likewise.
8802         * nptl/pthread_mutexattr_setprotocol.c
8803         (pthread_mutexattr_setprotocol): Likewise.
8804         * nptl/pthread_mutexattr_setpshared.c
8805         (pthread_mutexattr_setpshared): Likewise.
8806         * nptl/pthread_mutexattr_setrobust.c
8807         (pthread_mutexattr_setrobust): Likewise.
8808         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8809         Likewise.
8810         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8811         Likewise.
8812         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8813         Likewise.
8814         * nptl/pthread_rwlockattr_getkind_np.c
8815         (pthread_rwlockattr_getkind_np): Likewise.
8816         * nptl/pthread_rwlockattr_getpshared.c
8817         (pthread_rwlockattr_getpshared): Likewise.
8818         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8819         Likewise.
8820         * nptl/pthread_rwlockattr_setkind_np.c
8821         (pthread_rwlockattr_setkind_np): Likewise.
8822         * nptl/pthread_rwlockattr_setpshared.c
8823         (pthread_rwlockattr_setpshared): Likewise.
8824         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8825         Likewise.
8826         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8827         Likewise.
8828         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8829         Likewise.
8830         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8831         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8832         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8833         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8834         * nptl/sem_close.c (sem_close): Likewise.
8835         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8836         * nptl/sem_init.c (__old_sem_init): Likewise.
8837         * nptl/sigaction.c (__sigaction): Likewise.
8838         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8839         * posix/_exit.c (_exit): Likewise.
8840         * posix/alarm.c (alarm): Likewise.
8841         * posix/confstr.c (confstr): Likewise.
8842         * posix/fpathconf.c (__fpathconf): Likewise.
8843         * posix/getgroups.c (__getgroups): Likewise.
8844         * posix/getpgid.c (__getpgid): Likewise.
8845         * posix/group_member.c (__group_member): Likewise.
8846         * posix/pathconf.c (__pathconf): Likewise.
8847         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8848         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8849         * posix/setgid.c (__setgid): Likewise.
8850         * posix/setpgid.c (__setpgid): Likewise.
8851         * posix/setuid.c (__setuid): Likewise.
8852         * posix/sleep.c (__sleep): Likewise.
8853         * posix/sysconf.c (__sysconf): Likewise.
8854         * posix/times.c (__times): Likewise.
8855         * posix/uname.c (__uname): Likewise.
8856         * posix/waitid.c (__waitid): Likewise.
8857         * pwd/getpw.c (__getpw): Likewise.
8858         * resolv/base64.c (b64_pton): Likewise.
8859         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8860         * resolv/gethnamaddr.c (Dprintf): Likewise.
8861         (gethostbyname): Likewise.
8862         (gethostbyname2): Likewise.
8863         (gethostbyaddr): Likewise.
8864         (_sethtent): Likewise.
8865         (_gethtbyname): Likewise.
8866         (_gethtbyname2): Likewise.
8867         (_gethtbyaddr): Likewise.
8868         (map_v4v6_address): Likewise.
8869         (map_v4v6_hostent): Likewise.
8870         (addrsort): Likewise.
8871         (ht_sethostent): Likewise.
8872         (ht_gethostbyname): Likewise.
8873         (ht_gethostbyaddr): Likewise.
8874         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8875         (inet_net_ntop_ipv4): Likewise.
8876         * resolv/inet_neta.c (inet_neta): Likewise.
8877         * resolv/inet_ntop.c (inet_ntop): Likewise.
8878         (inet_ntop4): Likewise.
8879         (inet_ntop6): Likewise.
8880         * resolv/inet_pton.c (__inet_pton): Likewise.
8881         (inet_pton4): Likewise.
8882         (inet_pton6): Likewise.
8883         * resolv/res_debug.c (loc_aton): Likewise.
8884         (loc_ntoa): Likewise.
8885         * resource/getpriority.c (__getpriority): Likewise.
8886         * resource/getrusage.c (__getrusage): Likewise.
8887         * resource/nice.c (nice): Likewise.
8888         * resource/setpriority.c (__setpriority): Likewise.
8889         * resource/setrlimit64.c (setrlimit64): Likewise.
8890         * resource/vlimit.c (vlimit): Likewise.
8891         * resource/vtimes.c (vtimes): Likewise.
8892         * rt/aio_error.c (aio_error): Likewise.
8893         * rt/aio_return.c (aio_return): Likewise.
8894         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8895         * signal/kill.c (__kill): Likewise.
8896         * signal/killpg.c (killpg): Likewise.
8897         * signal/raise.c (raise): Likewise.
8898         * signal/sigaction.c (__sigaction): Likewise.
8899         * signal/sigaddset.c (sigaddset): Likewise.
8900         * signal/sigaltstack.c (sigaltstack): Likewise.
8901         * signal/sigandset.c (sigandset): Likewise.
8902         * signal/sigblock.c (__sigblock): Likewise.
8903         * signal/sigdelset.c (sigdelset): Likewise.
8904         * signal/sigempty.c (sigemptyset): Likewise.
8905         * signal/sigfillset.c (sigfillset): Likewise.
8906         * signal/sighold.c (sighold): Likewise.
8907         * signal/sigignore.c (sigignore): Likewise.
8908         * signal/sigintr.c (siginterrupt): Likewise.
8909         * signal/sigisempty.c (sigisemptyset): Likewise.
8910         * signal/sigismem.c (sigismember): Likewise.
8911         * signal/signal.c (signal): Likewise.
8912         * signal/sigorset.c (sigorset): Likewise.
8913         * signal/sigpause.c (__sigpause): Likewise.
8914         * signal/sigpending.c (sigpending): Likewise.
8915         * signal/sigprocmask.c (__sigprocmask): Likewise.
8916         * signal/sigrelse.c (sigrelse): Likewise.
8917         * signal/sigreturn.c (__sigreturn): Likewise.
8918         * signal/sigset.c (sigset): Likewise.
8919         * signal/sigsetmask.c (__sigsetmask): Likewise.
8920         * signal/sigstack.c (sigstack): Likewise.
8921         * signal/sigsuspend.c (__sigsuspend): Likewise.
8922         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8923         * signal/sysv_signal.c (__sysv_signal): Likewise.
8924         * socket/accept.c (accept): Likewise.
8925         * socket/accept4.c (__libc_accept4): Likewise.
8926         * socket/bind.c (__bind): Likewise.
8927         * socket/connect.c (__connect): Likewise.
8928         * socket/getpeername.c (getpeername): Likewise.
8929         * socket/getsockname.c (__getsockname): Likewise.
8930         * socket/getsockopt.c (getsockopt): Likewise.
8931         * socket/listen.c (__listen): Likewise.
8932         * socket/recv.c (__recv): Likewise.
8933         * socket/recvmsg.c (__recvmsg): Likewise.
8934         * socket/send.c (__send): Likewise.
8935         * socket/sendmsg.c (__sendmsg): Likewise.
8936         * socket/shutdown.c (shutdown): Likewise.
8937         * socket/sockatmark.c (sockatmark): Likewise.
8938         * socket/socket.c (__socket): Likewise.
8939         * stdio-common/ctermid.c (ctermid): Likewise.
8940         * stdio-common/cuserid.c (cuserid): Likewise.
8941         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8942         * stdio-common/remove.c (remove): Likewise.
8943         * stdio-common/rename.c (rename): Likewise.
8944         * stdio-common/renameat.c (renameat): Likewise.
8945         * stdio-common/tempname.c (__gen_tempname): Likewise.
8946         * stdio-common/xbug.c (InitBuffer): Likewise.
8947         (AppendToBuffer): Likewise.
8948         (ReadFile): Likewise.
8949         * stdlib/a64l.c (a64l): Likewise.
8950         * stdlib/drand48_r.c (drand48_r): Likewise.
8951         * stdlib/getcontext.c (getcontext): Likewise.
8952         * stdlib/getenv.c (getenv): Likewise.
8953         * stdlib/l64a.c (l64a): Likewise.
8954         * stdlib/llabs.c (llabs): Likewise.
8955         * stdlib/lldiv.c (lldiv): Likewise.
8956         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8957         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8958         * stdlib/putenv.c (putenv): Likewise.
8959         * stdlib/random.c (__srandom): Likewise.
8960         (__initstate): Likewise.
8961         (__setstate): Likewise.
8962         * stdlib/random_r.c (__srandom_r): Likewise.
8963         (__setstate_r): Likewise.
8964         (__random_r): Likewise.
8965         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8966         * stdlib/setcontext.c (setcontext): Likewise.
8967         * stdlib/setenv.c (setenv): Likewise.
8968         (unsetenv): Likewise.
8969         * stdlib/srand48.c (srand48): Likewise.
8970         * stdlib/srand48_r.c (__srand48_r): Likewise.
8971         * stdlib/swapcontext.c (swapcontext): Likewise.
8972         * stdlib/system.c (__libc_system): Likewise.
8973         * stdlib/tst-strtod.c (expand): Likewise.
8974         * stdlib/tst-strtol.c (expand): Likewise.
8975         * stdlib/tst-strtoll.c (expand): Likewise.
8976         * streams/fattach.c (fattach): Likewise.
8977         * streams/fdetach.c (fdetach): Likewise.
8978         * streams/getmsg.c (getmsg): Likewise.
8979         * streams/isastream.c (isastream): Likewise.
8980         * string/ffs.c (__ffs): Likewise.
8981         * string/ffsll.c (ffsll): Likewise.
8982         * string/memcmp.c (memcmp_common_alignment): Likewise.
8983         (memcmp_not_common_alignment): Likewise.
8984         (MEMCMP): Likewise.
8985         * string/memcpy.c (memcpy): Likewise.
8986         * string/memmove.c (MEMMOVE): Likewise.
8987         * string/memset.c (memset): Likewise.
8988         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8989         * string/strchrnul.c (STRCHRNUL): Likewise.
8990         * string/strerror.c (strerror): Likewise.
8991         * string/strndup.c (__strndup): Likewise.
8992         * string/strverscmp.c (__strverscmp): Likewise.
8993         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8994         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8995         (clnttcp_freeres): Likewise.
8996         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8997         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8998         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8999         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9000         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9001         (xdr_callhdr): Likewise.
9002         * sunrpc/rpcinfo.c (udpping): Likewise.
9003         (tcpping): Likewise.
9004         (pstatus): Likewise.
9005         (pmapdump): Likewise.
9006         (brdcst): Likewise.
9007         (deletereg): Likewise.
9008         (getprognum): Likewise.
9009         (getvers): Likewise.
9010         (get_inet_address): Likewise.
9011         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9012         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9013         (svcudp_stat): Likewise.
9014         (svcudp_recv): Likewise.
9015         (svcudp_reply): Likewise.
9016         (svcudp_getargs): Likewise.
9017         (svcudp_freeargs): Likewise.
9018         (svcudp_destroy): Likewise.
9019         * sunrpc/xdr.c (xdr_bytes): Likewise.
9020         (xdr_netobj): Likewise.
9021         (xdr_string): Likewise.
9022         (xdr_wrapstring): Likewise.
9023         * sunrpc/xdr_float.c (xdr_float): Likewise.
9024         (xdr_double): Likewise.
9025         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9026         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9027         * sysvipc/ftok.c (ftok): Likewise.
9028         * sysvipc/msgctl.c (msgctl): Likewise.
9029         * sysvipc/msgget.c (msgget): Likewise.
9030         * sysvipc/msgrcv.c (msgrcv): Likewise.
9031         * sysvipc/msgsnd.c (msgsnd): Likewise.
9032         * sysvipc/semget.c (semget): Likewise.
9033         * sysvipc/semop.c (semop): Likewise.
9034         * sysvipc/shmat.c (shmat): Likewise.
9035         * sysvipc/shmctl.c (shmctl): Likewise.
9036         * sysvipc/shmdt.c (shmdt): Likewise.
9037         * sysvipc/shmget.c (shmget): Likewise.
9038         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9039         * termios/speed.c (cfgetospeed): Likewise.
9040         (cfgetispeed): Likewise.
9041         (cfsetospeed): Likewise.
9042         (cfsetispeed): Likewise.
9043         * termios/tcflow.c (tcflow): Likewise.
9044         * termios/tcflush.c (tcflush): Likewise.
9045         * termios/tcgetattr.c (__tcgetattr): Likewise.
9046         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9047         * termios/tcgetsid.c (tcgetsid): Likewise.
9048         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9049         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9050         * time/adjtime.c (__adjtime): Likewise.
9051         * time/dysize.c (dysize): Likewise.
9052         * time/ftime.c (ftime): Likewise.
9053         * time/getitimer.c (__getitimer): Likewise.
9054         * time/gettimeofday.c (__gettimeofday): Likewise.
9055         * time/gmtime.c (__gmtime_r): Likewise.
9056         (gmtime): Likewise.
9057         * time/localtime.c (__localtime_r): Likewise.
9058         (localtime): Likewise.
9059         * time/offtime.c (__offtime): Likewise.
9060         * time/settimeofday.c (__settimeofday): Likewise.
9061         * time/stime.c (stime): Likewise.
9062         * time/strftime_l.c (tm_diff): Likewise.
9063         (iso_week_days): Likewise.
9064         * time/strptime.c (strptime): Likewise.
9065         * time/time.c (time): Likewise.
9066         * time/timespec_get.c (timespec_get): Likewise.
9067         * time/tzset.c (tzset_internal): Likewise.
9068         (compute_change): Likewise.
9069         (__tz_compute): Likewise.
9070         * wcsmbs/btowc.c (__btowc): Likewise.
9071         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9072         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9073         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9074         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9075         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9076         * wcsmbs/wcscat.c (__wcscat): Likewise.
9077         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9078         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9079         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9080         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9081         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9082         * wcsmbs/wcslen.c (__wcslen): Likewise.
9083         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9084         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9085         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9086         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9087         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9088         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9089         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9090         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9091         * wcsmbs/wcstok.c (wcstok): Likewise.
9092         * wcsmbs/wctob.c (wctob): Likewise.
9093         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9094         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9095         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9096         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9097         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9098         * wcsmbs/wmemset.c (__wmemset): Likewise.
9099         * wctype/wcfuncs.c (__towlower): Likewise.
9100         (__towupper): Likewise.
9102         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9103         (lll_unlock_elision): Add adapt_count parameter.
9105 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9107         * sysdeps/nptl/configure.ac: Do not give errors based on the
9108         results of top-level configure tests.
9109         * sysdeps/nptl/configure: Regenerated.
9111         * configure.ac (libc_cv_Bgroup): Remove configure test.
9112         * configure: Regenerated.
9113         * config.make.in (have-Bgroup): Remove variable.
9115         * configure.ac (sizeof_long_double): Remove configure test.
9116         * configure: Regenerated.
9117         * config.make.in (sizeof-long-double): Remove variable.
9119         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9120         * configure: Regenerated.
9121         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9122         variable.
9123         (exceptions): Likewise.
9124         * sysdeps/arm/configure: Regenerated.
9125         * config.make.in (exceptions): Remove variable.
9126         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9127         $(exceptions).
9128         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9129         (CFLAGS-vdprintf_chk.c): Likewise.
9130         (CFLAGS-printf_chk.c): Likewise.
9131         (CFLAGS-fprintf_chk.c): Likewise.
9132         (CFLAGS-vprintf_chk.c): Likewise.
9133         (CFLAGS-vfprintf_chk.c): Likewise.
9134         (CFLAGS-gets_chk.c): Likewise.
9135         (CFLAGS-fgets_chk.c): Likewise.
9136         (CFLAGS-fgets_u_chk.c): Likewise.
9137         (CFLAGS-fread_chk.c): Likewise.
9138         (CFLAGS-fread_u_chk.c): Likewise.
9139         (CFLAGS-wprintf_chk.c): Likewise.
9140         (CFLAGS-fwprintf_chk.c): Likewise.
9141         (CFLAGS-vwprintf_chk.c): Likewise.
9142         (CFLAGS-vfwprintf_chk.c): Likewise.
9143         (CFLAGS-fgetws_chk.c): Likewise.
9144         (CFLAGS-fgetws_u_chk.c): Likewise.
9145         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9146         (CFLAGS-fputc.c): Likewise.
9147         (CFLAGS-fputwc.c): Likewise.
9148         (CFLAGS-freopen64.c): Likewise.
9149         (CFLAGS-freopen.c): Likewise.
9150         (CFLAGS-fseek.c): Likewise.
9151         (CFLAGS-fseeko64.c): Likewise.
9152         (CFLAGS-fseeko.c): Likewise.
9153         (CFLAGS-ftello64.c): Likewise.
9154         (CFLAGS-ftello.c): Likewise.
9155         (CFLAGS-fwide.c): Likewise.
9156         (CFLAGS-genops.c): Likewise.
9157         (CFLAGS-getc.c): Likewise.
9158         (CFLAGS-getchar.c): Likewise.
9159         (CFLAGS-getwc.c): Likewise.
9160         (CFLAGS-getwchar.c): Likewise.
9161         (CFLAGS-iofclose.c): Likewise.
9162         (CFLAGS-iofflush.c): Likewise.
9163         (CFLAGS-iofgetpos64.c): Likewise.
9164         (CFLAGS-iofgetpos.c): Likewise.
9165         (CFLAGS-iofgets.c): Likewise.
9166         (CFLAGS-iofgetws.c): Likewise.
9167         (CFLAGS-iofputs.c): Likewise.
9168         (CFLAGS-iofputws.c): Likewise.
9169         (CFLAGS-iofread.c): Likewise.
9170         (CFLAGS-iofsetpos64.c): Likewise.
9171         (CFLAGS-iofsetpos.c): Likewise.
9172         (CFLAGS-ioftell.c): Likewise.
9173         (CFLAGS-iofwrite.c): Likewise.
9174         (CFLAGS-iogetdelim.c): Likewise.
9175         (CFLAGS-iogetline.c): Likewise.
9176         (CFLAGS-iogets.c): Likewise.
9177         (CFLAGS-iogetwline.c): Likewise.
9178         (CFLAGS-ioputs.c): Likewise.
9179         (CFLAGS-ioseekoff.c): Likewise.
9180         (CFLAGS-ioseekpos.c): Likewise.
9181         (CFLAGS-iosetbuffer.c): Likewise.
9182         (CFLAGS-iosetvbuf.c): Likewise.
9183         (CFLAGS-ioungetc.c): Likewise.
9184         (CFLAGS-ioungetwc.c): Likewise.
9185         (CFLAGS-oldfileops.c): Likewise.
9186         (CFLAGS-oldiofclose.c): Likewise.
9187         (CFLAGS-oldiofgetpos64.c): Likewise.
9188         (CFLAGS-oldiofgetpos.c): Likewise.
9189         (CFLAGS-oldiofsetpos64.c): Likewise.
9190         (CFLAGS-oldiofsetpos.c): Likewise.
9191         (CFLAGS-peekc.c): Likewise.
9192         (CFLAGS-putc.c): Likewise.
9193         (CFLAGS-putchar.c): Likewise.
9194         (CFLAGS-putwc.c): Likewise.
9195         (CFLAGS-putwchar.c): Likewise.
9196         (CFLAGS-rewind.c): Likewise.
9197         (CFLAGS-wfileops.c): Likewise.
9198         (CFLAGS-wgenops.c): Likewise.
9199         (CFLAGS-oldiofopen.c): Likewise.
9200         (CFLAGS-iofopen.c): Likewise.
9201         (CFLAGS-iofopen64.c): Likewise.
9202         (CFLAGS-oldtmpfile.c): Likewise.
9203         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9204         (CFLAGS-fprintf.c): Likewise.
9205         (CFLAGS-printf.c): Likewise.
9206         (CFLAGS-vfwprintf.c): Likewise.
9207         (CFLAGS-vfscanf.c): Likewise.
9208         (CFLAGS-vfwscanf.c): Likewise.
9209         (CFLAGS-fscanf.c): Likewise.
9210         (CFLAGS-scanf.c): Likewise.
9211         (CFLAGS-isoc99_vfscanf.c): Likewise.
9212         (CFLAGS-isoc99_vscanf.c): Likewise.
9213         (CFLAGS-isoc99_fscanf.c): Likewise.
9214         (CFLAGS-isoc99_scanf.c): Likewise.
9215         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9216         (CFLAGS-isoc99_fwscanf.c): Likewise.
9217         (CFLAGS-isoc99_vwscanf.c): Likewise.
9218         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9220         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9221         after mkstemp64.
9222         * login/tst-utmp.c (do_prepare): Likewise.
9223         * rt/tst-aio.c (do_prepare): Likewise.
9224         * rt/tst-aio64.c (do_prepare): Likewise.
9226 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9228         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9229         (__lll_lock_elision): Remove adapt_count decrement...
9230         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9231         (__lll_trylock_elision): Likewise.
9232         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9233         (__lll_unlock_elision): ... to here. And utilize
9234         new adapt_count parameter.
9235         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9236         (__lll_unlock_elision): Update to include adapt_count
9237         parameter.
9238         (lll_unlock_elision): Pass pointer to adapt_count
9239         variable.
9241 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9243         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9244         Add elision adapt_count parameter to list of arguments.
9245         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9246         (lll_unlock_elision): Update with new parameter list
9247         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9248         (lll_unlock_elision): Likewise.
9249         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9250         (lll_unlock_elision): Likewise.
9252 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9254         [BZ #19122]
9255         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9256         attribute_hidden.
9258         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9259         attribute_hidden.
9260         [IS_IN (rtld)] (__strdup): Likewise.
9261         [IS_IN (rtld)] (__strerror_r): Likewise.
9262         [IS_IN (rtld)] (__strsep_g): Likewise.
9263         [IS_IN (rtld)] (memchr): Likewise.
9264         [IS_IN (rtld)] (memcmp): Likewise.
9265         [IS_IN (rtld)] (memcpy): Likewise.
9266         [IS_IN (rtld)] (memmove): Likewise.
9267         [IS_IN (rtld)] (memset): Likewise.
9268         [IS_IN (rtld)] (rawmemchr): Likewise.
9269         [IS_IN (rtld)] (stpcpy): Likewise.
9270         [IS_IN (rtld)] (strchr): Likewise.
9271         [IS_IN (rtld)] (strcmp): Likewise.
9272         [IS_IN (rtld)] (strlen): Likewise.
9273         [IS_IN (rtld)] (strnlen): Likewise.
9274         [IS_IN (rtld)] (strsep): Likewise.
9276         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9277         attribute_hidden.
9278         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9280         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9281         attribute_hidden.
9282         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9284         * include/setjmp.h (__longjmp): Add attribute_hidden.
9285         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9287         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9288         Add attribute_hidden.
9290         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9291         [IS_IN (rtld)] (__open): Likewise.
9292         [IS_IN (rtld)] (__fcntl): Likewise.
9294         * include/dirent.h (__opendirat): Add attribute_hidden.
9295         (__getdents): Likewise.
9296         (__getdents64): Likewise.
9297         (__alloc_dir): Likewise.
9298         [IS_IN (rtld)] (__closedir): Likewise.
9299         [IS_IN (rtld)] (__fdopendir): Likewise.
9300         [IS_IN (rtld)] (__readdir): Likewise.
9301         [IS_IN (rtld)] (__readdir64): Likewise.
9302         [IS_IN (rtld)] (__rewinddir): Likewise.
9304         * include/dlfcn.h (_dl_catch_error): Moved to ...
9305         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9306         attribute_hidden.
9308         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9309         (_itoa_word): Likewise.
9311         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9312         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9313         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9314         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9315         (_dl_higher_prime_number): Likewise.
9316         (_dl_debug_printf_c): Likewise.
9317         (_dl_signal_cerror): Likewise.
9318         (_dl_receive_error): Likewise.
9319         (_dl_reloc_bad_type): Likewise.
9320         (_dl_resolve_conflicts): Likewise.
9321         (_dl_check_all_versions): Likewise.
9322         (_dl_check_map_versions): Likewise.
9323         (_dl_sort_fini): Likewise.
9324         (_dl_debug_initialize): Likewise.
9325         (_dl_init_paths): Likewise.
9326         (_dl_show_auxv): Likewise.
9327         (_dl_next_ld_env_entry): Likewise.
9328         (_dl_important_hwcaps): Likewise.
9329         (_dl_load_cache_lookup): Likewise.
9330         (_dl_update_slotinfo): Likewise.
9331         (_dl_show_scope): Likewise.
9333         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9334         attribute_hidden.
9335         (_wordcopy_fwd_dest_aligned): Likewise.
9336         (_wordcopy_bwd_aligned): Likewise.
9337         (_wordcopy_bwd_dest_aligned): Likewise.
9339         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9340         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9341         Likewise.
9342         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9343         Likewise.
9344         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9346 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9348         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9349         GCC 5 requirement.
9351 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9353         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9354         test.
9355         * sysdeps/i386/configure: Regenerated.
9356         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9357         code unconditional.
9359         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9360         test.
9361         (libc_cv_asm_popsection_directive): Likewise.
9362         * configure: Regenerated.
9363         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9364         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9365         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9366         (__make_section_unallocated): Make definition unconditional.
9367         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9368         Remove conditional definition.
9369         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9370         (__make_section_unallocated): Likewise.
9372         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9373         * configure: Regenerated.
9374         * config.make.in (static-libgcc): Remove variable.
9375         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9376         $(static-libgcc).
9377         (build-module-helper): Likewise.
9379         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9380         * configure: Regenerated.
9382 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9384         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9385         (struct char_buffer): New type.
9386         (char_buffer_start, char_buffer_size, char_buffer_error)
9387         (char_buffer_rewind, char_buffer_add): New functions.
9388         (ADDW): Remove macro, replaced by the char_buffer_add function.
9389         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9390         of extend_alloca.  Make control flow more explicit.
9392 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9394         [BZ #19137]
9395         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9396         Add -fomit-frame-pointer.
9397         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9399 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9401         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9402         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9404         only if !__GNUC_PREREQ (5,0).
9405         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9406         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9407         (INTERNAL_SYSCALL_NCS): Likewise.
9408         (LOADREGS_0): New macro for GCC 5.
9409         (ASMARGS_0): Likewise.
9410         (LOADREGS_1): Likewise.
9411         (ASMARGS_1): Likewise.
9412         (LOADREGS_2): Likewise.
9413         (ASMARGS_2): Likewise.
9414         (LOADREGS_3): Likewise.
9415         (ASMARGS_3): Likewise.
9416         (LOADREGS_4): Likewise.
9417         (ASMARGS_4): Likewise.
9418         (LOADREGS_5): Likewise.
9419         (ASMARGS_5): Likewise.
9420         (LOADREGS_6): Likewise.
9421         (ASMARGS_6): Likewise.
9423 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9425         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9426         -fomit-frame-pointer.
9427         (CFLAGS-mmap64.c): Likewise.
9428         (CFLAGS-semtimedop.c): Likewise.
9429         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9430         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9431         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9432         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9434 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9436         [BZ #18928]
9437         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9438         _dl_pointer_guard member.
9439         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9440         initializer.
9441         (security_init): Always set up pointer guard.
9442         (process_envvars): Do not process LD_POINTER_GUARD.
9444 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9446         [BZ #19134]
9447         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9448         (.LC2): Likewise.
9449         (.LC3): Likewise.
9450         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9452 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9454         [BZ #19129]
9455         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9456         r0 and r1.
9458 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9460         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9462 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9464         * include/stap-probe.h: Fix macro definition formatting.
9466 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9468         [BZ #19074]
9469         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9470         load and store num_ifs.
9472 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9474         [BZ #18822]
9475         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9476         (__sched_getaffinity_new): Add libc_hidden_proto and
9477         libc_hidden_def.
9479 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9481         [BZ #19007]
9482         * scripts/localplt.awk: Also allow GOT references.
9483         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9484         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9485         with "+ REL R_386_GLOB_DAT".
9486         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9487         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9489 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9491         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9492         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9493         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9494         Likewise.
9495         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9496         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9497         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9498         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9499         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9500         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9501         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9502         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9503         Likewise.
9504         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9506 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9508         [BZ #19125]
9509         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9510         <math_private.h> and <stdint.h>.
9511         (__llround): Avoid conversions to and from long long int, and
9512         subtractions, where those might raise spurious exceptions.
9513         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9514         <math_private.h> and <stdint.h>.
9515         (__llroundf): Avoid conversions to and from long long int, and
9516         subtractions, where those might raise spurious exceptions.
9518 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9520         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9521         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9522         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9523         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9524         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9525         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9526         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9527         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9528         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9529         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9530         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9531         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9532         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9533         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9534         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9535         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9536         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9537         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9538         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9539         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9540         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9541         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9542         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9543         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9544         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9545         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9546         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9547         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9548         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9549         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9550         (__xstat64_conv): Likewise.
9551         (__xstat32_conv): Likewise.
9553 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9555         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9556         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9557         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9558         <sysdeps/unix/sysv/linux/sysdep.h>.
9559         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9560         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9561         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9562         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9563         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9564         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9565         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9566         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9567         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9572         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9573         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9575         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9576         (sysdep-dl-routines): Add sysdep.
9577         [$(subdir) == nptl] (libpthread-routines): Likewise.
9578         [$(subdir) == rt] (librt-routines): Likewise.
9579         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9580         PIC when branching to SYSCALL_ERROR_LABEL.
9581         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9583         <sysdeps/unix/sysv/linux/sysdep.h>.
9584         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9585         (SYSCALL_ERROR_ERRNO): Removed.
9586         (SYSCALL_ERROR_HANDLER): Changed to empty.
9587         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9588         (__syscall_error): New prototype.
9589         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9590         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9592 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9594         [BZ #19124]
9595         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9596         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9597         _dl_runtime_resolve_avx.
9598         (_dl_runtime_profile_avx512): Make it a hidden alias of
9599         _dl_runtime_profile_avx.
9601 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9603         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9604         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9605         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9606         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9608         [BZ #16422]
9609         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9610         New configure test.
9611         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9612         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9613         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9614         <math_private.h> and <stdint.h>.
9615         (__llrint): Avoid conversions to long long int where those might
9616         raise spurious exceptions.
9617         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9618         <math_private.h> and <stdint.h>.
9619         (__llrintf): Avoid conversions to long long int where those might
9620         raise spurious exceptions.
9622 2015-10-12  Andreas Schwab  <schwab@suse.de>
9624         [BZ #18969]
9625         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9626         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9627         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9628         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9629         $(gen-locales).
9630         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9631         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9632         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9633         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9634         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9635         $(gen-locales).
9636         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9637         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9638         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9639         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9640         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9641         ($(objpfx)tst-ftell-active-handler.out)
9642         ($(objpfx)tst-ftell-append.out)
9643         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9644         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9645         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9646         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9647         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9648         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9649         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9650         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9651         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9652         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9653         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9654         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9655         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9656         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9657         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9658         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9659         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9660         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9661         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9662         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9663         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9664         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9665         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9666         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9667         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9668         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9669         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9670         $(gen-locales).
9671         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9672         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9673         $(gen-locales).
9674         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9675         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9676         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9677         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9678         $(gen-locales).
9679         * libio/tst_wprintf2.c (main): Use explicit locale.
9680         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9682 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9684         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9685         __msg_sig_post.
9686         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9688 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9690         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9691         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9693         * sysdeps/arm/libm-test-ulps: Regenerated.
9695         [BZ #15470]
9696         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9698         [BZ #16399]
9699         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9700         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9701         and <fix-fp-int-convert-overflow.h>.
9702         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9703         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9704         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9705         and <fix-fp-int-convert-overflow.h>.
9706         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9707         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9708         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9709         <fix-fp-int-convert-overflow.h>.
9710         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9711         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9712         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9713         <fix-fp-int-convert-overflow.h>.
9714         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9715         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9716         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9717         and <fix-fp-int-convert-overflow.h>.
9718         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9719         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9720         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9721         <limits.h> and <fix-fp-int-convert-overflow.h>.
9722         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9723         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9724         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9725         and <fix-fp-int-convert-overflow.h>.
9726         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9727         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9728         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9729         and <fix-fp-int-convert-overflow.h>.
9730         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9731         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9732         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9734 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9736         [BZ #18589]
9737         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9738         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9739         $(gen-locales).
9741 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9742             Phil Blundell <pb@pbcl.net>
9744         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9745         * nptl/tst-cancel26.c: New file.
9746         * nptl/tst-cancel27.c: Likewise.
9748 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9750         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9751         __ILP32__ isn't defined.
9752         (lrint): Likewise.
9753         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9754         (lrintf): Likewise.
9755         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9756         (lrintl): Likewise.
9757         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9758         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9759         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9761 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9764         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9766         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9767         file.
9768         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9769         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9771 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9773         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9774         configure test.
9775         * sysdeps/i386/configure: Regenerated.
9776         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9777         configure test.
9778         * sysdeps/x86_64/configure: Regenerated.
9779         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9780         Make code unconditional.
9782         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9783         test.
9784         * sysdeps/i386/configure: Regenerated.
9785         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9786         test.
9787         * sysdeps/x86_64/configure: Regenerated.
9788         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9789         Make code unconditional.
9790         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9791         Likewise.
9792         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9793         Likewise.
9794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9795         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9796         code unconditional.
9797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9798         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9799         code unconditional.
9800         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9801         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9802         code unconditional.
9803         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9804         code unconditional.
9805         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9806         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9807         code unconditional.
9808         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9809         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9810         code unconditional.
9811         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9812         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9813         code unconditional.
9814         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9815         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9816         code unconditional.
9817         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9818         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9820         [BZ #19095]
9821         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9822         mantissa to long int before shifting left.
9824 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9826         [BZ #19094]
9827         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9828         <limits.h>.
9829         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9830         when result overflows but exception would not result from cast.
9831         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9832         <limits.h>.
9833         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9834         when result overflows but exception would not result from cast.
9835         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9836         <limits.h>.
9837         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9838         when result overflows but exception would not result from cast.
9839         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9840         <limits.h>.
9841         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9842         when result overflows but exception would not result from cast.
9843         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9844         <limits.h>.
9845         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9846         when result overflows but exception would not result from cast.
9847         * math/libm-test.inc (lrint_test_data): Add more tests.
9848         (llrint_test_data): Likewise.
9850 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9852         [BZ #18872]
9853         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9854         Move out from under [$(run-built-tests) = yes] conditional.
9855         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9856         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9858 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9860         [BZ #18589]
9861         * string/Makefile (tests): Add bug-strcoll2.
9862         (LOCALES): Add cs_CZ.UTF-8.
9863         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9865         [BZ #18589]
9866         * string/bug-strcoll2.c: New file.
9867         * locale/categories.def: Revert commit
9868         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9869         * locale/langinfo.h: Likewise.
9870         * locale/localeinfo.h: Likewise.
9871         * locale/C-collate.c: Likewise.
9872         * locale/programs/ld-collate.c (collate_output): Likewise.
9873         * string/strcoll_l.c (STRDIFF): Likewise.
9874         (STRCOLL): Likewise.
9875         * wcsmbs/wcscoll_l.c: Likewise.
9877 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9879         * math/libm-test.inc (lround_test_data): Do not expect the absence
9880         of "inexact" for some tests with non-integer arguments.
9881         (llround_test_data): Likewise.
9883         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9884         test.
9885         (libc_cv_cc_sse2avx): Likewise.
9886         * sysdeps/i386/configure: Regenerated.
9887         * sysdeps/i386/i686/multiarch/Makefile
9888         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9889         [$(subdir) = math].
9890         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9891         code unconditional.
9892         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9893         Likewise.
9894         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9895         Likewise.
9896         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9897         Likewise.
9898         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9899         test.
9900         (libc_cv_cc_sse2avx): Likewise.
9901         * sysdeps/x86_64/configure: Regenerated.
9902         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9903         unconditional.
9904         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9905         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9906         unconditional.
9907         (_dl_runtime_profile)
9908         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9909         conditional code.
9910         * sysdeps/x86_64/fpu/multiarch/Makefile
9911         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9912         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9913         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9914         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9915         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9916         * sysdeps/x86_64/fpu/multiarch/e_log.c
9917         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9918         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9919         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9920         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9921         Likewise.
9922         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9923         Likewise.
9924         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9925         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9926         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9927         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9928         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9929         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9930         (HAVE_SSE2AVX_SUPPORT): Likewise.
9932 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9934         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9935         instead of #pragma optimize.
9937 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9939         [BZ #17195]
9940         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9941         as is similarly done in systrim and _int_free already.
9943 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9945         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9947 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9949         [BZ #19088]
9950         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9951         <limits.h>.
9952         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9953         overflows but exception would not result from cast.
9954         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9955         and <limits.h>.
9956         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9957         overflows but exception would not result from cast.
9958         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9959         <limits.h>.
9960         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9961         overflows but exception would not result from cast.
9962         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9963         <limits.h>.
9964         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9965         overflows but exception would not result from cast.
9966         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9967         <limits.h>.
9968         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9969         overflows but exception would not result from cast.
9970         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9971         <limits.h>.
9972         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9973         overflows but exception would not result from cast.
9974         * math/libm-test.inc (lround_test_data): Add more tests.
9975         (llround_test_data): Likewise.
9977 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9979         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9980         (CFLAGS-ialloc.c): Ditto.
9981         (CFLAGS-scheck.c): Ditto.
9983 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9985         [BZ #19086]
9986         * manual/filesys.texi (Storage Allocation): Fix argument order for
9987         posix_fallocate64.
9989 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9991         [BZ #19085]
9992         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9993         exponent below 48 inside case for non-overflowing exponent.
9994         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9996 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9998         * iconvdata/cp737.h (from_idx): Add const.
9999         * iconvdata/cp775.h (from_idx): Likewise.
10001 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10003         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10004         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10005         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10007         [BZ #19079]
10008         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10009         file, conditioned on [!_LP64].
10010         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10011         [!_LP64] (__lround): Do not define as function or alias.
10012         [!_LP64] (lround): Likewise.
10013         [!_LP64] (__lroundl): Likewise.
10014         [!_LP64] (lroundl): Likewise.
10015         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10016         macro.
10017         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10018         Likewise.
10020 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10022         * math/libm-test.inc (lrint_test_data): Add more tests.
10023         (llrint_test_data): Likewise.
10024         (lround_test_data): Likewise.
10025         (llround_test_data): Likewise.
10027         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10028         (llrint_test_data): Add tests used for lrint.
10030         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10031         test.
10032         * sysdeps/i386/configure: Regenerated.
10033         * sysdeps/i386/i686/multiarch/Makefile
10034         [$(config-cflags-sse4) = yes]: Make code unconditional.
10035         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10036         Likewise.
10037         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10038         Likewise.
10039         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10040         test.
10041         * sysdeps/x86_64/configure: Regenerated.
10042         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10043         Make code unconditional.
10044         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10045         Likewise.
10046         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10047         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10049         * scripts/rpm2dynsym.sh: Remove file.
10051 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10053         * configure.ac (libc_cv_cxx_thread_local): Define.
10054         * configure: Regenerate.
10055         * config.make.in (have-cxx-thread_local): Define.
10056         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10057         (LDLIBS-tst-thread_local1): Define.
10058         (tests): Add tst-thread_local1.
10059         [have-cxx-thread_local != yes] (tests-unsupported): Add
10060         tst-thread_local1.
10061         * nptl/tst-thread_local1.cc: New file.
10063 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10065         [BZ #19078]
10066         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10067         (u_thres): Likewise.
10068         (__expl): Determine whether to call __kernel_standard_l based on
10069         value of result, not argument.
10071         * math/libm-test.inc (scalb_test_data): Add more expectations for
10072         the "inexact" exception.
10074         [BZ #19077]
10075         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10076         0.0L for argument 1.0L.
10078         [BZ #19076]
10079         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10080         constant 0.0L when computing infinite result.
10082 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10084         [BZ #10432]
10085         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10086         malloc_usable_size.
10088 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10090         [BZ #19018]
10091         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10092         Mangle function pointer before storing it.
10093         (__call_tls_dtors): Demangle function pointer before calling it.
10095 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10097         [BZ #19012]
10098         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10099         Clean up on failure.
10101 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10103         [BZ #19071]
10104         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10105         long int variable to store possibly incremented high part of
10106         mantissa.
10107         * math/libm-test.inc (lround_test_data): Add tests used for
10108         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10109         for tests requiring 64-bit long.  Do not condition tests on
10110         [TEST_FLOAT] unnecessarily.
10111         (llround_test_data): Add tests used for lround.  Add another
10112         expectation for the "inexact" exception.  Do not condition tests
10113         on [TEST_FLOAT] unnecessarily.
10115         [BZ #887]
10116         [BZ #19049]
10117         [BZ #19050]
10118         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10119         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10120         <fix-int-fp-convert-zero.h>.
10121         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10122         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10123         <fix-int-fp-convert-zero.h>.
10124         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10125         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10126         <fix-int-fp-convert-zero.h>.
10127         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10128         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10129         <fix-int-fp-convert-zero.h>.
10130         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10131         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10132         <fix-int-fp-convert-zero.h>.
10133         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10134         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10135         <fix-int-fp-convert-zero.h>.
10136         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10137         * sysdeps/ieee754/flt-32/s_erff.c: Include
10138         <fix-int-fp-convert-zero.h>.
10139         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10140         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10141         <fix-int-fp-convert-zero.h>.
10142         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10143         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10144         <fix-int-fp-convert-zero.h>.
10145         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10146         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10147         <fix-int-fp-convert-zero.h>.
10148         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10149         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10150         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10151         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10152         file.
10153         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10155 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10159 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10161         [BZ #19059]
10162         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10163         overflowing computation.
10164         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10165         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10166         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10167         Likewise.
10168         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10169         Likewise.
10170         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10171         Likewise.
10172         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10173         Likewise.
10174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10176         Likewise.
10177         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10178         Likewise.
10179         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10181         * nss/rewrite_field.c (__nss_rewrite_field): Use
10182         internal_function.
10183         * nss/valid_field.c (__nss_valid_field): Likewise.
10184         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10186 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10188         [BZ #18724]
10189         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10190         (__nss_invalid_field_characters, __nss_valid_field)
10191         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10192         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10193         tst-field.c: New file.
10194         * nss/Makefile (routines): Add valid_field, rewrite_field.
10195         (tests-static): Define unconditionally.
10196         (tests): Include tests-static.
10197         [build-static-nss] (tests-static): Use append.
10198         [build-static-nss] (tests): Remove modification.
10199         * nss/getent.c (print_group): Call putgrent.  Report error.
10200         (print_gshadow): Call putsgent.  Report error.
10201         (print_passwd): Call putpwent.  Report error.
10202         (print_shadow): Call putspent.  Report error.
10203         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10204         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10205         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10206         name, password, directory, shell fields for valid syntax.  Rewrite
10207         GECOS field to match syntax.
10208         * pwd/Makefile (tests): Add tst-putpwent.
10209         * pwd/tst-putpwent.c: New file.
10210         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10211         Check grName, grpasswd, gr_mem fields for valid syntax.
10212         Change loop variable i to size_t.
10213         * grp/Makefile (tests): Add tst-putgrent.
10214         * grp/tst-putgrent.c: New file.
10215         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10216         valid syntax.
10217         * shadow/Makefile (tests): Add tst-putspent.
10218         * shadow/tst-putspent.c: New file.
10219         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10220         sg_mem fields for valid syntax.
10221         * gshadow/Makefile (tests): Add tst-putsgent.
10222         * gshadow/tst-putsgent.c: New file.
10224 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10226         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10227         assembly instructions.
10229 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10231         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10232         prefix from operands.
10234 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10236         [BZ #16347]
10237         [BZ #19046]
10238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10239         <libc-internal.h>.
10240         (MAXLGM): Do not use diagnostic control macros.
10241         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10242         threshold for ldbl-128ibm.
10243         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10244         instead of multiplying by log then subtracting.
10245         * math/auto-libm-test-in: Add more tests of lgamma.
10246         * math/auto-libm-test-out: Regenerated.
10248         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10249         (TYPE_HEX_DIG): Likewise.
10250         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10251         precisions when printing floating-point numbers.
10252         (check_float_internal): Likewise.
10254 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10256         [BZ #16620]
10257         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10258         of log (10) rounded downward to 48 bits.
10259         (log10_low): Use corresponding low part of log (10).
10261         [BZ #19032]
10262         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10263         compute result as (x - x) / (x - x) not as 0 / 0.
10264         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10265         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10267         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10268         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10269         and expm1.
10270         * math/auto-libm-test-out: Regenerated.
10271         * math/libm-test.inc (acos_test_data): Add more tests.
10272         (asin_test_data): Likewise.
10273         (asinh_test_data): Likewise.
10274         (atan_test_data): Likewise.
10275         (atanh_test_data): Likewise.
10276         (atan2_test_data): Likewise.
10277         (cbrt_test_data): Likewise.
10278         (ceil_test_data): Likewise.
10279         (copysign_test_data): Likewise.
10280         (cos_test_data): Likewise.
10281         (cosh_test_data): Likewise.
10282         (erf_test_data): Likewise.
10283         (erfc_test_data): Likewise.
10284         (exp_test_data): Likewise.
10285         (exp10_test_data): Likewise.
10286         (exp2_test_data): Likewise.
10287         (expm1_test_data): Likewise.
10288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10290 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10292         [BZ #19006]
10293         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10294         to ...
10295         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10296         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10297         to ...
10298         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10299         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10300         to ...
10301         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10302         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10303         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10304         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10305         to ...
10306         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10307         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10308         Moved to ...
10309         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10311         Moved to ...
10312         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10313         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10314         to ...
10315         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10316         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10317         Moved to ...
10318         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10319         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10320         to ...
10321         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10322         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10323         Removed.
10324         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10325         Likewise.
10326         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10327         Likewise.
10328         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10329         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10330         Likewise.
10331         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10332         Likewise.
10333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10336         Likewise.
10337         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10342         Likewise.
10343         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10348         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10357         Likewise.
10358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10359         Replace ../i486/pthread_cond_timedwait.S with
10360         ../pthread_cond_timedwait.S.
10362 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10364         * math/libm-test.inc (acos_test_data): Refine expectations for
10365         errno and "inexact" exceptions.
10366         (acosh_test_data): Likewise.
10367         (asin_test_data): Likewise.
10368         (asinh_test_data): Likewise.
10369         (atan_test_data): Likewise.
10370         (atanh_test_data): Likewise.
10371         (atan2_test_data): Likewise.
10372         (cbrt_test_data): Likewise.
10373         (ceil_test_data): Likewise.
10374         (copysign_test_data): Likewise.
10375         (cosh_test_data): Likewise.
10376         (erf_test_data): Likewise.
10377         (erfc_test_data): Likewise.
10378         (exp_test_data): Likewise.
10379         (exp10_test_data): Likewise.
10380         (exp2_test_data): Likewise.
10381         (expm1_test_data): Likewise.
10382         (fabs_test_data): Likewise.
10383         (floor_test_data): Likewise.
10384         (fma_test_data): Likewise.
10385         (fmax_test_data): Likewise.
10386         (fmin_test_data): Likewise.
10387         (fmod_test_data): Likewise.
10388         (fpclassify_test_data): Likewise.
10389         (frexp_test_data): Likewise.
10390         (hypot_test_data): Likewise.
10391         (ilogb_test_data): Likewise.
10392         (isgreater_test_data): Likewise.
10393         (isgreaterequal_test_data): Likewise.
10394         (isinf_test_data): Likewise.
10395         (isless_test_data): Likewise.
10396         (islessequal_test_data): Likewise.
10397         (islessgreater_test_data): Likewise.
10398         (isnan_test_data): Likewise.
10399         (isnormal_test_data): Likewise.
10400         (issignaling_test_data): Likewise.
10401         (isunordered_test_data): Likewise.
10402         (j0_test_data): Likewise.
10403         (j1_test_data): Likewise.
10404         (jn_test_data): Likewise.
10405         (lgamma_test_data): Likewise.
10406         (lrint_test_data): Likewise.
10407         (llrint_test_data): Likewise.
10408         (log_test_data): Likewise.
10409         (log10_test_data): Likewise.
10410         (log1p_test_data): Likewise.
10411         (log2_test_data): Likewise.
10412         (logb_test_data): Likewise.
10413         (lround_test_data): Likewise.
10414         (llround_test_data): Likewise.
10415         (modf_test_data): Likewise.
10416         (nearbyint_test_data): Likewise.
10417         (nextafter_test_data): Likewise.
10418         (nexttoward_test_data): Likewise.
10419         (pow_test_data): Likewise.
10420         (remainder_test_data): Likewise.
10421         (remquo_test_data): Likewise.
10422         (rint_test_data): Likewise.
10423         (round_test_data): Likewise.
10424         (signbit_test_data): Likewise.
10425         (sinh_test_data): Likewise.
10426         (sqrt_test_data): Likewise.
10427         (tanh_test_data): Likewise.
10428         (tgamma_test_data): Likewise.
10429         (trunc_test_data): Likewise.
10430         (y0_test_data): Likewise.
10431         (y1_test_data): Likewise.
10432         (yn_test_data): Likewise.
10433         (significand_test_data): Likewise.
10435 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10437         * manual/filesys.texi (Storage Allocation): Document that
10438         posix_fallocate emulation fails when fd is open with O_WRONLY.
10440 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10442         [BZ #19016]
10443         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10444         allow more cases with X^2 + Y^2 >= 0.5.
10445         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10446         normal element in sum instead of special-casing based on values of
10447         arguments.
10448         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10449         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10450         -1 as normal element in sum instead of special-casing based on
10451         values of arguments.
10452         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10453         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10454         (__x2y2m1): Update comment.
10455         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10456         as normal element in sum instead of special-casing based on values
10457         of arguments.
10458         * math/s_clog.c (__clog): Handle more cases using log1p without
10459         hypot.
10460         * math/s_clog10.c (__clog10): Likewise.
10461         * math/s_clog10f.c (__clog10f): Likewise.
10462         * math/s_clog10l.c (__clog10l): Likewise.
10463         * math/s_clogf.c (__clogf): Likewise.
10464         * math/s_clogl.c (__clogl): Likewise.
10465         * math/auto-libm-test-in: Add more tests of clog and clog10.
10466         * math/auto-libm-test-out: Regenerated.
10467         * sysdeps/i386/fpu/libm-test-ulps: Update.
10468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10470 2015-09-28  Martin Sebor  <msebor@redhat.com>
10472         [BZ #18969]
10473         * string/Makefile (LOCALES): Define.
10474         (gen-locales.mk): Include.
10475         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10476         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10477         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10478         on setlocale failure.
10480 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10482         [BZ #18985]
10483         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10484         (__strftime_internal): Likewise.
10485         * time/tst-strftime.c (do_bz18985): New test.
10486         (do_test): Call it.
10488 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10490         [BZ #18956]
10491         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10492         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10493         extracting high part.
10494         * math/auto-libm-test-in: Add another test of pow.
10495         * math/auto-libm-test-out: Regenerated.
10496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10498 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10500         [BZ #18825]
10501         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10502         New macro.
10503         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10504         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10505         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10506         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10507         DBL_NARROW_EVAL, reloading the PIC register as needed.
10508         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10509         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10510         FLT_NARROW_EVAL.  Use separate return path for case when first
10511         argument is NaN.
10512         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10513         DEFINE_LDBL_MIN.
10514         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10515         PIC register.
10516         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10517         math_check_force_underflow_nonneg.
10518         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10519         underflow for subnormal result.
10520         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10522         math_check_force_underflow_nonneg.
10523         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10524         math_check_force_underflow.
10525         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10526         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10527         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10528         DEFINE_LDBL_MIN.
10529         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10530         * math/auto-libm-test-in: Add more tests of pow.
10531         * math/auto-libm-test-out: Regenerated.
10533 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10535         * nss/bug17079.c (init_test_items): Add diagnostic for
10536         inconsistent entries.
10537         (test_buffer_size): Skip inconsistent entries.
10539 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10541         [BZ #13304]
10542         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10543         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10544         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10546         [BZ #13304]
10547         * sysdeps/microblaze/s_fma.c: New file.
10548         * sysdeps/microblaze/s_fmaf.c: Likewise.
10549         * sysdeps/microblaze/sfp-machine.h: Likewise.
10551 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10553         [BZ #17250]
10554         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10555         member.
10557 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10559         [BZ #18803]
10560         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10561         (MO): New macro.
10562         (__ieee754_hypot) [PIC]: Load PIC register.
10563         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10564         DBL_NARROW_EVAL.
10565         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10566         math_check_force_underflow_nonneg in case where result might be
10567         tiny.
10568         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10569         Likewise.
10570         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10571         Likewise.
10572         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10573         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10574         * math/auto-libm-test-in: Add more tests of hypot.
10575         * math/auto-libm-test-out: Regenerated.
10577 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10579         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10581 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10583         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10584         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10585         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10586         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10587         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10588         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10589         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10591         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10592         LOAD_PIC_REG.
10594         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10595         (FLT_CHECK_FORCE_UFLOW): Likewise.
10596         (DBL_CHECK_FORCE_UFLOW): Likewise.
10597         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10598         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10599         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10600         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10601         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10602         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10603         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10604         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10605         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10606         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10607         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10608         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10609         (flt_min): Replace with use of DEFINE_FLT_MIN.
10610         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10611         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10613         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10614         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10615         (flt_min): Replace with use of DEFINE_FLT_MIN.
10616         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10617         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10618         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10619         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10620         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10621         (flt_min): Replace with use of DEFINE_FLT_MIN.
10622         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10623         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10624         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10625         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10626         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10627         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10628         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10629         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10630         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10631         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10632         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10633         (flt_min): Replace with use of DEFINE_FLT_MIN.
10634         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10635         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10636         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10637         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10638         main computation.
10639         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10640         (flt_min): Replace with use of DEFINE_FLT_MIN.
10641         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10642         main computation.
10643         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10644         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10645         (MO): New macro.
10646         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10647         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10648         (flt_min): Replace with use of DEFINE_FLT_MIN.
10649         (MO): New macro.
10650         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10651         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10652         (__log1pl): Use MO.
10654         [BZ #19003]
10655         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10656         $(config-cflags-nofma).
10658 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10660         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10662 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10664         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10665         (TWO127): Likewise.
10667         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10668         (min_of_type): Likewise.
10669         (math_check_force_underflow): Likewise.
10670         (math_check_force_underflow_nonneg): Likewise.
10671         (math_check_force_underflow_complex): Likewise.
10672         * math/e_exp2l.c (__ieee754_exp2l): Use
10673         math_check_force_underflow_nonneg.
10674         * math/k_casinh.c (__kernel_casinh): Likewise.
10675         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10676         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10677         * math/s_catan.c (__catan): Use
10678         math_check_force_underflow_complex.
10679         * math/s_catanf.c (__catanf): Likewise.
10680         * math/s_catanh.c (__catanh): Likewise.
10681         * math/s_catanhf.c (__catanhf): Likewise.
10682         * math/s_catanhl.c (__catanhl): Likewise.
10683         * math/s_catanl.c (__catanl): Likewise.
10684         * math/s_ccosh.c (__ccosh): Likewise.
10685         * math/s_ccoshf.c (__ccoshf): Likewise.
10686         * math/s_ccoshl.c (__ccoshl): Likewise.
10687         * math/s_cexp.c (__cexp): Likewise.
10688         * math/s_cexpf.c (__cexpf): Likewise.
10689         * math/s_cexpl.c (__cexpl): Likewise.
10690         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10691         * math/s_clog10.c (__clog10): Likewise.
10692         * math/s_clog10f.c (__clog10f): Likewise.
10693         * math/s_clog10l.c (__clog10l): Likewise.
10694         * math/s_clogf.c (__clogf): Likewise.
10695         * math/s_clogl.c (__clogl): Likewise.
10696         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10697         * math/s_csinf.c (__csinf): Likewise.
10698         * math/s_csinh.c (__csinh): Likewise.
10699         * math/s_csinhf.c (__csinhf): Likewise.
10700         * math/s_csinhl.c (__csinhl): Likewise.
10701         * math/s_csinl.c (__csinl): Likewise.
10702         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10703         * math/s_csqrtf.c (__csqrtf): Likewise.
10704         * math/s_csqrtl.c (__csqrtl): Likewise.
10705         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10706         * math/s_ctanf.c (__ctanf): Likewise.
10707         * math/s_ctanh.c (__ctanh): Likewise.
10708         * math/s_ctanhf.c (__ctanhf): Likewise.
10709         * math/s_ctanhl.c (__ctanhl): Likewise.
10710         * math/s_ctanl.c (__ctanl): Likewise.
10711         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10712         instead of volatile.
10713         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10714         math_check_force_underflow.
10715         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10716         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10717         volatile when forcing underflow.
10718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10719         math_check_force_underflow_nonneg.
10720         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10721         Likewise.
10722         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10723         math_check_force_underflow.
10724         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10725         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10726         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10727         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10728         math_check_force_underflow_nonneg.
10729         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10730         math_check_force_underflow.
10731         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10733         instead of volatile.
10734         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10735         math_check_force_underflow.
10736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10737         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10738         math_check_force_underflow_nonneg.
10739         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10740         math_check_force_underflow.
10741         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10742         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10743         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10744         math_check_force_underflow_nonneg.
10745         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10746         Likewise.
10747         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10748         math_check_force_underflow.
10749         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10750         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10751         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10752         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10753         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10754         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10755         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10756         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10757         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10758         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10759         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10760         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10761         Likewise.
10762         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10763         math_check_force_underflow_nonneg.
10764         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10765         Likewise.
10766         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10767         math_check_force_underflow.
10768         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10769         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10770         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10771         Likewise.
10772         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10773         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10774         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10775         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10776         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10777         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10778         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10779         instead of volatile.
10780         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10781         math_check_force_underflow.
10782         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10783         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10784         math_check_force_underflow.
10785         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10786         Likewise.
10787         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10788         Use math_check_force_underflow_nonneg.
10789         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10790         math_check_force_underflow.
10791         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10792         Likewise.
10793         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10794         Likewise.
10795         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10800         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10801         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10802         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10803         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10804         math_check_force_underflow_nonneg.
10805         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10806         math_check_force_underflow.
10807         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10808         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10809         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10810         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10811         math_check_force_underflow_nonneg.
10812         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10813         math_check_force_underflow.
10814         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10816         instead of volatile.
10817         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10818         math_check_force_underflow.
10820         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10821         * stdlib/strtod_l.c: Include <math_private.h>.
10822         (overflow_value): Use math_narrow_eval.
10823         (underflow_value): Likewise.
10824         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10825         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10826         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10827         (__ieee754_gamma_r): Likewise.
10828         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10829         Likewise.
10830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10831         Likewise.
10832         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10833         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10834         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10835         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10836         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10837         (__ieee754_gammaf_r): Likewise.
10838         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10839         Likewise.
10840         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10841         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10842         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10843         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10844         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10845         volatile.
10846         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10848         math_narrow_eval.
10849         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10850         Likewise.
10851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10852         Likewise.
10853         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10854         Likewise.
10855         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10856         volatile.
10857         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10858         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10859         math_narrow_eval.
10860         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10861         Likewise.
10862         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10863         Likewise.
10865 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10867         * nptl/Versions: Remove ignored symbols.
10869 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10871         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10872         * nss/Makefile (tests): Update.
10874 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10876         * nss/bug18287.c: New file.
10877         * nss/Makefile (tests): Add bug18287.
10879 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10881         * mach/Versions (__mach_host_self_): Add symbol.
10883 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10885         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10886         vm_page_size.
10888 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10890         Really fix sysdeps/i386/fpu/s_scalbn.S build
10892         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10893         (libc: GLIBC_2_22): Remove unused version set.
10895 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10897         * config.make.in (enable-timezone-tools): New variable.
10898         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10899         (enable_timezone_tools): Export to generated files.
10900         * configure: Regenerate.
10901         * INSTALL: Regenerate.
10902         * manual/install.texi (--disable-timezone-tools): Document new flag.
10903         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10904         ifeq ($(enable-timezone-tools),yes) check.
10906 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10908         * timezone/Makefile: Revert previous change.
10910         [BZ #18980]
10911         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10912         (DEFINE_DBL_MIN): Likewise.
10913         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10914         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10915         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10916         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10917         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10918         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10919         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10920         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10921         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10922         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10923         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10924         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10925         (flt_min): Replace with use of DEFINE_FLT_MIN.
10926         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10927         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10928         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10929         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10930         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10931         (flt_min): Replace with use of DEFINE_FLT_MIN.
10932         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10933         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10934         (flt_min): Replace with use of DEFINE_FLT_MIN.
10935         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10936         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10937         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10938         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10939         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10940         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10941         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10942         (__ieee754_pow): Use DBL_NARROW_EVAL.
10943         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10944         (__ieee754_powf): Use FLT_NARROW_EVAL.
10945         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10946         (__ieee754_expf_sse2): Convert double-precision result to single
10947         precision.
10948         * sysdeps/i386/fpu/libm-test-ulps: Update.
10950 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10952         * timezone/Makefile: Ignore unused variable errors due to private.h
10953         (time_t_min) and (time_t_max).
10954         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10955         Likewise.
10957 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10959         [BZ #18981]
10960         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10961         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10962         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10963         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10964         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10965         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10966         (__scalbn): Use DBL_NARROW_EVAL.
10967         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10968         (__scalbnf): Use FLT_NARROW_EVAL.
10970 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10972         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10973         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10974         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10975         * stdio-common/printf_fp.c (___printf_fp):
10976         Use signbit to get the sign. Use isinf macro to allow inlining.
10977         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10978         * stdio-common/printf_size.c (__printf_size): Likewise.
10980 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10982         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10984 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10986         [BZ #18980]
10987         * sysdeps/generic/math_private.h: Include <float.h>.
10988         (math_narrow_eval): New macro.
10989         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10990         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10991         math_narrow_eval on overflowing return value.
10992         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10993         Likewise.
10994         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10995         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10996         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10997         Likewise.
10998         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11000 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11002         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11003         * math/Makefile: Remove isinf_ns.c.
11004         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11005         * math/multc3.c (__multc3): Likewise.
11006         * math/s_casin.c (__casin): Likewise.
11007         * math/s_casinf.c (__casinf): Likewise.
11008         * math/s_casinl.c (__casinl): Likewise.
11009         * math/s_cproj.c (__cproj): Likewise.
11010         * math/s_cprojf.c (__cprojf): Likewise.
11011         * math/s_cprojl.c (__cprofl): Likewise.
11012         * math/s_ctan.c (__ctan): Likewise.
11013         * math/s_ctanf.c (__ctanf): Likewise.
11014         * math/s_ctanh.c (__ctanh): Likewise.
11015         * math/s_ctanhf.c (__ctanhf): Likewise.
11016         * math/s_ctanhl.c (__ctanhl): Likewise.
11017         * math/s_ctanl.c (__ctanl): Likewise.
11018         * math/w_fmod.c (__fmod): Likewise.
11019         * math/w_fmodf.c (__fmodf): Likewise.
11020         * math/w_fmodl.c (_fmodl): Likewise.
11021         * math/w_remainder.c (__remainder): Likewise.
11022         * math/w_remainderf.c (__remainderf): Likewise.
11023         * math/w_remainderl.c (__remainderl): Likewise.
11024         * math/w_scalb.c (__scalb): Likewise.
11025         * math/w_scalbf.c (__scalbf): Likewise.
11026         * math/w_scalbl.c (__scalbl): Likewise.
11027         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11028         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11029         with isinf.
11030         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11031         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11032         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11033         __isinf_nsf with isinf.
11034         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11035         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11036         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11037         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11038         with isinf.
11039         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11040         __isinf_nsl with isinf.
11041         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11042         with isinf.
11043         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11044         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11045         __isinf_nsl with isinf.
11046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11047         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11048         with isinf.
11050 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11052         * resolv/base64.c (rcsid): Remove unused static.
11053         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11054         static.  (tqpi1): Likewise.
11055         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11056         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11057         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11058         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11060         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11061         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11062         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11063         Likewise.
11065 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11067         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11068         <nptl/pthreadP.h>.
11069         (_longjmp_unwind): Use __libc_ptf_call.
11070         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11072 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11074         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11075         * sysdeps/arm/__longjmp.S: Likewise.
11077 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11079         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11080         Use __builtin_signbit.
11081         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11082         Use __builtin_signbitf.
11083         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11084         Use __builtin_signbitl.
11085         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11086         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11088 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11090         [BZ #15367]
11091         [BZ #17441]
11093         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11094         * math/math.h (fpclassify): Use __builtin_fpclassify when
11095         available.  (signbit): Use __builtin_signbit(f/l).
11096         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11097         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11098         (isinf): Use __builtin_isinf_sign.
11100 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11102         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11103         * benchtests/bench-math-inlines.c: New benchmark.
11104         * benchtests/bench-util.h: New file.
11105         * benchtests/bench-util.c: New file.
11106         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11108 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11110         * elf/tst-dlmopen1.c: Define TEST_SO.
11111         (do_test): Use TEST_SO.
11113         * elf/dl-load.c: Include libc-internal.h.
11114         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11116 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11118         [BZ #17887]
11119         * time/strptime_l.c (__strptime_internal): Make %z accept
11120         [+-]HH:MM time zones.
11122 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11124         [BZ #17886]
11125         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11126         valid time zone.
11128 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11130         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11131         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11132         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11133         (__ASSUME_FDATASYNC): Delete.
11135 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11137         * conform/linknamespace.pl: Require weak undefined symbols to be
11138         in the standard namespace.
11139         (%strong_syms): Rename to %seen_syms.
11140         (%strong_seen): Rename to %seen_where.
11142 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11144         [BZ #18970]
11145         * misc/error.c (error): Replace pthread_setcancelstate with
11146         __pthread_setcancelstate.
11147         (error_at_line): Likewise.
11148         * posix/wordexp.c (parse_comm): Likewise.
11149         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11150         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11151         (__pthread_setcancelstate): This.
11152         (pthread_setcancelstate): Add an alias.
11153         * nptl/nptl-init.c (pthread_functions): Replace
11154         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11155         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11156         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11157         hidden_proto.
11158         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11159         it with hidden_def.
11160         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11161         (pthread_setcancelstate): Renamed to ...
11162         (__pthread_setcancelstate): This.
11163         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11164         __libc_ptf_call with __pthread_setcancelstate.
11166 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11167             Andreas Schwab  <schwab@suse.de>
11169         [BZ #17118]
11170         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11171         result when imaginary part of argument is infinite using sine and
11172         cosine.
11173         * math/s_ctanf.c (__ctanf): Likewise.
11174         * math/s_ctanl.c (__ctanl): Likewise.
11175         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11176         of result when real part of argument is infinite using sine and
11177         cosine.
11178         * math/s_ctanhf.c (__ctanhf): Likewise.
11179         * math/s_ctanhl.c (__ctanhl): Likewise.
11180         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11181         (ctanh_test_data): Add more tests of ctanh.
11183 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11185         [BZ #15384]
11186         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11187         bit-mask as in subtraction.
11188         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11189         Likewise.
11190         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11191         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11192         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11194         [BZ #18951]
11195         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11196         underflow exception for small results.
11197         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11198         Likewise.
11199         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11200         Likewise.
11201         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11202         Likewise.
11203         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11204         Likewise.
11205         * math/auto-libm-test-in: Add more tests of tgamma.
11206         * math/auto-libm-test-out: Regenerated.
11208 2015-09-17  Andreas Schwab  <schwab@suse.de>
11210         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11212 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11214         [BZ #18977]
11215         * math/bits/mathcalls.h
11216         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11217         not declare.
11218         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11219         Likewise.
11220         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11221         Likewise.
11222         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11223         Likewise.
11224         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11225         Likewise.
11226         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11227         Likewise.
11228         * conform/data/math.h-data
11229         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11230         function.
11231         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11232         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11233         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11234         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11235         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11236         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11237         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11238         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11239         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11240         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11241         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11243         [BZ #6803]
11244         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11245         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11246         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11247         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11248         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11249         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11250         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11251         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11252         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11253         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11254         Likewise.
11255         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11256         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11257         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11259         long_double_symbol calls.
11260         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11261         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11262         strong alias of __ldexpl.
11263         (scalbnl): Define using long_double_symbol.
11264         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11265         Remove alias.
11266         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11267         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11268         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11269         (scalbln_test_data): Add more errno expectations.
11271 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11273         Cache the host port like we cache the task port.  This way we do not
11274         need to call the kernel just to get the port.  Furthermore, we no
11275         longer increase the reference count on every invocation of
11276         `mach_host_self'.
11278         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11279         Protect declarations against the macro expansion.
11280         * mach/mach_init.c (__mach_host_self_): New variable.
11281         (mach_init): Initialize `__mach_host_self_'.
11282         * mach/mach_init.h (__mach_host_self_): New declaration.
11283         (__mach_host_self, mach_host_self): New macros.
11284         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11285         Release reference.
11287 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11289         [BZ #4404]
11290         * po/de.po: Update from Translation Project.
11292         [BZ #16415]
11293         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11294         (__expm1l): Remove code to handle positive infinity and overflow.
11295         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11296         variable.
11297         (__expm1l): Remove code to handle positive infinity and overflow.
11299 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11300             Paul Pluzhnikov  <ppluzhnikov@google.com>
11302         [BZ #18872]
11303         * stdio-common/Makefile (tst-printf-bz18872): New test.
11304         (tst-printf-bz18872-mem.out): Likewise.
11305         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11306         * stdio-common/vfprintf.c: Fix memory leaks.
11308 2015-09-16  Andreas Schwab  <schwab@suse.de>
11310         [BZ #17244]
11311         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11312         Remove extra va_start/va_end calls.
11314         [BZ #17243]
11315         * posix/execl.c (execl): Add missing va_end.
11316         * posix/execle.c (execle): Likewise.
11317         * posix/execlp.c (execlp): Likewise.
11319 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11321         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11322         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11324 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11326         [BZ #18967]
11327         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11328         undefine around includes of <bits/mathcalls.h>.
11329         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11330         not declare function.
11331         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11332         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11333         (scalb): Likewise.
11334         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11335         not define macro.
11336         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11337         variable.
11338         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11339         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11340         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11342         [BZ #18857]
11343         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11344         return non-finite argument without doing ordered comparisons on
11345         it.
11347         [BZ #16296]
11348         * math/fenv.h (fegetround): Use __attribute_pure__.
11349         * include/fenv.h (__fegetround): Likewise.
11351         [BZ #18595]
11352         * math/s_ctan.c (__ctan): Force underflow exception for results
11353         whose real or imaginary part has small absolute value.
11354         * math/s_ctanf.c (__ctanf): Likewise.
11355         * math/s_ctanh.c (__ctanh): Likewise.
11356         * math/s_ctanhf.c (__ctanhf): Likewise.
11357         * math/s_ctanhl.c (__ctanhl): Likewise.
11358         * math/s_ctanl.c (__ctanl): Likewise.
11359         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11360         and ctanh.  Add more tests of ctan and ctanh.
11362         [BZ #15918]
11363         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11364         handling of cases where one argument is an infinity.
11366         [BZ #18875]
11367         [BZ #18966]
11368         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11369         (MO): New macro.
11370         (__ieee754_exp10): For small results, force underflow exception
11371         and remove excess range and precision from return value.
11372         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11373         (MO): New macro.
11374         (__ieee754_exp10f): For small results, force underflow exception
11375         and remove excess range and precision from return value.
11376         * math/auto-libm-test-in: Add more tests of exp10.
11377         * math/auto-libm-test-out: Regenerated.
11379 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11381         [BZ #18875]
11382         [BZ #18961]
11383         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11384         (MO): New macro.
11385         (__ieee754_exp): For small results, force underflow exception and
11386         remove excess range and precision from return value.
11387         (__exp_finite): Likewise.
11388         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11389         (MO): New macro.
11390         (__ieee754_expf): For small results, force underflow exception and
11391         remove excess range and precision from return value.
11392         (__expf_finite): Likewise.
11393         * math/auto-libm-test-in: Add more tests of exp.
11394         * math/auto-libm-test-out: Regenerated.
11396         [BZ #16521]
11397         [BZ #18875]
11398         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11399         small results.
11400         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11401         (MO): New macro.
11402         (__ieee754_exp2): For small results, force underflow exception and
11403         remove excess range and precision from return value.
11404         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11405         (MO): New macro.
11406         (__ieee754_exp2f): For small results, force underflow exception
11407         and remove excess range and precision from return value.
11408         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11409         (MO): New macro.
11410         (__ieee754_exp2l): Force underflow exception for small results.
11411         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11412         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11413         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11414         (MO): New macro.
11415         (__ieee754_exp2l): Force underflow exception for small results.
11416         * math/auto-libm-test-in: Add more tests or exp2.
11417         * math/auto-libm-test-out: Regenerated.
11419 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11421         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11423         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11424         /dev/null.
11426 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11428         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11429         io fs process)): Drop spurious backslash.
11431 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11434         Use sysinfo system call instead of parsing /proc/meminfo.
11435         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11436         Likewise.
11438 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11440         [BZ #16985]
11441         * programs/localedef.c (main): Display argv[remaining] when
11442         output_path is NULL.
11444 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11446         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11447         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11448         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11449         tanh.
11450         * math/auto-libm-test-out: Regenerated.
11451         * sysdeps/i386/fpu/libm-test-ulps: Update.
11452         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11453         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11456 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11458         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11459         Use 'override' keyword to freeze the value here, preventing
11460         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11462 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11464         [BZ #14912]
11465         * sysdeps/aarch64/bits/atomic.h: Move to ...
11466         * sysdeps/aarch64/atomic-machine.h: ...here.
11467         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11468         _AARCH64_ATOMIC_MACHINE_H.
11469         * sysdeps/alpha/bits/atomic.h: Move to ...
11470         * sysdeps/alpha/atomic-machine.h: ...here.
11471         * sysdeps/arm/bits/atomic.h: Move to ...
11472         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11473         * bits/atomic.h: Move to ...
11474         * sysdeps/generic/atomic-machine.h: ...here.
11475         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11476         * sysdeps/i386/bits/atomic.h: Move to ...
11477         * sysdeps/i386/atomic-machine.h: ...here.
11478         * sysdeps/ia64/bits/atomic.h: Move to ...
11479         * sysdeps/ia64/atomic-machine.h: ...here.
11480         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11481         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11482         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11483         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11484         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11485         * sysdeps/microblaze/bits/atomic.h: Move to ...
11486         * sysdeps/microblaze/atomic-machine.h: ...here.
11487         * sysdeps/mips/bits/atomic.h: Move to ...
11488         * sysdeps/mips/atomic-machine.h: ...here.
11489         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11490         * sysdeps/powerpc/bits/atomic.h: Move to ...
11491         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11492         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11493         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11494         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11495         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11496         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11497         <atomic-machine.h> instead of <bits/atomic.h>.
11498         * sysdeps/s390/bits/atomic.h: Move to ...
11499         * sysdeps/s390/atomic-machine.h: ...here.
11500         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11501         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11502         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11503         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11504         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11505         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11506         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11507         * sysdeps/tile/bits/atomic.h: Move to ...
11508         * sysdeps/tile/atomic-machine.h: ...here.
11509         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11510         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11511         <sysdeps/tile/atomic-machine.h> instead of
11512         <sysdeps/tile/bits/atomic.h>.
11513         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11514         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11515         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11516         <sysdeps/tile/atomic-machine.h> instead of
11517         <sysdeps/tile/bits/atomic.h>.
11518         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11519         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11520         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11521         <sysdeps/arm/atomic-machine.h> instead of
11522         <sysdeps/arm/bits/atomic.h>.
11523         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11524         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11525         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11526         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11527         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11528         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11529         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11530         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11531         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11532         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11533         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11534         * sysdeps/x86_64/bits/atomic.h: Move to ...
11535         * sysdeps/x86_64/atomic-machine.h: ...here.
11536         * include/atomic.h: Include <atomic-machine.h> instead of
11537         <bits/atomic.h>.
11539         * sysdeps/mips/mips32/libm-test-ulps: Update.
11540         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11542         [BZ #18952]
11543         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11544         not convert non-integer negative arguments to int to determine the
11545         value of signgam.
11546         * math/auto-libm-test-in: Add more tests of lgamma.
11547         * math/auto-libm-test-out: Regenerated.
11549         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11550         cosh, csqrt, erfc, expm1 and lgamma.
11551         * math/auto-libm-test-out: Regenerated.
11552         * sysdeps/i386/fpu/libm-test-ulps: Update.
11553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11555 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11557         [BZ #2542]
11558         [BZ #2543]
11559         [BZ #2558]
11560         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11561         __lgamma_neg for arguments from -28.0 to -2.0.
11562         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11563         __lgamma_negf for arguments from -15.0 to -2.0.
11564         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11565         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11566         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11567         Call __lgamma_negl for arguments from -33.0 to -2.0.
11568         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11569         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11570         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11571         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11574         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11575         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11576         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11577         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11578         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11579         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11580         (__lgamma_neg): Likewise.
11581         (__lgamma_negl): Likewise.
11582         (__lgamma_product): Likewise.
11583         (__lgamma_productl): Likewise.
11584         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11585         * math/auto-libm-test-in: Add more tests of lgamma.
11586         * math/auto-libm-test-out: Regenerated.
11587         * sysdeps/i386/fpu/libm-test-ulps: Update.
11588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11590 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11592         [BZ #18675]
11593         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11595 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11597         [BZ #14912]
11598         * bits/libc-lock.h: Move to ...
11599         * sysdeps/generic/libc-lock.h: ...here.
11600         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11601         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11602         * sysdeps/mach/hurd/libc-lock.h: ...here.
11603         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11604         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11605         * sysdeps/mach/bits/libc-lock.h: Move to ...
11606         * sysdeps/mach/libc-lock.h: ...here.
11607         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11608         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11609         * sysdeps/nptl/libc-lock.h: ...here.
11610         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11611         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11612         * sysdeps/nptl/libc-lockP.h: ...here.
11613         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11614         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11615         <bits/libc-lock.h>.
11616         * dirent/scandir-tail.c: Likewise.
11617         * dlfcn/dlerror.c: Likewise.
11618         * elf/dl-close.c: Likewise.
11619         * elf/dl-iteratephdr.c: Likewise.
11620         * elf/dl-lookup.c: Likewise.
11621         * elf/dl-open.c: Likewise.
11622         * elf/dl-support.c: Likewise.
11623         * elf/dl-writev.h: Likewise.
11624         * elf/rtld.c: Likewise.
11625         * grp/fgetgrent.c: Likewise.
11626         * gshadow/fgetsgent.c: Likewise.
11627         * gshadow/sgetsgent.c: Likewise.
11628         * iconv/gconv_conf.c: Likewise.
11629         * iconv/gconv_db.c: Likewise.
11630         * iconv/gconv_dl.c: Likewise.
11631         * iconv/gconv_int.h: Likewise.
11632         * iconv/gconv_trans.c: Likewise.
11633         * include/link.h: Likewise.
11634         * inet/getnameinfo.c: Likewise.
11635         * inet/getnetgrent.c: Likewise.
11636         * inet/getnetgrent_r.c: Likewise.
11637         * intl/bindtextdom.c: Likewise.
11638         * intl/dcigettext.c: Likewise.
11639         * intl/finddomain.c: Likewise.
11640         * intl/gettextP.h: Likewise.
11641         * intl/loadmsgcat.c: Likewise.
11642         * intl/localealias.c: Likewise.
11643         * intl/textdomain.c: Likewise.
11644         * libidn/idn-stub.c: Likewise.
11645         * libio/libioP.h: Likewise.
11646         * locale/duplocale.c: Likewise.
11647         * locale/freelocale.c: Likewise.
11648         * locale/newlocale.c: Likewise.
11649         * locale/setlocale.c: Likewise.
11650         * login/getutent_r.c: Likewise.
11651         * login/getutid_r.c: Likewise.
11652         * login/getutline_r.c: Likewise.
11653         * login/utmp-private.h: Likewise.
11654         * login/utmpname.c: Likewise.
11655         * malloc/mtrace.c: Likewise.
11656         * misc/efgcvt.c: Likewise.
11657         * misc/error.c: Likewise.
11658         * misc/fstab.c: Likewise.
11659         * misc/getpass.c: Likewise.
11660         * misc/mntent.c: Likewise.
11661         * misc/syslog.c: Likewise.
11662         * nis/nis_call.c: Likewise.
11663         * nis/nis_callback.c: Likewise.
11664         * nis/nss-default.c: Likewise.
11665         * nis/nss_compat/compat-grp.c: Likewise.
11666         * nis/nss_compat/compat-initgroups.c: Likewise.
11667         * nis/nss_compat/compat-pwd.c: Likewise.
11668         * nis/nss_compat/compat-spwd.c: Likewise.
11669         * nis/nss_nis/nis-alias.c: Likewise.
11670         * nis/nss_nis/nis-ethers.c: Likewise.
11671         * nis/nss_nis/nis-grp.c: Likewise.
11672         * nis/nss_nis/nis-hosts.c: Likewise.
11673         * nis/nss_nis/nis-network.c: Likewise.
11674         * nis/nss_nis/nis-proto.c: Likewise.
11675         * nis/nss_nis/nis-pwd.c: Likewise.
11676         * nis/nss_nis/nis-rpc.c: Likewise.
11677         * nis/nss_nis/nis-service.c: Likewise.
11678         * nis/nss_nis/nis-spwd.c: Likewise.
11679         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11680         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11681         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11682         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11683         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11684         * nis/nss_nisplus/nisplus-network.c: Likewise.
11685         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11686         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11687         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11688         * nis/nss_nisplus/nisplus-service.c: Likewise.
11689         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11690         * nis/ypclnt.c: Likewise.
11691         * nptl/libc_pthread_init.c: Likewise.
11692         * nss/getXXbyYY.c: Likewise.
11693         * nss/getXXent.c: Likewise.
11694         * nss/getXXent_r.c: Likewise.
11695         * nss/nss_db/db-XXX.c: Likewise.
11696         * nss/nss_db/db-netgrp.c: Likewise.
11697         * nss/nss_db/nss_db.h: Likewise.
11698         * nss/nss_files/files-XXX.c: Likewise.
11699         * nss/nss_files/files-alias.c: Likewise.
11700         * nss/nsswitch.c: Likewise.
11701         * posix/regex_internal.h: Likewise.
11702         * posix/wordexp.c: Likewise.
11703         * pwd/fgetpwent.c: Likewise.
11704         * resolv/res_hconf.c: Likewise.
11705         * resolv/res_libc.c: Likewise.
11706         * shadow/fgetspent.c: Likewise.
11707         * shadow/lckpwdf.c: Likewise.
11708         * shadow/sgetspent.c: Likewise.
11709         * socket/opensock.c: Likewise.
11710         * stdio-common/reg-modifier.c: Likewise.
11711         * stdio-common/reg-printf.c: Likewise.
11712         * stdio-common/reg-type.c: Likewise.
11713         * stdio-common/vfprintf.c: Likewise.
11714         * stdio-common/vfscanf.c: Likewise.
11715         * stdlib/abort.c: Likewise.
11716         * stdlib/cxa_atexit.c: Likewise.
11717         * stdlib/fmtmsg.c: Likewise.
11718         * stdlib/random.c: Likewise.
11719         * stdlib/setenv.c: Likewise.
11720         * string/strsignal.c: Likewise.
11721         * sunrpc/auth_none.c: Likewise.
11722         * sunrpc/bindrsvprt.c: Likewise.
11723         * sunrpc/create_xid.c: Likewise.
11724         * sunrpc/key_call.c: Likewise.
11725         * sunrpc/rpc_thread.c: Likewise.
11726         * sysdeps/arm/backtrace.c: Likewise.
11727         * sysdeps/generic/ldsodefs.h: Likewise.
11728         * sysdeps/generic/stdio-lock.h: Likewise.
11729         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11730         * sysdeps/i386/backtrace.c: Likewise.
11731         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11732         * sysdeps/m68k/backtrace.c: Likewise.
11733         * sysdeps/mach/hurd/cthreads.c: Likewise.
11734         * sysdeps/mach/hurd/dirstream.h: Likewise.
11735         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11736         * sysdeps/nptl/malloc-machine.h: Likewise.
11737         * sysdeps/nptl/stdio-lock.h: Likewise.
11738         * sysdeps/posix/dirstream.h: Likewise.
11739         * sysdeps/posix/getaddrinfo.c: Likewise.
11740         * sysdeps/posix/system.c: Likewise.
11741         * sysdeps/pthread/aio_suspend.c: Likewise.
11742         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11743         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11744         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11745         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11746         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11747         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11748         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11749         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11750         * sysdeps/unix/sysv/linux/system.c: Likewise.
11751         * sysdeps/x86_64/backtrace.c: Likewise.
11752         * time/alt_digit.c: Likewise.
11753         * time/era.c: Likewise.
11754         * time/tzset.c: Likewise.
11755         * wcsmbs/wcsmbsload.c: Likewise.
11756         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11757         instead of <bits/libc-lock.h> in comment.
11759 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11761         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11762         Only use .set mips2 if the current ISA is below mips2.
11763         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11764         Likewise.
11765         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11766         mips32r2 if the current ISA is below mips32r2.
11767         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11768         (TLS_IE): Updated to use the TLD_RDHWR macro.
11769         (TLS_LE): Likewise.
11770         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11771         __ASSEMBLER__ condition.
11773 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11775         Fix parallel build of before-compile targets.
11777         * sysdeps/mach/Makefile ($(patsubst
11778         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11779         mach-before-compile target.
11780         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11781         io fs process)): Move rule to dedicated hurd-before-compile target.
11783 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11785         Fix rules generating headers in hurd/ and mach/ when initial make call
11786         has subdir= explicitly set.
11788         * sysdeps/mach/Makefile ($(patsubst
11789         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11790         calling $(MAKE).
11791         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11792         io fs process)): Force subdir to hurd when calling $(MAKE).
11793         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11794         subdir to mach when calling $(MAKE).
11796 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11798         Check sysheaders when looking for Mach and Hurd headers
11800         * sysdeps/mach/configure.ac: Add sysheaders check.
11801         * sysdeps/mach/configure: Regenerate.
11802         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11803         * sysdeps/mach/hurd/configure: Regenerate.
11805 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11807         [BZ #18921]
11808         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11809         Fix inverted sense of test of 'o_directory_works' value.
11810         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11811         Bernhard Voelker <mail@bernhard-voelker.de>.
11813 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11815         [BZ #14912]
11816         * bits/linkmap.h: Move to ...
11817         * sysdeps/generic/linkmap.h: ...here.
11818         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11819         * sysdeps/aarch64/linkmap.h: ...here.
11820         * sysdeps/arm/bits/linkmap.h: Move to ...
11821         * sysdeps/arm/linkmap.h: ...here.
11822         * sysdeps/hppa/bits/linkmap.h: Move to ...
11823         * sysdeps/hppa/linkmap.h: ...here.
11824         * sysdeps/ia64/bits/linkmap.h: Move to ...
11825         * sysdeps/ia64/linkmap.h: ...here.
11826         * sysdeps/mips/bits/linkmap.h: Move to ...
11827         * sysdeps/mips/linkmap.h: ...here.
11828         * sysdeps/s390/bits/linkmap.h: Move to ...
11829         * sysdeps/s390/linkmap.h: ...here.
11830         * sysdeps/sh/bits/linkmap.h: Move to ...
11831         * sysdeps/sh/linkmap.h: ...here.
11832         * sysdeps/x86/bits/linkmap.h: Move to ...
11833         * sysdeps/x86/linkmap.h: ...here.
11834         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11836 2015-09-04  Andreas Schwab  <schwab@suse.de>
11838         [BZ #18635]
11839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11840         (__makecontext): Terminate FDE before return label.
11841         (__novec_makecontext): Likewise.
11843 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11845         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11846         first member of struct sv in syscall macro.
11848 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11850         [BZ #14912]
11851         * bits/stdio-lock.h: Move to ...
11852         * sysdeps/generic/stdio-lock.h: ...here.
11853         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11854         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11855         * sysdeps/nptl/stdio-lock.h: ...here.
11856         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11857         * include/libio.h: Include <stdio-lock.h> instead of
11858         <bits/stdio-lock.h>.
11859         * sysdeps/nptl/fork.c: Likewise.
11860         * sysdeps/pthread/flockfile.c: Likewise.
11861         * sysdeps/pthread/ftrylockfile.c: Likewise.
11862         * sysdeps/pthread/funlockfile.c: Likewise.
11864         [BZ #14912]
11865         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11866         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11867         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11868         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11869         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11870         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11871         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11873 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11875         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11876         (test-xfail-tst-protected1b): New variable.
11878 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11880         [BZ #14912]
11881         * bits/libc-tsd.h: Move to ...
11882         * sysdeps/generic/libc-tsd.h: ...here.
11883         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11884         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11885         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11886         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11887         * include/ctype.h: Include <libc-tsd.h> instead of
11888         <bits/libc-tsd.h>.
11889         * include/rpc/rpc.h: Likewise.
11890         * locale/localeinfo.h: Likewise.
11891         * sunrpc/rpc_thread.c: Likewise.
11892         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11893         * sysdeps/nptl/malloc-machine.h: Likewise.
11895         * Makefile (headers): Remove bits/libc-lock.h.
11896         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11898         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11899         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11900         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11901         <bits/stdio-lock.h>.
11902         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11903         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11905 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11907         [BZ #18757]
11908         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11909         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11910         BZ #18757.
11912 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11914         * malloc/mtrace.pl: Filter out NULL entries.
11916 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11918         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11919         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11920         macro.
11922         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11923         (TCP_CC_INFO): Likewise.
11924         (TCP_SAVE_SYN): Likewise.
11925         (TCP_SAVED_SYN): Likewise.
11927 2015-08-31  Brett Neumeier <brett@neumeier.us>
11929         [BZ #18870]
11930         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11932 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11934         [BZ #18873]
11935         Fix broken overflow check in posix_fallocate
11936         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11937         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11938         Fix parenthesization typo.
11940 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11942         [BZ #18887]
11943         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11944         tst-mntent-blank-passno.
11945         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11946         * misc/tst-mntent-blank-corrupt.c: New test.
11947         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11948         * misc/tst-mntent.c (do_test): ... here.
11950 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11952         [BZ #4404]
11953         * po/de.po: Fix SIGALRM typo.
11955 2015-08-28  James Perkins  <james@loowit.net>
11957         * time/tst-strptime2.c (tests): Replace short list of test
11958         strings for strptime %z specifier with code which exhaustively
11959         tests every combination of sign and 0 to 5 digits. Tests for
11960         rejection of invalid strings.
11962 2015-08-28  James Perkins  <james@loowit.net>
11964         [BZ #16141]
11965         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11966         calculation, removing incorrect decimal time rounding, so that
11967         all minute values result in a valid seconds value.
11968         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11969         offset range limits to UTC-99:59 through UTC+99:59 to parse
11970         current and historical use cases.
11971         * time/tst-strptime2.c (tests): Modify and add tests for the
11972         strptime %z input field descriptor, specifically conversion of
11973         minutes to seconds and validating an offset range of -9959 to
11974         +9959.
11976 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11977             Dmitry V. Levin  <ldv@altlinux.org>
11979         [BZ #18877]
11980         * posix/Makefile (tests): Add tst-mmap-offset.
11981         * posix/tst-mmap.c: New file.
11982         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11983         offset calculation for negative values.
11985 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11987         * sysdeps/i386/init-arch.h: New file.
11988         * sysdeps/i386/i586/init-arch.h: Likewise.
11989         * sysdeps/i386/i686/init-arch.h: Likewise.
11990         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11991         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11992         * sysdeps/x86/cpu-features.h (bit_I586): New.
11993         (bit_I686): Likewise.
11994         (bit_CX8): Likewise.
11995         (bit_CMOV): Likewise.
11996         (index_CX8): Likewise.
11997         (index_CMOV): Likewise.
11998         (index_I586): Likewise.
11999         (index_I686): Likewise.
12000         (reg_CX8): Likewise.
12001         (reg_CMOV): Likewise.
12002         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12003         available at compile-time.
12004         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12005         available at compile-time.
12006         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12007         (USE_I686): Likewise.
12009 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12011         * sysdeps/i386/bcopy.S: New file.
12012         * sysdeps/i386/bzero.S: Likewise.
12013         * sysdeps/i386/memcpy.S: Likewise.
12014         * sysdeps/i386/memmove.S: Likewise.
12015         * sysdeps/i386/mempcpy.S: Likewise.
12016         * sysdeps/i386/memset.S: Likewise.
12017         * sysdeps/i386/bzero.c: Removed.
12018         * sysdeps/i386/memset.c: Likewise.
12019         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12020         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12021         * sysdeps/i386/i586/memset_chk.S: Likewise.
12022         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12023         * sysdeps/i386/memcpy_chk.S: Here.
12024         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12025         * sysdeps/i386/memmove_chk.S: Here.
12026         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12027         * sysdeps/i386/mempcpy_chk.S: Likewise.
12028         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12029         * sysdeps/i386/memset_chk.S: Likewise.
12031 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12033         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12034         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12035         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12036         * soft-fp/fmadf4.c: Ditto.
12037         * soft-fp/fmatf4.c: Ditto.
12039 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12041         * sysdeps/i386/i586/Implies: Removed.
12042         * sysdeps/i386/i686/Implies: Likewise.
12044 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12046         * sysdeps/i386/i486/strlen.S: Moved to ...
12047         * sysdeps/i386/strlen.S: Here.
12049 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12051         * sysdeps/i386/i486/strcat.S: Moved to ...
12052         * sysdeps/i386/strcat.S: Here.
12054 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12056         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12057         * sysdeps/i386/pthread_spin_trylock.S: Here.
12058         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12059         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12061 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12063         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12064         * sysdeps/i386/string-inlines.c: Here.
12066 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12068         * sysdeps/i386/i486/htonl.S: Moved ...
12069         * sysdeps/i386/htonl.S: here.
12071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12073         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12074         * sysdeps/i386/bits/atomic.h: Here.
12076 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12078         * sysdeps/i386/i486/Versions: Removed.
12080 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12082         [BZ #2898]
12083         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12084         Based on patch by Aurelien Jarno.
12086 2015-08-26  Stan Shebs  <stanshebs@google.com>
12088         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12089         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12091 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12093         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12094         * sysdeps/powerpc/dl-procinfo.c:
12095         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12096         feature so it shows when LD_SHOW_AUXV=1.
12098 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12100         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12101         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12102         definition.  ISA 2.07B no longer requires full sync.
12104 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12106         [BZ #18863]
12107         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12108         (si_call_addr): Define.
12109         (si_syscall): Define.
12110         (si_arch): Define.
12112 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12114         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12115         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12116         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12117         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12118         (__memset_zero_constant_len_parameter): New.
12119         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12120         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12121         (__memset_zero_constant_len_parameter): Don't define if
12122         __memset_chk or USE_AS_BZERO are defined.
12124         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12125         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12126         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12128         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12129         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12130         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12131         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12132         comments.
12133         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12134         -mno-mmx for $(all-rtld-routines).
12135         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12136         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12137         i386.
12139 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12141         * sysdeps/generic/unwind.h
12142         (_Unwind_Word): Use __mode__(__unwind_word__)
12143         instead of __mode__(__word__).
12144         (_Unwind_Sword): Likewise.
12146         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12147         (MAX_NEEDED_INPUT): New define.
12148         (MAX_NEEDED_OUTPUT): New define.
12150         * NEWS: New item for IBM z13 string optimizations.
12152         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12153         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12154         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12155         * sysdeps/s390/multiarch/Makefile
12156         (sysdep_routines): Add memrchr functions.
12157         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12158         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12160         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12161         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12162         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12163         * sysdeps/s390/multiarch/Makefile
12164         (sysdep_routines): Add wmemcmp functions.
12165         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12166         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12167         * benchtests/bench-wmemcmp.c: New File.
12168         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12170         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12171         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12172         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12173         * sysdeps/s390/multiarch/Makefile
12174         (sysdep_routines): Add wmemset functions.
12175         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12176         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12177         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12178         * string/test-memset.c: Add wmemset support.
12179         * wcsmbs/test-wmemset.c: New File.
12180         * wcsmbs/Makefile (strop-tests): Add wmemset.
12181         * benchtests/bench-memset.c: Add wmemset support.
12182         * benchtests/bench-wmemset.c: New File.
12183         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12185         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12186         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12187         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12188         * sysdeps/s390/multiarch/Makefile
12189         (sysdep_routines): Add memccpy functions.
12190         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12191         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12192         * string/memccpy.c: Use MEMCCPY if defined.
12194         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12195         * sysdeps/s390/multiarch/memchr.c: Likewise.
12196         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12197         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12198         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12199         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12200         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12201         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12202         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12203         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12204         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12205         and rawmemchr functions.
12206         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12207         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12208         and wmemchr.
12209         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12210         * string/test-memchr.c: Add wmemchr support.
12211         * wcsmbs/test-wmemchr.c: New File.
12212         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12213         * benchtests/bench-memchr.c: Add wmemchr support.
12214         * benchtests/bench-wmemchr.c: New File.
12215         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12217         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12218         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12219         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12220         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12221         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12222         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12223         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12224         wcscspn functions.
12225         * sysdeps/s390/multiarch/ifunc-impl-list.c
12226         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12227         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12228         * string/test-strcspn.c: Add wcscspn support.
12229         * wcsmbs/test-wcscspn.c: New File.
12230         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12231         * benchtests/bench-strcspn.c: Add wcscspn support.
12232         * benchtests/bench-wcscspn.c: New File.
12233         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12235         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12236         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12237         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12238         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12239         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12240         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12242         wcspbrk functions.
12243         * sysdeps/s390/multiarch/ifunc-impl-list.c
12244         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12245         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12246         * string/test-strpbrk.c: Add wcspbrk support.
12247         * wcsmbs/test-wcspbrk.c: New File.
12248         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12249         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12250         * benchtests/bench-wcspbrk.c: New File.
12251         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12253         * sysdeps/s390/multiarch/strspn-c.c: New File.
12254         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12255         * sysdeps/s390/multiarch/strspn.c: Likewise.
12256         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12257         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12258         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12259         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12260         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12261         wcsspn functions.
12262         * sysdeps/s390/multiarch/ifunc-impl-list.c
12263         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12264         * string/test-strspn.c: Add wcsspn support.
12265         * wcsmbs/test-wcsspn.c: New File.
12266         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12267         * benchtests/bench-strspn.c: Add wcsspn support.
12268         * benchtests/bench-wcsspn.c: New File.
12269         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12271         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12272         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12273         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12274         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12275         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12276         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12278         wcsrchr functions.
12279         * sysdeps/s390/multiarch/ifunc-impl-list.c
12280         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12281         * benchtests/bench-wcsrchr.c: New File.
12282         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12284         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12285         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12286         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12287         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12288         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12289         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12291         wcschrnul functions.
12292         * sysdeps/s390/multiarch/ifunc-impl-list.c
12293         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12294         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12295         * string/test-strchr.c: Add wcschrnul support.
12296         * wcsmbs/test-wcschrnul.c: New File.
12297         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12298         * benchtests/bench-strchr.c: Add wcschrnul support.
12299         * benchtests/bench-wcschrnul.c: New File.
12300         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12302         * sysdeps/s390/multiarch/strchr-c.c: New File.
12303         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12304         * sysdeps/s390/multiarch/strchr.c: Likewise.
12305         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12306         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12307         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12308         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12309         wcschr functions.
12310         * sysdeps/s390/multiarch/ifunc-impl-list.c
12311         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12312         * string/strchr.c (STRCHR): Define and use macro.
12313         * benchtests/bench-wcschr.c: New File.
12314         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12316         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12317         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12318         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12319         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12320         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12321         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12322         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12323         wcsncmp functions.
12324         * sysdeps/s390/multiarch/ifunc-impl-list.c
12325         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12326         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12327         * benchtests/bench-strncmp.c: Add wcsncmp support.
12328         * benchtests/bench-wcsncmp.c: New File.
12329         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12331         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12332         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12333         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12334         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12335         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12336         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12337         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12339         wcscmp functions.
12340         * sysdeps/s390/multiarch/ifunc-impl-list.c
12341         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12342         * string/strcmp.c (STRCMP): Define and use macro.
12343         * benchtests/bench-wcscmp.c: New File.
12344         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12345         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12346         instead of _HAVE_STRING_ARCH_memchr.
12348         * sysdeps/s390/multiarch/strncat-c.c: New File.
12349         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12350         * sysdeps/s390/multiarch/strncat.c: Likewise.
12351         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12352         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12353         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12354         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12355         wcsncat functions.
12356         * sysdeps/s390/multiarch/ifunc-impl-list.c
12357         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12358         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12359         * string/test-strncat.c: Add wcsncat support.
12360         * wcsmbs/test-wcsncat.c: New File.
12361         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12362         * benchtests/bench-strncat.c: Add wcsncat support.
12363         * benchtests/bench-wcsncat.c: New File.
12364         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12366         * sysdeps/s390/multiarch/strcat-c.c: New File.
12367         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12368         * sysdeps/s390/multiarch/strcat.c: Likewise.
12369         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12370         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12371         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12372         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12373         wcscat functions.
12374         * sysdeps/s390/multiarch/ifunc-impl-list.c
12375         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12376         * string/strcat.c (STRCAT): Define and use macro.
12377         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12378         * string/test-strcat.c: Add wcscat support.
12379         * wcsmbs/test-wcscat.c: New File.
12380         * wcsmbs/Makefile (strop-tests): Add wcscat.
12381         * benchtests/bench-strcat.c: Add wcscat support.
12382         * benchtests/bench-wcscat.c: New File.
12383         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12385         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12386         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12387         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12388         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12389         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12390         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12391         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12392         wcpncpy functions.
12393         * sysdeps/s390/multiarch/ifunc-impl-list.c
12394         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12395         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12396         * string/test-stpncpy.c: Add wcpncpy support.
12397         * wcsmbs/test-wcpncpy.c: New File.
12398         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12399         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12400         * benchtests/bench-wcpncpy.c: New File.
12401         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12403         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12404         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12405         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12406         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12407         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12408         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12409         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12411         wcsncpy functions.
12412         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12413         * sysdeps/s390/multiarch/ifunc-impl-list.c
12414         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12415         * string/test-strncpy.c: Add wcsncpy support.
12416         * wcsmbs/test-wcsncpy.c: New File.
12417         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12418         * benchtests/bench-strncpy.c: Add wcsncpy support.
12419         * benchtests/bench-wcsncpy.c: New File.
12420         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12422         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12423         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12424         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12425         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12426         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12427         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12428         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12429         wcpcpy functions.
12430         * string/stpcpy.c: Use STPCPY if defined.
12431         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12432         * sysdeps/s390/multiarch/ifunc-impl-list.c
12433         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12434         * string/test-stpcpy.c: Add wcpcpy support.
12435         * wcsmbs/test-wcpcpy.c: New File.
12436         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12437         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12438         * benchtests/bench-wcpcpy.c: New File.
12439         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12441         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12442         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12443         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12444         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12445         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12446         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12447         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12449         wcscpy functions.
12450         * sysdeps/s390/multiarch/ifunc-impl-list.c
12451         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12452         * benchtests/bench-wcscpy.c: New File.
12453         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12455         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12456         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12457         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12458         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12459         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12460         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12461         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12462         wcsnlen functions.
12463         * sysdeps/s390/multiarch/ifunc-impl-list.c
12464         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12465         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12466         * string/test-strnlen.c: Add wcsnlen support.
12467         * wcsmbs/test-wcsnlen.c: New File.
12468         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12469         * benchtests/bench-strnlen.c: Add wcsnlen support.
12470         * benchtests/bench-wcsnlen.c: New File.
12471         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12473         * sysdeps/s390/multiarch/Makefile: New File.
12474         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12475         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12476         * sysdeps/s390/multiarch/strlen.c: Likewise.
12477         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12478         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12479         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12480         * string/strlen.c (STRLEN): Define and use macro.
12481         * sysdeps/s390/multiarch/ifunc-impl-list.c
12482         (IFUNC_VX_IMPL): New macro function.
12483         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12484         * benchtests/Makefile (wcsmbs-bench): New variable.
12485         (string-bench-all): Added wcsmbs-bench.
12486         * benchtests/bench-wcslen.c: New File.
12488         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12489         s390_vx_libc_ifunc2): New macro function.
12491         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12492         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12493         assembler support.
12494         * sysdeps/s390/configure: Regenerated.
12496         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12497         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12499         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12500         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12501         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12503         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12504         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12506         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12507         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12508         (memcmp, bcmp): Use __memcmp_default as alias source.
12509         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12510         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12511         Rename to __memcmp_default.
12512         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12513         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12514         (memcpy): Use __memcpy_default as alias source.
12515         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12516         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12517         Rename to __memcpy_default.
12518         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12519         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12520         (memset): Use __memset_default as alias source.
12521         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12522         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12523         Rename to __memset_default.
12524         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12525         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12526         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12527         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12528         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12529         (memcmp, bcmp): Use __memcmp_default as alias source.
12530         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12531         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12532         Rename to __memcmp_default.
12533         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12534         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12535         (memcpy): Use __memcpy_default as alias source.
12536         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12537         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12538         Rename to __memcpy_default.
12539         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12540         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12541         (memset): Use __memset_default as alias source.
12542         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12543         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12544         Rename to __memset_default.
12545         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12546         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12548         [BZ #18610]
12549         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12550         __ieee_instruction_pointer to __unused.
12551         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12552         __ieee_instruction_pointer.
12553         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12554         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12555         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12556         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12557         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12558         Mark dxc-field as reserved.
12560 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12562         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12563         if the weak reference is not null.
12565 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12567         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12569         [BZ #11214]
12570         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12572 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12574         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12575         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12576         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12577         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12578         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12579         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12580         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12581         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12582         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12583         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12584         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12585         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12586         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12587         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12588         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12589         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12590         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12591         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12593 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12595         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12596         register other than r0 for tabort, it has special meaning.
12597         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12598         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12599         transaction before starting syscall.
12601 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12603         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12605 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12607         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12609         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12610         * sysdeps/x86_64/rtld-memset.S: Likewise.
12611         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12612         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12613         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12614         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12616         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12618 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12620         * debug/strcpy_chk.c: Improve performance.
12621         * debug/stpcpy_chk.c: Likewise.
12622         * sysdeps/x86_64/strcpy_chk.S: Remove.
12623         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12625         [BZ #18240]
12626         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12628 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12630         [BZ #15128]
12631         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12632         ifuncmain8.
12633         (modules-names): Add ifuncmod8.
12634         ($(objpfx)ifuncmain8): New rule.
12635         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12636         <cpuid.h>.
12637         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12638         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12639         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12640         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12641         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12642         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12643         * sysdeps/x86_64/ifuncmain8.c: New file.
12644         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12645         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12646         Removed.
12647         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12648         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12649         Change rtld_savespace_sse to __glibc_unused2.
12650         (RTLD_CHECK_FOREIGN_CALL): Removed.
12651         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12652         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12653         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12655 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12657         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12659 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12661         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12662         Unconditionally set __fpcr to avoid uninialized warning.
12663         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12665 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12667         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12668         is corrupt.
12670         * malloc/arena.c (arena_get2): Drop unused argument.
12671         (arena_lock): Adjust.
12672         (arena_get_retry): Likewise.
12674 2015-08-24  Andreas Schwab  <schwab@suse.de>
12676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12677         Don't define.
12678         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12679         (__ASSUME_IPC64): Don't undef.
12680         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12681         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12682         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12683         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12684         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12685         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12686         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12687         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12688         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12689         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12690         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12691         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12692         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12693         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12694         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12695         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12696         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12697         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12698         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12699         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12700         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12702 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12704         * manual/Makefile (install): Only build manual when perl is available.
12706 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12708         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12709         '#undef memcpy' by '#undef memchr'.
12711 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12713         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12714         memchr not point to the internal __GI_memchr implementation.
12716 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12718         * timezone/Makefile (CFLAGS-zdump.c): Remove
12719         -Wno-strict-prototypes.
12720         (CFLAGS-zic.c): Likewise.
12721         (CFLAGS-ialloc.c): Likewise.
12722         (CFLAGS-scheck.c): Likewise.
12724         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12725         -Wno-error=undef.
12727 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12729         * i386/i686/multiarch/strcasestr-c.c: Removed.
12730         * x86_64/multiarch/strcasestr.c: Likewise.
12731         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12732         Remove strcasestr.
12734 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12736         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12738         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12739         variables for high and low parts before possibly modifying them.
12741 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12743         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12744         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12745         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12746         of "multiarch/init-arch.h".
12747         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12748         * sysdeps/x86/init-arch.h: This.
12750 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12752         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12753         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12755 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12757         [BZ #17787]
12758         * manual/macros.texi: Add twoexp macro.
12759         * manual/filesys.texi: Fix exponents.
12760         * manual/llio.texi: Likewise.
12761         * manual/stdio.texi: Likewise.
12763 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12765         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12766         incorrect use.
12768 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12770         [BZ #18370]
12771         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12772         whose real or imaginary part has small absolute value.
12773         * math/s_csqrtf.c (__csqrtf): Likewise.
12774         * math/s_csqrtl.c (__csqrtl): Likewise.
12775         * math/auto-libm-test-in: Add more tests of csqrt.
12776         * math/auto-libm-test-out: Regenerated.
12777         * sysdeps/i386/fpu/libm-test-ulps: Update.
12779 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12781         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12782         __ppc_set_ppr_very_low): New functions.
12783         * manual/platform.texi: Add documentation about
12784         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12786 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12788         * string/stpncpy.c (stpncpy): Improve performance using
12789         __strnlen/memcpy/memset.
12791 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12793         [BZ #18796]
12794         * scripts/test-installation.pl: Don't add -lmvec to build options if
12795         libmvec wasn't built.
12797 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12799         [BZ #14341]
12800         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12801         case when there is a gap between DT_REL and DT_JMPREL sections.
12802         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12803         (LDFLAGS-tst-split-dynreloc): New.
12804         (tst-split-dynreloc-ENV): Likewise.
12805         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12806         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12808 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12810         [BZ #18822]
12811         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12812         attribute_hidden.
12813         (__xstat64_conv): Likewise.
12814         (__xstat32_conv): Likewise.
12816 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12818         [BZ #18822]
12819         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12820         Don't load %ebx when calling __setcontext.  Call __setcontext
12821         with HIDDEN_JUMPTARGET.
12822         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12823         libc_hidden_def.
12825 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12827         * sysdeps/i386/i686/Makefile
12828         [$(subdir) == string] (sysdep_routines): Moved to ...
12829         * sysdeps/i386/Makefile: Here.
12830         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12831         * sysdeps/i386/cacheinfo.c: Here.
12832         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12833         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12834         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12835         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12837 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12839         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12840         __i586__ is defined.
12841         (HAS_I686): Defined to 1 if __i686__ is defined.
12843 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12845         * elf/Makefile [$(have-z-execstack) = yes]
12846         (CPPFLAGS-tst-execstack.c): New variable.
12848         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12849         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12850         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12851         UTMPX || _HAVE_UT_TV].
12852         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12853         UTMPX || _HAVE_UT_TV - 0].
12855 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12857         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12858         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12859         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12861 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12863         * sysdeps/powerpc/dl-procinfo.c:
12864         (_dl_powerpc_cap_flags): Added missing strings for some
12865         hwcap features.
12866         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12868 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12870         Port the 0x7efe...feff pattern to GCC 6.
12871         See Steve Ellcey's bug report in:
12872         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12873         * string/memrchr.c (MEMRCHR):
12874         * string/rawmemchr.c (RAWMEMCHR):
12875         * string/strchr.c (strchr):
12876         * string/strchrnul.c (STRCHRNUL):
12877         Rewrite code to avoid issues with signed shift overflow.
12879 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12881         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12882         whether cpuid is available only if HAS_CPUID is 0.
12883         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12884         (HAS_I586): Likewise.
12885         (HAS_I686): Likewise.
12887 2015-08-18  Zack Weinberg  <zackw@panix.com>
12889         * misc/Versions (libc): Add GLIBC_2.23.
12891 2015-08-18  Alan Modra  <amodra@gmail.com>
12893         [BZ #18421]
12894         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12895         .Lp__global.
12896         (_start): Load %dp via .Lp__global.
12897         [!SHARED]: Use .section .rodata.
12899 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12901         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12902         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12904 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12906         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12907         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12909 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12911         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12912         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12914 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12916         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12917         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12919 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12921         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12922         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12924 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12926         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12927         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12931         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12933 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12935         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12936         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12937         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12938         (__ASSUME_LWS_CAS): Delete.
12940 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12942         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12943         * sysdeps/hppa/configure: Regenerated.
12944         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12945         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12946         * sysdeps/hppa/nptl/tls.h: Likewise.
12948 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12950         [BZ #18823]
12951         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12952         for scaling up small arguments.
12953         * math/s_csqrtf.c (__csqrtf): Likewise.
12954         * math/s_csqrtl.c (__csqrtl): Likewise.
12955         * math/auto-libm-test-in: Add more tests of csqrt.
12956         * math/auto-libm-test-out: Regenerated.
12958 2015-08-17  Andreas Schwab  <schwab@suse.de>
12960         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12961         version set GLIBC_2.19.
12963 2015-08-16  Zack Weinberg  <zackw@panix.com>
12965         [BZ #18681]
12966         * misc/regexp.h: This interface is no longer supported.
12967         Remove all contents, leaving only an #error directive.
12968         * misc/regexp.c (loc1, loc2, locs, step, advance):
12969         Demote to compatibility symbols.
12971 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12973         [BZ #18084]
12974         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12975         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12976         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12977         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12978         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12979         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12980         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12981         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12982         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12984 2015-08-15  Zack Weinberg  <zackw@panix.com>
12986         [BZ #18795]
12987         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12988         buffer length is known to be too large, not if it's known to be
12989         small enough.
12990         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12991         overflow at runtime, involving a length parameter, twice: once
12992         with a compile-time constant length parameter, once without.
12994 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12996         [BZ #18824]
12997         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12998         scaling x * y up instead of down.
12999         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13000         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13001         * math/auto-libm-test-in: Add more tests of fma.
13002         * math/auto-libm-test-out: Regenerated.
13004 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13008 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13010         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13011         unnecessary movq.
13012         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13013         Likewise.
13015 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13017         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13018         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13019         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13020         and tgamma.
13021         * math/auto-libm-test-out: Regenerated.
13022         * sysdeps/i386/fpu/libm-test-ulps: Update.
13023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13025         [BZ #16520]
13026         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13027         (__tanh): Force underflow exception for arguments with small
13028         absolute value.
13029         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13030         (__tanhf): Force underflow exception for arguments with small
13031         absolute value.
13032         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13033         (__tanhl): Force underflow exception for arguments with small
13034         absolute value.
13035         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13036         (__tanhl): Force underflow exception for arguments with small
13037         absolute value.
13038         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13039         (__tanhl): Force underflow exception for arguments with small
13040         absolute value.
13041         * math/auto-libm-test-in: Add more tests of tanh.
13042         * math/auto-libm-test-out: Regenerated.
13043         * sysdeps/i386/fpu/libm-test-ulps: Update.
13045 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13047         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13048         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13050 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13052         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13053         <cpuid.h>.
13055 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13057         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13058         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13060 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13062         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13063         Remove $(objpfx)init-arch.o.
13064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13065         init-arch.
13066         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13067         (INIT_ARCH_EXT): Defined as empty.
13068         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13070         __init_cpu_features call.  Replace HAS_XXX with
13071         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13072         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13073         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13074         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13075         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13076         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13077         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13078         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13079         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13081         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13082         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13083         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13084         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13085         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13086         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13087         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13088         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13089         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13090         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13091         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13092         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13093         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13095         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13097         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13098         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13099         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13100         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13104         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13105         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13108 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13110         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13111         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13112         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13113         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13114         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13115         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13116         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13117         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13118         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13119         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13120         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13121         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13122         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13123         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13124         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13125         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13126         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13127         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13128         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13129         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13130         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13131         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13132         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13133         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13134         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13135         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13136         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13137         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13138         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13139         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13140         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13141         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13142         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13143         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13144         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13145         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13146         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13147         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13148         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13149         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13150         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13151         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13152         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13154 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13156         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13157         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13159         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13161         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13162         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13163         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13164         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13167         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13168         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13169         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13170         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13171         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13172         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13173         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13174         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13175         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13177         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13178         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13180         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13181         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13182         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13183         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13184         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13185         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13187         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13188         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13189         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13190         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13191         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13192         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13193         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13194         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13195         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13196         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13197         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13198         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13200 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13202         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13203         (dl_platform_init): Call init_cpu_features.
13204         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13205         * sysdeps/i386/i686/cacheinfo.c
13206         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13207         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13208         * sysdeps/i386/i686/multiarch/Versions: Removed.
13209         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13210         Removed.
13211         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13212         * sysdeps/unix/sysv/linux/x86/Makefile
13213         (libpthread-sysdep_routines): Remove init-arch.
13214         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13215         <sysdeps/x86_64/dl-procinfo.c> instead of
13216         sysdeps/generic/dl-procinfo.c>.
13217         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13218         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13219         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13220         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13221         [$(subdir) == elf] (tests-static): Add
13222         tst-get-cpu-features-static.
13223         * sysdeps/x86/Versions: New file.
13224         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13225         * sysdeps/x86/cpu-features.c: Likewise.
13226         * sysdeps/x86/cpu-features.h: Likewise.
13227         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13228         * sysdeps/x86/libc-start.c: Likewise.
13229         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13230         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13231         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13232         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13233         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13234         Assume USE_MULTIARCH is defined and don't check it.
13235         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13236         (is_amd): Likewise.
13237         (max_cpuid): Likewise.
13238         (intel_check_word): Likewise.
13239         (__cache_sysconf): Don't call __init_cpu_features.
13240         (__x86_preferred_memory_instruction): Removed.
13241         (init_cacheinfo): Don't call __init_cpu_features. Replace
13242         __cpu_features with GLRO(dl_x86_cpu_features).
13243         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13244         (dl_platform_init): Call init_cpu_features.
13245         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13246         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13247         * sysdeps/x86_64/multiarch/Versions: Removed.
13248         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13249         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13250         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13251         Removed.
13252         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13254 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13256         [BZ #18820]
13257         * libio/Makefile (test-fmemopen-mem): New test.
13258         * libio/test-fmemopen.c (do_bz18820): New test.
13259         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13260         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13262 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13264         [BZ #16734]
13265         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13266         (FREE_BUF): Delete.
13267         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13268         * libio/genops.c (_IO_setb): Use malloc and free directly.
13269         (_IO_default_doallocate, _IO_default_finish): Likewise.
13270         ( _IO_unbuffer_all): Likewise.
13271         ( libc_freeres_fn): Likewise.
13272         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13273         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13274         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13275         (_IO_wdefault_doallocate): Likewise.
13277 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13279         [BZ #18086]
13280         * sysdeps/posix/nice.c (nice): Restore old errno.
13281         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13283 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13287 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13289         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13290         __bcopy and add a weak_alias to bcopy.
13291         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13292         for static build.
13294         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13295         cleanup macro usage.
13296         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13298         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13301         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13302         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13303         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13304         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13305         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13306         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13307         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13309         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13312         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13313         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13314         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13316         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13317         libc_hidden_def.
13318         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13320         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13321         (sysdep_routines): Add strstr-ppc64.
13322         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13324 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13326         [BZ #18778]
13327         * elf/Makefile (tests): Add Add tst-nodelete2.
13328         (modules-names): Add tst-nodelete2mod.
13329         (tst-nodelete2mod.so-no-z-defs): New.
13330         ($(objpfx)tst-nodelete2): Likewise.
13331         ($(objpfx)tst-nodelete2.out): Likewise.
13332         (LDFLAGS-tst-nodelete2): Likewise.
13333         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13334         out of loop through all loaded libraries.
13335         * elf/tst-nodelete2.c: New file.
13336         * elf/tst-nodelete2mod.c: Likewise.
13337         * elf/tst-znodelete-zlib.cc: Delete.
13339 2015-08-11  Andreas Schwab  <schwab@suse.de>
13341         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13342         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13343         (__openat64_nocancel): Likewise.
13345 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13347         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13348         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13349         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13350         * math/auto-libm-test-out: Regenerated.
13351         * sysdeps/i386/fpu/libm-test-ulps: Update.
13352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13354 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13356         [BZ #18790]
13357         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13358         threshold for returning +/- 1.
13359         * math/auto-libm-test-in: Add more tests of tanh.
13360         * math/auto-libm-test-out: Regenerated.
13361         * sysdeps/i386/fpu/libm-test-ulps: Update.
13363 2015-08-10  Andreas Schwab  <schwab@suse.de>
13365         [BZ #18781]
13366         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13367         MORE_OFLAGS to oflag.
13368         * io/test-lfs.c (do_test): Test openat64.
13370 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13372         [BZ #18789]
13373         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13374         smaller threshold for returning the argument.
13375         * math/auto-libm-test-in: Add more tests of sinh.
13376         * math/auto-libm-test-out: Regenerated.
13377         * sysdeps/i386/fpu/libm-test-ulps: Update.
13379 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13381         [BZ #18674]
13382         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13383         break.
13385 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13387         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13388         (generated): Don't add $(addprefix z.,$(tzfiles)).
13390 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13392         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13393         * scripts/sysd-rules.awk: Likewise.
13395 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13397         * iconvdata/tst-tables.sh: Change echo -n to printf.
13398         * nss/db-Makefile: Likewise.
13399         * posix/tst-getconf.sh: Likewise.
13400         * stdio-common/tst-unbputc.sh: Likewise.
13402 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13404         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13405         MADV_*_PAGES defines behind this feature check.
13407 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13409         [BZ #18480]
13410         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13411         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13412         Define.
13413         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13414         LOAD_REGS_5, LOAD_REGS_6): Update.
13415         (INTERNAL_SYSCALL): Update using new LOAD defines.
13416         (INTERNAL_SYSCALL_NCS): Likewise.
13417         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13419 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13421         [BZ #16734]
13422         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13424 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13426         [BZ #17905]
13427         * catgets/Makefile (tst-catgets-mem): New test.
13428         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13429         * catgets/open_catalog.c (__open_catalog): Likewise.
13430         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13432 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13434         [BZ #18787]
13435         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13436         clobber registers.
13437         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13438         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13439         Cast return to __typeof (oldval).
13441 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13443         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13444         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13445         and delete sys/syscall.h include.
13447 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13449         [BZ #16517]
13450         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13451         (tan): Force underflow exception for arguments with small absolute
13452         value.
13453         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13454         (__kernel_tanf): Force underflow exception for arguments with
13455         small absolute value.
13456         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13457         (__kernel_tanl): Force underflow exception for arguments with
13458         small absolute value.
13459         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13460         (__kernel_tanl): Force underflow exception for arguments with
13461         small absolute value.
13462         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13463         (__kernel_tanl): Force underflow exception for arguments with
13464         small absolute value.
13465         * math/auto-libm-test-in: Add more tests of tan.
13466         * math/auto-libm-test-out: Regenerated.
13468 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13470         Fix sysdeps/i386/fpu/s_scalbn.S build
13472         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13474 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13476         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13478 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13480         Fix gcrt0.o compilation
13482         When static-start-installed-name is different from
13483         start-installed-name, we must not use the shared objects.
13485         * csu/Makefile
13486         (extra-objs): Add gmon-start.o when building shared library and
13487         $(static-start-installed-name) is different from
13488         $(start-installed-name).
13489         $(objpfx)g$(static-start-installed-name): When building shared
13490         library and $(static-start-installed-name) is different from
13491         $(static-start-installed-name), revert to non-shared rule,
13492         i.e. using $(objpfx)% and gmon-start.o.
13494 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13496         [BZ #16519]
13497         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13498         (__ieee754_sinh): Force underflow exception for arguments with
13499         small absolute value.
13500         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13501         (__ieee754_sinhf): Force underflow exception for arguments with
13502         small absolute value.
13503         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13504         (__ieee754_sinhl): Force underflow exception for arguments with
13505         small absolute value.
13506         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13507         (__ieee754_sinhl): Force underflow exception for arguments with
13508         small absolute value.
13509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13510         (__ieee754_sinhl): Force underflow exception for arguments with
13511         small absolute value.
13512         * math/auto-libm-test-in: Add more tests of sinh.
13513         * math/auto-libm-test-out: Regenerated.
13514         * sysdeps/i386/fpu/libm-test-ulps: Update.
13516 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13518         * libio/oldfileops.c: Include unistd.h.
13520 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13522         * stdlib/isomac.c: Include ctype.h.
13524 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13526         * dirent/tst-seekdir.c (main): Converted to ...
13527         (do_test): ... this.
13528         (TEST_FUNCTION): New macro.
13529         Include test-skeleton.c.
13530         * elf/tst-dlmodcount.c (main): Converted to ...
13531         (do_test): ... this.
13532         (TEST_FUNCTION): New macro.
13533         Include test-skeleton.c.
13534         * elf/tst-order-main.c (main): Converted to ...
13535         (do_test): ... this.
13536         (TEST_FUNCTION): New macro.
13537         Include test-skeleton.c.
13538         * elf/tst-pie2.c (main): Converted to ...
13539         (do_test): ... this.
13540         (TEST_FUNCTION): New macro.
13541         Include test-skeleton.c.
13542         * inet/tst-ether_aton.c (main): Converted to ...
13543         (do_test): ... this.
13544         (TEST_FUNCTION): New macro.
13545         Include test-skeleton.c.
13546         * misc/tst-mntent.c (main): Converted to ...
13547         (do_test): ... this.
13548         (TEST_FUNCTION): New macro.
13549         Include test-skeleton.c.
13550         * misc/tst-tsearch.c (main): Converted to ...
13551         (do_test): ... this.
13552         (TEST_FUNCTION): New macro.
13553         Include test-skeleton.c.
13554         * posix/tst-regexloc.c (main): Converted to ...
13555         (do_test): ... this.
13556         (TEST_FUNCTION): New macro.
13557         Include test-skeleton.c.
13558         * resolv/tst-aton.c (main): Converted to ...
13559         (do_test): ... this.
13560         (TEST_FUNCTION): New macro.
13561         Include test-skeleton.c.
13562         * stdio-common/test-fwrite.c (main): Converted to ...
13563         (do_test): ... this.
13564         (TEST_FUNCTION): New macro.
13565         Include test-skeleton.c.
13566         * stdio-common/tst-ferror.c (main): Converted to ...
13567         (do_test): ... this.
13568         (TEST_FUNCTION): New macro.
13569         Include test-skeleton.c.
13570         * stdio-common/tst-printf.c (main): Converted to ...
13571         (do_test): ... this.
13572         (TEST_FUNCTION): New macro.
13573         Include test-skeleton.c.
13574         * stdio-common/tst-printfsz.c (main): Converted to ...
13575         (do_test): ... this.
13576         (TEST_FUNCTION): New macro.
13577         Include test-skeleton.c.
13578         * stdlib/tst-strtod.c (main): Converted to ...
13579         (do_test): ... this.
13580         (TEST_FUNCTION): New macro.
13581         Include test-skeleton.c.
13582         * string/tst-strlen.c (main): Converted to ...
13583         (do_test): ... this.
13584         (TEST_FUNCTION): New macro.
13585         Include test-skeleton.c.
13586         * string/tst-svc.c (main): Converted to ...
13587         (do_test): ... this.
13588         (TEST_FUNCTION): New macro.
13589         Include test-skeleton.c.
13590         * time/tst-strptime.c (main): Converted to ...
13591         (do_test): ... this.
13592         (TEST_FUNCTION): New macro.
13593         Include test-skeleton.c.
13594         * timezone/tst-timezone.c (main): Converted to ...
13595         (do_test): ... this.
13596         (TEST_FUNCTION): New macro.
13597         Include test-skeleton.c.
13599 2015-08-05  Zack Weinberg  <zackw@panix.com>
13601         * misc/regexp.h: Update comments.
13603 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13605         [BZ #18635]
13606         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13607         before return label.
13609 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13611         [BZ #18661]
13612         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13613         when calling __errno_location.
13614         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13615         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13617 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13619         [BZ #18661]
13620         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13621         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13622         __gettimeofday.
13624 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13626         [BZ #18661]
13627         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13628         (__start_context): Don't use pop to restore %rdi so that stack
13629         is aligned to 16 bytes when calling __setcontext.
13631 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13633         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13634         only for libc.
13635         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13637 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13639         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13640         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13641         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13643 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13645         * string/memccpy.c (memccpy):
13646         Improve performance by using memchr/memcpy/__mempcpy.
13648 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13650         * string/strncpy.c (strncpy):
13651         Improve performance by using __strnlen/memcpy.
13653 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13655         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13656         Optimize to avoid an unnecessary FPCR read.
13658 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13660         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13661         Optimize to reduce FPCR/FPSR accesses.
13663 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13665         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13666         dead->data[category] != NULL.
13668 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13670         [BZ #18647]
13671         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13672         and |x| close to 1, use absolute value of x when computing log.
13673         * math/auto-libm-test-in: Add more tests of pow.
13674         * math/auto-libm-test-out: Regenerated.
13676 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13678         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13679         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13680         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13682 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13684         [BZ #18525]
13685         * locales/km_KH: Remove timezone definition.
13686         * locales/lo_LA: Likewise.
13687         * locales/my_MM: Likewise.
13688         * locales/nan_TW@latin: Likewise.
13689         * locales/th_TH: Likewise.
13690         * locales/uk_UA: Likewise.
13692 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13694         [BZ #18265]
13695         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13696         (wcsncat): Likewise.
13697         (wcscmp): Likewise.
13698         (wcsncmp): Likewise.
13700 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13702         * test-skeleton.c (usage): New function.
13703         (main): Call usage when opt is '?'.
13705 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13707         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13708         before first use.
13710 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13712         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13713         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13714         in there too.
13716 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13718         * version.h (RELEASE): Set to "development".
13719         (VERSION): Set to "2.22.90"
13721         * version.h (RELEASE): Set to "stable".
13722         (VERSION): Set to "2.22"
13723         * include/features.h (__GLIBC_MINOR__): Set to 22.
13725 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13727         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13728         Restructure macro to avoid "value computed is not used" warning.
13729         (atomic_compare_and_exchange_val_acq): Likewise.
13731 2015-08-04  Andreas Schwab  <schwab@suse.de>
13733         [BZ #18635]
13734         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13735         ret.
13736         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13738 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13740         * po/pl.po: Updated translation.
13741         * po/uk.po: Likewise.
13742         * po/fi.po: Likewise.
13743         * po/ko.po: Likewise.
13744         * po/ru.po: Likewise.
13745         * po/vi.po: Likewise.
13747 2015-07-31  Zack Weinberg  <zackw@panix.com>
13749         [BZ #18681]
13750         * regexp.h: Add unconditional #warning stating that this header
13751         will be removed soon.  Revise banner comment to match.
13752         (compile): Consistently use ERROR instead of RETURN to report
13753         errors (partial fix for bz#18681).
13754         * regexp.c: Don't include regexp.h. Remove some unnecessary
13755         declarations.
13757 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13759         * po/libc.pot: Regenerated.
13761 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13763         [BZ #18740]
13764         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13765         float-vlen4-arch-ext-cflags): Removed.
13766         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13767         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13769 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13771         [BZ #14113]
13772         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13773         aligned to __aligned__.
13774         (pthread_cond_t, pthread_rwlock_t): Likewise.
13776 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13778         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13780 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13782         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13783         (struct sigaction): Change sa_flags from a long to an int, and add
13784         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13786 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13788         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13789         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13790         sysdeps/generic/sysdep.h include.
13791         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13792         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13793         sysdeps/hppa/sysdep.h.
13794         (ENTRY, PSEUDO): Undefine before defining.
13796 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13798         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13799         from scratch to use INTERNAL_SYSCALL.
13801 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13803         [BZ #18078]
13804         * scripts/check-localplt.awk: Support alternate relocations.
13805         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13806         sections.
13807         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13808         malloc entries with + REL R_386_GLOB_DAT.
13809         * sysdeps/x86_64/localplt.data: New file.
13811 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13813         [BZ #18731]
13814         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13815         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13816         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13818 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13820         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13822 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13824         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13825         directly in terms of __sync_fetch_and_add and delete (int) cast.
13827 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13829         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13830         the -D_ASM_IA64_CURRENT_H flag.
13832 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13834         [BZ #18641]
13835         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13837 2015-07-27  Andreas Schwab  <schwab@suse.de>
13839         * conform/conformtest.pl (checknamespace): Filter out string
13840         literals while tokenizing.
13842 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13844         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13845         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13846         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13848 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13850         * nptl/tst-join7mod.c: Add #include <string.h>.
13852 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13854         * sysdeps/nios2/libm-test-ulps: Update.
13856 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13858         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13859         Fix order of arguments to the rt_sigprocmask syscall.
13860         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13861         Likewise.
13863 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13865         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13867 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13869         [BZ #18457]
13870         * nptl/Makefile (tests): New test case tst-join7.
13871         (modules-names): New test case module tst-join7mod.
13872         * nptl/tst-join7.c: New file.
13873         * nptl/tst-join7mod.c: New file.
13874         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13875         all translation units in libc.so, libpthread.so and rtld.
13877 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13881 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13884         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13885         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13887         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13889         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13890         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13891         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13892         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13893         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13894         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13895         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13896         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13897         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13898         implementation.
13900 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13902         [BZ #17711]
13903         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13904         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13905         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13906         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13907         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13908         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13910 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13912         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13913         instead of just saying load lock in the comments.
13915 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13917         * sysdeps/unix/Subdirs: Moved ...
13918         * sysdeps/posix/Subdirs: ... here.
13919         * login/pty.h (struct termios, struct winsize): Add forward decls.
13920         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13921         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13922         * sysdeps/arm/nacl/libc.abilist: Updated.
13923         * sysdeps/nacl/libutil.abilist: New file.
13925         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13926         (SIGWINCH): New macro.
13928         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13929         * sysdeps/arm/nacl/libc.abilist: Add it.
13931 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13933         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13935 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13937         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13938         Swap __glibc_reserved0 and sa_flags order.
13940 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13942         [BZ #18657]
13943         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13944         are pending TLS destructor calls.
13945         * include/link.h (struct link_map): Add concurrency note for
13946         L_TLS_DTOR_COUNT.
13947         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13948         Don't touch the link map flag.  Atomically increment
13949         l_tls_dtor_count.
13950         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13951         Avoid taking the load lock and don't touch the link map flag.
13952         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13953         * stdlib/Makefile (tests): Use it.
13954         * stdlib/tst-tls-atexit.c (do_test): dlopen
13955         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13956         to allow tst-tls-atexit-nodelete test case to use it.
13958 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13960         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13961         to bits/types.h.
13962         (msgqnum_t): New typedef.
13963         (msglen_t): Likewise.
13964         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13965         and msg_qbytes type to msglen_t.
13967 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13969         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13970         pad0 to __glibc_reserved0.
13971         (struct stat64): Likewise.
13973 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13975         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13976         Change sa_flags from a long to an int and add __glibc_reserved0 before
13977         it for padding.
13979 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13981         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13982         anonymous by deleting "siginfo" name.
13984 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13986         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13987         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13988         rather than __nacl_irt_filename.
13989         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13991         * NEWS: New item for arm-nacl port.
13992         * sysdeps/arm/nacl/libc.abilist: New file.
13993         * sysdeps/nacl/ld.abilist: New file.
13994         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13995         * sysdeps/nacl/libanl.abilist: New file.
13996         * sysdeps/nacl/libcrypt.abilist: New file.
13997         * sysdeps/nacl/libdl.abilist: New file.
13998         * sysdeps/nacl/libm.abilist: New file.
13999         * sysdeps/nacl/libpthread.abilist: New file.
14000         * sysdeps/nacl/libresolv.abilist: New file.
14001         * sysdeps/nacl/librt.abilist: New file.
14003 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14005         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14006         __startcontext to initialize the new context.
14007         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14008         up CFI directive to forbid further backtracing.
14010 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14012         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14013         reference.
14014         * charmaps/ANSI_X3.4-1968: Likewise.
14015         * charmaps/BS_4730: Likewise.
14016         * charmaps/BS_VIEWDATA: Likewise.
14017         * charmaps/CP1250: Likewise.
14018         * charmaps/CP1251: Likewise.
14019         * charmaps/CP1252: Likewise.
14020         * charmaps/CP1253: Likewise.
14021         * charmaps/CP1254: Likewise.
14022         * charmaps/CP1255: Likewise.
14023         * charmaps/CP1256: Likewise.
14024         * charmaps/CSN_369103: Likewise.
14025         * charmaps/EBCDIC-DK-NO: Likewise.
14026         * charmaps/GB_1988-80: Likewise.
14027         * charmaps/GREEK-CCITT: Likewise.
14028         * charmaps/GREEK7: Likewise.
14029         * charmaps/INIS-8: Likewise.
14030         * charmaps/ISIRI-3342: Likewise.
14031         * charmaps/ISO_2033-1983: Likewise.
14032         * charmaps/ISO_5427-EXT: Likewise.
14033         * locales/POSIX: Likewise.
14034         * locales/ar_SA: Likewise.
14035         * locales/be_BY: Likewise.
14036         * locales/be_BY@latin: Likewise.
14037         * locales/ca_ES: Likewise.
14038         * locales/cs_CZ: Likewise.
14039         * locales/da_DK: Likewise.
14040         * locales/de_BE: Likewise.
14041         * locales/de_CH: Likewise.
14042         * locales/de_LU: Likewise.
14043         * locales/en_AU: Likewise.
14044         * locales/en_BW: Likewise.
14045         * locales/en_CA: Likewise.
14046         * locales/en_DK: Likewise.
14047         * locales/en_GB: Likewise.
14048         * locales/en_IE: Likewise.
14049         * locales/en_NZ: Likewise.
14050         * locales/en_ZA: Likewise.
14051         * locales/en_ZW: Likewise.
14052         * locales/es_AR: Likewise.
14053         * locales/es_BO: Likewise.
14054         * locales/es_CL: Likewise.
14055         * locales/es_CO: Likewise.
14056         * locales/es_DO: Likewise.
14057         * locales/es_EC: Likewise.
14058         * locales/es_ES: Likewise.
14059         * locales/es_HN: Likewise.
14060         * locales/es_MX: Likewise.
14061         * locales/es_PA: Likewise.
14062         * locales/es_PE: Likewise.
14063         * locales/es_PY: Likewise.
14064         * locales/es_SV: Likewise.
14065         * locales/es_US: Likewise.
14066         * locales/es_UY: Likewise.
14067         * locales/es_VE: Likewise.
14068         * locales/et_EE: Likewise.
14069         * locales/fa_IR: Likewise.
14070         * locales/fo_FO: Likewise.
14071         * locales/fr_CA: Likewise.
14072         * locales/fr_CH: Likewise.
14073         * locales/gv_GB: Likewise.
14074         * locales/he_IL: Likewise.
14075         * locales/hr_HR: Likewise.
14076         * locales/id_ID: Likewise.
14077         * locales/is_IS: Likewise.
14078         * locales/it_CH: Likewise.
14079         * locales/iw_IL: Likewise.
14080         * locales/kl_GL: Likewise.
14081         * locales/ko_KR: Likewise.
14082         * locales/kw_GB: Likewise.
14083         * locales/lg_UG: Likewise.
14084         * locales/lt_LT: Likewise.
14085         * locales/lv_LV: Likewise.
14086         * locales/mi_NZ: Likewise.
14087         * locales/nhn_MX: Likewise.
14088         * locales/nl_BE: Likewise.
14089         * locales/pl_PL: Likewise.
14090         * locales/sk_SK: Likewise.
14091         * locales/sl_SI: Likewise.
14092         * locales/sv_FI: Likewise.
14093         * locales/tl_PH: Likewise.
14094         * locales/tr_TR: Likewise.
14095         * locales/vi_VN: Likewise.
14097 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14099         [BZ #17475]
14100         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14101         of tu_IN and bh_IN.
14103 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14105         [BZ #18694]
14106         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14107         bits/wordsize.h.
14108         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14110 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14112         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14113         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14114         (spawn_thread): New function.
14115         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14116         (do_test): ... here.  Use IS_LOADED to test for its
14117         availability.
14119 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14121         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14123 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14125         [BZ #18696]
14126         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14127         si_addr_bnd.
14128         (si_lower): New.
14129         (si_upper): Likewise.
14131 2015-07-16  David S. Miller  <davem@davemloft.net>
14133         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14135 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14137         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14138         buffer.
14139         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14140         fail output information.
14142 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14145         and strstr-ppc64..
14146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14147         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14148         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14149         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14150         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14152 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14154         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14155         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14156         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14157         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14159 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14161         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14162         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14163         rtld_hidden_proto.
14164         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14166 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14168         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14169         the test can fail.
14171         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14173         [BZ #18676]
14174         * elf/tst-nodelete-opened.c: New test case.
14175         * elf/tst-nodelete-opened-lib.c: New test case module.
14176         * elf/Makefile (tests, modules-names): Use them.
14177         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14178         early.
14180 2015-07-15  David S. Miller  <davem@davemloft.net>
14182         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14183         futex-intenal.h
14184         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14185         * sysdeps/sparc/sparc64/Makefile: Likewise.
14186         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14187         Remove space from macro define.
14188         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14190 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14192         [BZ #17475]
14193         * locale/iso-639.def: Update Bhili and Tulu language codes as
14194         per iso639-3.
14196 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14198         * elf/tst-leaks1.c (main): Converted to ...
14199         (do_test): ... this.
14200         (TEST_FUNCTION): New macro.
14201         Include test-skeleton.c.
14202         * localedata/tst-langinfo.c (main): Converted to ...
14203         (do_test): ... this.
14204         (TEST_FUNCTION): New macro.
14205         Include test-skeleton.c.
14206         * math/test-fpucw.c (main): Converted to ...
14207         (do_test): ... this.
14208         (TEST_FUNCTION): New macro.
14209         Include test-skeleton.c.
14210         * math/test-tgmath.c (main): Converted to ...
14211         (do_test): ... this.
14212         (TEST_FUNCTION): New macro.
14213         Include test-skeleton.c.
14214         * math/test-tgmath2.c (main): Converted to ...
14215         (do_test): ... this.
14216         (TEST_FUNCTION): New macro.
14217         Include test-skeleton.c.
14218         * setjmp/tst-setjmp.c (main): Converted to ...
14219         (do_test): ... this.
14220         (TEST_FUNCTION): New macro.
14221         Include test-skeleton.c.
14222         * stdio-common/tst-sscanf.c (main): Converted to ...
14223         (do_test): ... this.
14224         (TEST_FUNCTION): New macro.
14225         Include test-skeleton.c.
14226         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14227         (do_test): ... this.
14228         (TEST_FUNCTION): New macro.
14229         Include test-skeleton.c.
14231         * elf/tst-audit9.c (main): Converted to ...
14232         (do_test): ... this.
14233         (TEST_FUNCTION): New macro.
14234         Include test-skeleton.c.
14236 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14238         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14240 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14242         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14243         New variable.
14245 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14247         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14249 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14251         * sysdeps/generic/dl-fileid.h: New file.
14252         * sysdeps/posix/dl-fileid.h: New file.
14253         * sysdeps/nacl/dl-fileid.h: New file.
14254         * include/link.h: Include <dl-fileid.h>.
14255         (struct link_map): Replace l_dev and l_ino with l_file_id.
14256         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14257         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14258         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14260 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14262         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14264 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14266         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14267         Add iff $CXX is set.
14268         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14269         Likewise.
14270         (tst-nodelete-zmodiff): Likewise.
14271         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14273 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14277 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14279         * sysdeps/aarch64/fpu/math_private.h
14280         (define math_opt_barrier): Add AArch64 version.
14281         (math_force_eval): Likewise.
14283 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14285         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14287 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14289         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14290         %ld with %jd and cast to intmax_t.
14291         (do_test_length_zero): Likewise.
14293 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14295         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14297 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14299         * sysdeps/tile/libm-test-ulps: Regenerated.
14301         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14302         Comment out the whole function, not just its body.
14304 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14306         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14307         locks.
14309         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14311 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14313         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14314         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14316 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14318         * sysdeps/nptl/futex-internal.h: New file.
14319         * sysdeps/nacl/futex-internal.h: New file.
14320         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14321         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14322         error checking.
14323         (setxid_unmark_thread): Likewise.
14324         (__nptl_setxid): Likewise.
14325         (__wait_lookup_done): Likewise.
14326         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14327         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14328         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14329         * nptl/pthread_once.c (clear_once_control): Likewise.
14330         (__pthread_once_slow): Likewise.
14331         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14332         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14333         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14334         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14335         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14336         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14337         Likewise.
14338         (__pthread_rwlock_rdlock): Likewise.
14339         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14340         Likewise.
14341         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14342         Likewise.
14343         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14344         Likewise.
14345         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14346         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14347         Likewise.
14348         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14349         __ASSUME_PRIVATE_FUTEX check.
14350         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14351         Check that shared futexes are supported.
14352         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14353         wrappers with error checking.
14354         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14355         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14356         * nptl/pthread_barrierattr_setpshared.c
14357         (pthread_barrierattr_setpshared): Check that shared futexes are
14358         supported.
14359         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14360         Likewise.
14361         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14362         Likewise.
14363         * nptl/sem_init.c (futex_private_if_supported): Remove.
14364         (__new_sem_init): Adapt and check that shared futexes are supported.
14365         * nptl/sem_open.c (sem_open): Likewise.
14366         * nptl/sem_post.c (futex_wake): Remove.
14367         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14368         (do_futex_wait): Use futex wrappers with error checking.
14369         * nptl/sem_wait.c: Include lowlevellock.h.
14370         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14371         Use futex_supports_pshared.
14372         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14373         Use futex wrappers with error checking.
14374         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14375         Likewise.
14376         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14377         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14378         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14379         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14380         (futex_wake): Likewise.
14381         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14382         (do_futex_wait): Use futex wrappers with error checking.
14383         (__new_sem_wait_slow): Update EINTR handling.
14384         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14386 2015-07-09  Martin Sebor  <msebor@redhat.com>
14388         [BZ #18435]
14389         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14390         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14391         * nptl/Makefile (test-xfail-tst-once5): Define.
14393 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14395         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14396         * elf/dl-minimal.c: For readability, reorder some definitions and
14397         introduce more page breaks.  Include <stdio.h>.
14398         (__libc_fatal): New function.
14400         * include/unistd.h: Add rtld_hidden_proto for _exit.
14401         * posix/_exit.c: Add rtld_hidden_def.
14402         * sysdeps/mach/hurd/_exit.c: Likewise.
14403         * sysdeps/nacl/_exit.c: Likewise.
14404         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14405         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14407 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14409         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14410         bndmov encoding with zero displacement.
14412 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14413             H.J. Lu  <hongjiu.lu@intel.com>
14415         [BZ #18134]
14416         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14417         * sysdeps/i386/configure: Regenerated.
14418         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14419         (_dl_runtime_profile): Save and restore Intel MPX return bound
14420         registers when calling _dl_call_pltexit.  Add
14421         PRESERVE_BND_REGS_PREFIX before return.
14422         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14423         (LRV_BND1_OFFSET): Likewise.
14424         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14425         lrv_bnd1.
14426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14427         typo in bndmov encoding.
14428         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14429         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14430         branch instructions to preserve bounds.
14432 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14435         [GLIBC_2.22]: Add fmemopen.
14437 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14439         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14440         returns an error, also try to use host port from __mach_host_self for
14441         the __vm_wire call.
14442         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14444 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14446         [BZ #18400]
14447         [BZ #18648]
14448         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14449         Fix pr_uid and pr_gid members.
14450         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14451         definition to elf_greg_t.
14453 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14455         [BZ #18383]
14456         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14457         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14458         * sysdeps/arm/configure: Regenerated.
14459         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14460         (test-xfail-tst-tlsalign-static): Variable removed.
14462         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14463         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14464         rather than explicit 'ln -s'.
14466         * resolv/rpc/netdb.h: New file.
14467         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14469 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14471         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14472         length buffers.
14473         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14474         test-skeleton.c.
14476         [BZ #6544]
14477         [BZ #11216]
14478         [BZ #12836]
14479         [BZ #13151]
14480         [BZ #13152]
14481         [BZ #14292]
14482         * include/stdio.h (fmemopen): Remove hidden prototype.
14483         (__fmemopen): Add new hidden prototype.
14484         * libio/Makefile: Add oldfmemopen object.
14485         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14486         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14487         compliance.
14488         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14489         symbol compatibility.
14490         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14491         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14492         fmemopen.
14493         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14494         on append and read mode.
14495         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14496         fmemopen.
14497         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14498         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14499         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14500         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14503         [GLIBC_2.22]: Likewise.
14504         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14505         Likewise.
14506         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14507         Likewise.
14508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14509         [GLIBC_2.22]: Likewise.
14510         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14511         [GLIBC_2.22]: Likewise.
14512         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14513         [GLIBC_2.22]: Likewise.
14514         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14515         [GLIBC_2.22]: Likewise.
14516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14517         [GLIBC_2.22]: Likewise.
14518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14519         [GLIBC_2.22]: Likewise.
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14521         [GLIBC_2.22]: Likewise.
14522         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14523         Likewise.
14524         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14527         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14528         [GLIBC_2.22]: Likewise.
14529         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14530         [GLIBC_2.22]: Likewise.
14531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14532         [GLIBC_2.22]: Likewise.
14533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14534         [GLIBC_2.22]: Likewise.
14535         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14536         Likewise.
14537         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14538         Likewise.
14539         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14540         Likewise.
14541         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14542         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14544 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14546         [BZ #18643]
14547         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14548         IPV6_PATHMTU, and IPV6_DONTFRAG.
14550 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14552         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14553         and _IO_UNBUFFERED.
14554         * libio/oldfileops.c: Likewise.
14555         * libio/wfileops.c: Likewise.
14557 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14559         * nscd/selinux.c: Delete selinux/flask.h include.
14561 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14563         [BZ #18641]
14564         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14565         (putpwent): Likewise.
14566         (getpwnam): Likewise.
14567         (getpwent_r): Likewise.
14568         (getpwuid_r): Likewise.
14569         (getpwnam_r): Likewise.
14570         (fgetpwent_r): Likewise.
14572 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14574         [BZ #18557]
14575         * inet/rcmd.c (__validuser2_sa): Check user first to
14576         short-circuit host check.
14578 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14579             Mikhail Ilin  <m.ilin@samsung.com>
14581         [BZ #17833]
14582         * elf/Makefile (tests): Add tst-nodelete.
14583         (modules-names): Add tst-nodelete-uniquemod.
14584         (tst-nodelete-uniquemod.so-no-z-defs): New.
14585         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14586         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14587         ($(objpfx)tst-nodelete): Likewise.
14588         ($(objpfx)tst-nodelete.out): Likewise.
14589         (LDFLAGS-tst-nodelete): Likewise.
14590         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14591         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14592         implement forced object deletion.
14593         (_dl_close): Pass false to _dl_close_worker.
14594         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14595         * elf/tst-nodelete.cc: New file.
14596         * elf/tst-nodeletelib.cc: Likewise.
14597         * elf/tst-znodeletelib.cc: Likewise.
14598         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14600 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14602         [BZ #18508]
14603         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14604         Depend on $(libdl).
14605         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14606         is not called infinitely times.
14607         (backtrace_helper): New function.
14608         (trace_arg): New struct.
14609         (st1): Enlarge stack size.
14610         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14611         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14612         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14613         Likewise.
14615 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14617         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14619 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14621         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14622         Include sys/types.h instead of bits/types.h.
14623         Remove inclusion of bits/wordsize.h.
14625 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14627         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14628         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14629         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14630         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14631         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14632         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14634 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14636         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14637         link-defines.sym.
14638         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14639         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14640         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14641         and LR_SIZE.
14642         * sysdeps/i386/link-defines.sym: New file.
14644 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14646         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14647         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14648         ($(objpfx)tst-audit3): New rule.
14649         ($(objpfx)tst-audit3.out): Likewise.
14650         * sysdeps/i386/tst-audit3.c: New file.
14651         * sysdeps/i386/tst-audit3.h: Likewise.
14652         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14653         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14655 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14657         [BZ #18633]
14658         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14659         pointer in C code.
14660         (__strcat_c): Likewise.
14661         (__strcat_g): Likewise.
14663 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14665         [BZ #18592]
14666         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14668 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14670         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14671         New function.  (__ieee754_sqrtf): New function.
14672         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14673         New function.
14674         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14675         New function.
14677 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14679         * sysdeps/ieee754/support.c: Remove unused file.
14681 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14683         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14684         registers instead of d ones so the layout is kernel abi compatible.
14685         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14686         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14687         Likewise.
14689 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14691         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14693 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14695         [BZ #18619]
14696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14697         and return argument in case of subnormal argument.
14699 2015-07-01  Martin Sebor  <msebor@redhat.com>
14701         [BZ #18435]
14702         * nptl/Makefile: Add tst-once5.cc.
14703         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14704         Remove macro redefinitions.
14705         * nptl/tst-once5.cc: New test.
14707 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14709         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14711         * sysdeps/arm/libm-test-ulps: Regenerated.
14713         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14714         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14716 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14718         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14719         lll_lock_wait_private and lll_futex_wake probes.
14721         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14722         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14723         Likewise.
14724         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14725         atomic_spin_nop.
14726         * sysdeps/x86_64/bits/atomic.h: Likewise.
14727         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14728         to atomic_spin_nop and move ...
14729         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14730         ... here and ...
14731         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14732         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14733         atomic_spin_nop instead of BUSY_WAIT_NOP.
14734         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14735         Likewise.
14736         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14737         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14738         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14739         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14740         instead of atomic_delay.
14742 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14744         [BZ #18613]
14745         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14746         X_ADJ not X when adjusting exponent.
14747         (__ieee754_gamma_r): Do intermediate computations in
14748         round-to-nearest then adjust overflowing and underflowing results
14749         as needed.
14750         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14751         of X_ADJ not X when adjusting exponent.
14752         (__ieee754_gammaf_r): Do intermediate computations in
14753         round-to-nearest then adjust overflowing and underflowing results
14754         as needed.
14755         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14756         log of X_ADJ not X when adjusting exponent.
14757         (__ieee754_gammal_r): Do intermediate computations in
14758         round-to-nearest then adjust overflowing and underflowing results
14759         as needed.  Use 1.0L not 1.0f as numerator of division.
14760         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14761         log of X_ADJ not X when adjusting exponent.
14762         (__ieee754_gammal_r): Do intermediate computations in
14763         round-to-nearest then adjust overflowing and underflowing results
14764         as needed.  Use 1.0L not 1.0f as numerator of division.
14765         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14766         of X_ADJ not X when adjusting exponent.
14767         (__ieee754_gammal_r): Do intermediate computations in
14768         round-to-nearest then adjust overflowing and underflowing results
14769         as needed.  Use 1.0L not 1.0f as numerator of division.
14770         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14771         to auto-libm-test-in.
14772         (tgamma_test): Use ALL_RM_TEST.
14773         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14774         tests of tgamma with spurious-overflow.
14775         * math/auto-libm-test-out: Regenerated.
14776         * math/gen-libm-have-vector-test.sh: Do not check for START.
14777         * sysdeps/i386/fpu/libm-test-ulps: Update.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780         [BZ #18612]
14781         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14782         arguments, just return 0.5 times the argument, with underflow
14783         forced as needed.
14784         * math/auto-libm-test-in: Add more tests of j1.
14785         * math/auto-libm-test-out: Regenerated.
14787         [BZ #16559]
14788         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14789         (__ieee754_j1): Force underflow exception for small results.
14790         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14791         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14792         (__ieee754_j1f): Force underflow exception for small results.
14793         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14794         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14796         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14797         (__ieee754_j1l): Force underflow exception for small results.
14798         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14799         * math/auto-libm-test-in: Add more tests of j1 and jn.
14800         * math/auto-libm-test-out: Regenerated.
14802         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14804         (PF_MPLS): Likewise.
14805         (AF_IB): Likewise.
14806         (AF_MPLS): Likewise.
14807         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14808         value and macro.
14809         (MS_RMT_MASK): Include MS_LAZYTIME.
14811 2015-06-26  Mel Gorman  <mgorman@suse.de>
14813         [BZ #18502]
14814         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14815         already minimal.
14817 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14819         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14820         (DT_MIPS_NUM): Update.
14821         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14822         DT_MIPS_RLD_MAP_REL.
14824 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14826         [BZ #16559]
14827         [BZ #18602]
14828         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14829         round-to-nearest internally then recompute results that
14830         underflowed to zero in the original rounding mode.
14831         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14832         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14834         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14835         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14836         * sysdeps/i386/fpu/libm-test-ulps: Update.
14837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14839 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14841         * NEWS: Fixed description of link with vector math library.
14843 2015-06-25  Andreas Schwab  <schwab@suse.de>
14845         [BZ #18549]
14846         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14847         * libio/test-fmemopen.c (do_test): Add test for it.
14849 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14851         [BZ #17841]
14852         * Makeconfig (no-pie-ldflag): New.
14853         (+link): Set to $(+link-pie) if default to PIE.
14854         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14855         * config.make.in (build-pie-default): New.
14856         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14857         is default.  AC_SUBST.
14858         * configure: Regenerated.
14859         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14861 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14863         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14864         to 'unsigned int'.
14866         * resolv/gai_misc.h (struct waitlist): Change type of field
14867         counterp to 'volatile unsigned int *'.
14868         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14869         FUTEXADDR and OLDVAL.
14870         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14871         Give local variable TOTAL type 'volatile unsigned int'.
14872         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14873         * resolv/gai_suspend.c (gai_suspend):
14874         Give local variable CNTR type 'unsigned int'.
14876         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14877         counterp to 'volatile unsigned int *'.
14878         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14879         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14880         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14881         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14882         Give local variable TOTAL type 'volatile unsigned int'.
14883         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14885 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14887         [BZ #18383]
14888         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14889         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14890         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14891         comment for i386/x86-64.
14892         (test-xfail-tst-tlsalign-extern-static): Removed.
14894 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14896         * math/test-double.h: New file.
14897         * math/test-float.h: Likewise.
14898         * math/test-ldouble.h: Likewise.
14899         * math/test-math-inline.h: Likewise.
14900         * math/test-math-no-inline.h: Likewise.
14901         * math/test-math-scalar.h: Likewise.
14902         * math/test-math-vector.h: Likewise.
14903         * math/test-vec-loop.h: Remove file.  Contents moved into
14904         test-math-vector.h.
14905         * math/libm-test.inc (MATHCONST): Do not document macro.
14906         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14907         and test-math-scalar.h.
14908         (FUNC): Remove macro.
14909         (FUNC_TEST): Likewise.
14910         (FLOAT): Likewise.
14911         (MATHCONST): Likewise.
14912         (PRINTF_EXPR): Likewise.
14913         (PRINTF_XEXPR): Likewise.
14914         (PRINTF_NEXPR): Likewise.
14915         (TEST_DOUBLE): Likewise.
14916         (TEST_MATHVEC): Likewise.
14917         (__NO_MATH_INLINES): Likewise.
14918         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14919         and test-math-scalar.h.
14920         (FUNC): Remove macro.
14921         (FUNC_TEST): Likewise.
14922         (FLOAT): Likewise.
14923         (MATHCONST): Likewise.
14924         (PRINTF_EXPR): Likewise.
14925         (PRINTF_XEXPR): Likewise.
14926         (PRINTF_NEXPR): Likewise.
14927         (TEST_FLOAT): Likewise.
14928         (TEST_MATHVEC): Likewise.
14929         (__NO_MATH_INLINES): Likewise.
14930         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14931         and test-math-scalar.h.
14932         (FUNC): Remove macro.
14933         (FUNC_TEST): Likewise.
14934         (FLOAT): Likewise.
14935         (MATHCONST): Likewise.
14936         (PRINTF_EXPR): Likewise.
14937         (PRINTF_XEXPR): Likewise.
14938         (PRINTF_NEXPR): Likewise.
14939         (TEST_DOUBLE): Likewise.
14940         (TEST_MATHVEC): Likewise.
14941         (TEST_INLINE): Likewise.
14942         (__NO_MATH_INLINES): Likewise.
14943         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14944         test-math-scalar.h.
14945         (FUNC): Remove macro.
14946         (FUNC_TEST): Likewise.
14947         (FLOAT): Likewise.
14948         (MATHCONST): Likewise.
14949         (PRINTF_EXPR): Likewise.
14950         (PRINTF_XEXPR): Likewise.
14951         (PRINTF_NEXPR): Likewise.
14952         (TEST_FLOAT): Likewise.
14953         (TEST_MATHVEC): Likewise.
14954         (TEST_INLINE): Likewise.
14955         (__NO_MATH_INLINES): Likewise.
14956         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14957         and test-math-scalar.h.
14958         (FUNC): Remove macro.
14959         (FUNC_TEST): Likewise.
14960         (FLOAT): Likewise.
14961         (MATHCONST): Likewise.
14962         (PRINTF_EXPR): Likewise.
14963         (PRINTF_XEXPR): Likewise.
14964         (PRINTF_NEXPR): Likewise.
14965         (TEST_LDOUBLE): Likewise.
14966         (TEST_MATHVEC): Likewise.
14967         (TEST_INLINE): Likewise.
14968         (__NO_MATH_INLINES): Likewise.
14969         * math/test-ldouble.c: Include test-ldouble.h,
14970         test-math-no-inline.h and test-math-scalar.h.
14971         (FUNC): Remove macro.
14972         (FUNC_TEST): Likewise.
14973         (FLOAT): Likewise.
14974         (MATHCONST): Likewise.
14975         (PRINTF_EXPR): Likewise.
14976         (PRINTF_XEXPR): Likewise.
14977         (PRINTF_NEXPR): Likewise.
14978         (TEST_LDOUBLE): Likewise.
14979         (TEST_MATHVEC): Likewise.
14980         (__NO_MATH_INLINES): Likewise.
14981         * math/test-double-vlen2.h: Include test-double.h,
14982         test-math-no-inline.h and test-math-vector.h.
14983         (FLOAT): Remove macro.
14984         (FUNC): Likewise.
14985         (MATHCONST): Likewise.
14986         (PRINTF_EXPR): Likewise.
14987         (PRINTF_XEXPR): Likewise.
14988         (PRINTF_NEXPR): Likewise.
14989         (TEST_DOUBLE): Likewise.
14990         (TEST_MATHVEC): Likewise.
14991         (__NO_MATH_INLINES): Likewise.
14992         (CNCT): Likewise.
14993         (CONCAT): Likewise.
14994         (WRAPPER_NAME): Likewise.
14995         (WRAPPER_DECL): Likewise.
14996         (WRAPPER_DECL_ff): Likewise.
14997         (WRAPPER_DECL_fFF): Likewise.
14998         (VECTOR_WRAPPER): Likewise.
14999         (VECTOR_WRAPPER_ff): Likewise.
15000         (VECTOR_WRAPPER_fFF): Likewise.
15001         (VEC_LEN): New macro.
15002         * math/test-double-vlen4.h: Include test-double.h,
15003         test-math-no-inline.h and test-math-vector.h.
15004         (FLOAT): Remove macro.
15005         (FUNC): Likewise.
15006         (MATHCONST): Likewise.
15007         (PRINTF_EXPR): Likewise.
15008         (PRINTF_XEXPR): Likewise.
15009         (PRINTF_NEXPR): Likewise.
15010         (TEST_DOUBLE): Likewise.
15011         (TEST_MATHVEC): Likewise.
15012         (__NO_MATH_INLINES): Likewise.
15013         (CNCT): Likewise.
15014         (CONCAT): Likewise.
15015         (WRAPPER_NAME): Likewise.
15016         (WRAPPER_DECL): Likewise.
15017         (WRAPPER_DECL_ff): Likewise.
15018         (WRAPPER_DECL_fFF): Likewise.
15019         (VECTOR_WRAPPER): Likewise.
15020         (VECTOR_WRAPPER_ff): Likewise.
15021         (VECTOR_WRAPPER_fFF): Likewise.
15022         (VEC_LEN): New macro.
15023         * math/test-double-vlen8.h: Include test-double.h,
15024         test-math-no-inline.h and test-math-vector.h.
15025         (FLOAT): Remove macro.
15026         (FUNC): Likewise.
15027         (MATHCONST): Likewise.
15028         (PRINTF_EXPR): Likewise.
15029         (PRINTF_XEXPR): Likewise.
15030         (PRINTF_NEXPR): Likewise.
15031         (TEST_DOUBLE): Likewise.
15032         (TEST_MATHVEC): Likewise.
15033         (__NO_MATH_INLINES): Likewise.
15034         (CNCT): Likewise.
15035         (CONCAT): Likewise.
15036         (WRAPPER_NAME): Likewise.
15037         (WRAPPER_DECL): Likewise.
15038         (WRAPPER_DECL_ff): Likewise.
15039         (WRAPPER_DECL_fFF): Likewise.
15040         (VECTOR_WRAPPER): Likewise.
15041         (VECTOR_WRAPPER_ff): Likewise.
15042         (VECTOR_WRAPPER_fFF): Likewise.
15043         (VEC_LEN): New macro.
15044         * math/test-float-vlen4.h: Include test-float.h,
15045         test-math-no-inline.h and test-math-vector.h.
15046         (FLOAT): Remove macro.
15047         (FUNC): Likewise.
15048         (MATHCONST): Likewise.
15049         (PRINTF_EXPR): Likewise.
15050         (PRINTF_XEXPR): Likewise.
15051         (PRINTF_NEXPR): Likewise.
15052         (TEST_FLOAT): Likewise.
15053         (TEST_MATHVEC): Likewise.
15054         (__NO_MATH_INLINES): Likewise.
15055         (CNCT): Likewise.
15056         (CONCAT): Likewise.
15057         (WRAPPER_NAME): Likewise.
15058         (WRAPPER_DECL): Likewise.
15059         (WRAPPER_DECL_ff): Likewise.
15060         (WRAPPER_DECL_fFF): Likewise.
15061         (VECTOR_WRAPPER): Likewise.
15062         (VECTOR_WRAPPER_ff): Likewise.
15063         (VECTOR_WRAPPER_fFF): Likewise.
15064         (VEC_LEN): New macro.
15065         * math/test-float-vlen8.h: Include test-float.h,
15066         test-math-no-inline.h and test-math-vector.h.
15067         (FLOAT): Remove macro.
15068         (FUNC): Likewise.
15069         (MATHCONST): Likewise.
15070         (PRINTF_EXPR): Likewise.
15071         (PRINTF_XEXPR): Likewise.
15072         (PRINTF_NEXPR): Likewise.
15073         (TEST_FLOAT): Likewise.
15074         (TEST_MATHVEC): Likewise.
15075         (__NO_MATH_INLINES): Likewise.
15076         (CNCT): Likewise.
15077         (CONCAT): Likewise.
15078         (WRAPPER_NAME): Likewise.
15079         (WRAPPER_DECL): Likewise.
15080         (WRAPPER_DECL_ff): Likewise.
15081         (WRAPPER_DECL_fFF): Likewise.
15082         (VECTOR_WRAPPER): Likewise.
15083         (VECTOR_WRAPPER_ff): Likewise.
15084         (VECTOR_WRAPPER_fFF): Likewise.
15085         (VEC_LEN): New macro.
15086         * math/test-float-vlen16.h: Include test-float.h,
15087         test-math-no-inline.h and test-math-vector.h.
15088         (FLOAT): Remove macro.
15089         (FUNC): Likewise.
15090         (MATHCONST): Likewise.
15091         (PRINTF_EXPR): Likewise.
15092         (PRINTF_XEXPR): Likewise.
15093         (PRINTF_NEXPR): Likewise.
15094         (TEST_FLOAT): Likewise.
15095         (TEST_MATHVEC): Likewise.
15096         (__NO_MATH_INLINES): Likewise.
15097         (CNCT): Likewise.
15098         (CONCAT): Likewise.
15099         (WRAPPER_NAME): Likewise.
15100         (WRAPPER_DECL): Likewise.
15101         (WRAPPER_DECL_ff): Likewise.
15102         (WRAPPER_DECL_fFF): Likewise.
15103         (VECTOR_WRAPPER): Likewise.
15104         (VECTOR_WRAPPER_ff): Likewise.
15105         (VECTOR_WRAPPER_fFF): Likewise.
15106         (VEC_LEN): New macro.
15107         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15108         test-vec-loop.h.
15109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15110         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15112         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15113         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15114         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15115         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15117 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15119         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15120         (__getlogin_r): ... this.
15122 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15124         [BZ #18594]
15125         * math/s_ccosh.c (__ccosh): Compare with least normal value
15126         instead of comparing class with FP_SUBNORMAL.
15127         * math/s_ccoshf.c (__ccoshf): Likewise.
15128         * math/s_ccoshl.c (__ccoshl): Likewise.
15129         * math/s_cexp.c (__cexp): Likewise.
15130         * math/s_cexpf.c (__cexpf): Likewise.
15131         * math/s_cexpl.c (__cexpl): Likewise.
15132         * math/s_csin.c (__csin): Likewise.
15133         * math/s_csinf.c (__csinf): Likewise.
15134         * math/s_csinh.c (__csinh): Likewise.
15135         * math/s_csinhf.c (__csinhf): Likewise.
15136         * math/s_csinhl.c (__csinhl): Likewise.
15137         * math/s_csinl.c (__csinl): Likewise.
15138         * math/s_ctan.c (__ctan): Likewise.
15139         * math/s_ctanf.c (__ctanf): Likewise.
15140         * math/s_ctanh.c (__ctanh): Likewise.
15141         * math/s_ctanhf.c (__ctanhf): Likewise.
15142         * math/s_ctanhl.c (__ctanhl): Likewise.
15143         * math/s_ctanl.c (__ctanl): Likewise.
15144         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15145         csin, csinh, ctan and ctanh.
15146         * math/auto-libm-test-out: Regenerated.
15147         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15148         * sysdeps/i386/fpu/libm-test-ulps: Update.
15149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15153         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15154         return value is wrong, print the expected value too.
15156 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15158         [BZ #18585]
15159         * elf/readlib.c (is_gdb_python_file): New.
15160         (process_file): Don't issue errors on filenames with -gdb.py
15161         suffix.
15163 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15165         * math/auto-libm-test-in: Add more tests of csin and csinh.
15166         * math/auto-libm-test-out: Regenerated.
15167         * math/libm-test.inc (csin_test_data): Remove tests moved to
15168         auto-libm-test-in.
15169         (csinh_test_data): Likewise.
15171         [BZ #18593]
15172         * math/s_csin.c (__csin): Negate before rather than after possibly
15173         overflowing multiplication.
15174         * math/s_csinf.c (__csinf): Likewise.
15175         * math/s_csinh.c (__csinh): Likewise.
15176         * math/s_csinhf.c (__csinhf): Likewise.
15177         * math/s_csinhl.c (__csinhl): Likewise.
15178         * math/s_csinl.c (__csinl): Likewise.
15179         * math/auto-libm-test-in: Add some tests of csin and csinh.
15180         * math/auto-libm-test-out: Regenerated.
15181         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15182         (csinh_test_data): Likewise.
15183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15185         [BZ #18586]
15186         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15187         underflow exception for small results.
15189 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15191         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15193         variable and included header.
15194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15197         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15198         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15199         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15201         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15202         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15203         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15204         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15205         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15206         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15207         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15208         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15209         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15211 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15213         [BZ #16526]
15214         [BZ #16538]
15215         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15216         (__sin): Force underflow exception for arguments with small
15217         absolute value.
15218         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15219         (__kernel_sinf): Force underflow exception for arguments with
15220         small absolute value.
15221         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15222         (__kernel_sincosl): Force underflow exception for arguments with
15223         small absolute value.
15224         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15225         (__kernel_sinl): Force underflow exception for arguments with
15226         small absolute value.
15227         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15228         (__kernel_sincosl): Force underflow exception for arguments with
15229         small absolute value.
15230         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15231         (__kernel_sinl): Force underflow exception for arguments with
15232         small absolute value.
15233         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15234         (__kernel_sinl): Force underflow exception for arguments with
15235         small absolute value.
15236         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15237         (__kernel_sinf): Force underflow exception for arguments with
15238         small absolute value.
15239         * math/auto-libm-test-in: Add more tests of sin and sincos.
15240         * math/auto-libm-test-out: Regenerated.
15242         [BZ #18245]
15243         [BZ #18583]
15244         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15245         (__kernel_standard_l): Use feholdexcept and fesetenv around
15246         conversion to double instead of special-casing overflow and
15247         underflow.
15248         * math/libm-test.inc (fmod_test_data): Add more tests.
15249         (remainder_test_data): Likewise.
15250         (sqrt_test_data): Likewise.
15252 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15254         [BZ #17403]
15255         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15256         atomic_read_barrier, atomic_write_barrier): Define.
15257         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15258         atomic_read_barrier, atomic_write_barrier): Define.
15260 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15262         * math/Makefile [$(PERL) != no]
15263         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15264         dependency on libm-test.stmp below the inclusion of Rules.
15266 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15268         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15269         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15270         and included header.
15271         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15273         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15276         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15279         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15280         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15281         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15282         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15283         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15284         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15285         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15286         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15287         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15288         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15289         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15291 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15293         [BZ #18371]
15294         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15295         intermediate but not final result might underflow.
15296         * math/s_csqrtf.c (__csqrtf): Likewise.
15297         * math/s_csqrtl.c (__csqrtl): Likewise.
15298         * math/auto-libm-test-in: Add more tests of csqrt.
15299         * math/auto-libm-test-out: Regenerated.
15300         * sysdeps/i386/fpu/libm-test-ulps: Update.
15302         [BZ #18219]
15303         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15304         threshold on absolute value of exponent for which scaling is used.
15305         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15306         * math/auto-libm-test-in: Add more tests of exp2.
15307         * math/auto-libm-test-out: Regenerated.
15309 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15311         [BZ #17977]
15312         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15313         when initializing interface list, based on the bug analysis
15314         and the patch proposed by Eric Newton.
15315         * resolv/tst-res_hconf_reorder.c: New test.
15316         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15317         tst-res_hconf_reorder.
15318         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15319         and $(shared-thread-library).
15320         (tst-res_hconf_reorder-ENV): New variable.
15322         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15323         in comment.
15325 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15327         [BZ #16353]
15328         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15329         (__expm1): Force underflow exception for arguments with small
15330         absolute value.
15331         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15332         (__expm1f): Force underflow exception for arguments with small
15333         absolute value.
15334         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15335         (__expm1): Force underflow exception for arguments with small
15336         absolute value.
15337         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15338         (__expm1f): Force underflow exception for arguments with small
15339         absolute value.
15340         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15341         Check for small arguments before calling __expm1.
15342         * math/auto-libm-test-in: Do not mark underflow exceptions as
15343         possibly missing for bug 16353.
15344         * math/auto-libm-test-out: Regenerated.
15346 2015-06-22  Andreas Schwab  <schwab@suse.de>
15348         [BZ #18513]
15349         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15350         PTR queries.
15352 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15354         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15356         * string/strcoll_l.c: Remove unused struct element idxnow.
15358 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15360         [BZ #18569]
15361         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15362         underflow and return argument in case of subnormal argument.
15363         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15364         Likewise.
15365         * math/auto-libm-test-in: Add more tests of expm1.
15366         * math/auto-libm-test-out: Regenerated.
15368         [BZ #16361]
15369         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15370         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15371         tiny results.
15372         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15373         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15374         tiny results.
15375         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15376         mark underflow exceptions as possibly missing for bug 16361.
15377         * math/auto-libm-test-out: Regenerated.
15379 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15381         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15382         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15383         Remove variable.
15384         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15385         (test-xfail-XOPEN2K8/utmpx.h/conform).
15387         * conform/conformtest.pl ($xerrors): New variable.
15388         (note_error): New function.
15389         (compiletest): New argument $xfail.  Use not_error.
15390         (runtest): Likewise.
15391         (top level): Handle xfail- lines.  Update calls to compiletest and
15392         runtest.  Handle xfail- and optional- in headers listed with
15393         allow-header.
15394         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15395         (O_EXEC): Likewise.
15396         (O_SEARCH): Likewise.
15397         * conform/data/stropts.h-data (ioctl): Likewise.
15398         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15399         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15400         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15401         (msghdr.msg_controllen): Likewise.
15402         (cmsghdr.cmsg_len): Likewise.
15403         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15404         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15405         variable.
15406         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15407         (test-xfail-XPG4/stropts.h/conform): Likewise.
15408         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15409         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15410         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15411         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15412         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15413         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15414         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15415         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15416         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15417         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15418         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15419         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15420         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15421         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15422         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15423         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15424         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15425         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15426         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15428 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15430         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15431         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15432         definitions for proper unfolding of __MATHDECL_VEC.
15434 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15436         * benchtests/bench-strcoll.c:
15437         Include string.h.
15438         (main): Remove unused variable res.
15440 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15442         * timezone/Makefile (%/UTC %/Universal):
15443         Generate test-result files for UTC and Universal.
15445 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15447         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15449 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15451         [BZ #16350]
15452         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15453         for arguments with small absolute value.
15454         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15455         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15456         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15457         (__asinh): Force underflow exception for arguments with small
15458         absolute value.
15459         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15460         (__asinhf): Force underflow exception for arguments with small
15461         absolute value.
15462         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15463         (__asinhl): Force underflow exception for arguments with small
15464         absolute value.
15465         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15466         (__asinhl): Force underflow exception for arguments with small
15467         absolute value.
15468         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15469         (__asinhl): Force underflow exception for arguments with small
15470         absolute value.
15471         * math/auto-libm-test-in: Do not mark underflow exceptions as
15472         possibly missing for bug 16350.
15473         * math/auto-libm-test-out: Regenerated.
15475         * include/bits/ipc.h: Remove file.
15476         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15477         variable.
15478         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15479         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15480         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15481         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15482         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15483         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15484         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15485         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15486         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15488         * math/auto-libm-test-in: Remove spurious underflow allowance for
15489         tests of cexp.
15490         * math/auto-libm-test-out: Regenerated.
15492         [BZ #18558]
15493         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15494         unconditional definition.
15495         (MCAST_BLOCK_SOURCE): Likewise.
15496         (MCAST_UNBLOCK_SOURCE): Likewise.
15497         (MCAST_LEAVE_GROUP): Likewise.
15498         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15499         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15500         (MCAST_MSFILTER): Likewise.
15501         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15502         Remove variable.
15503         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15504         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15505         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15506         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15507         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15509 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15511         * NEWS: Mention addition of x86_64 vector sincosf.
15512         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15513         * math/test-float-vlen4.h: Likewise.
15514         * math/test-float-vlen8.h: Likewise.
15515         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15516         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15517         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15518         * sysdeps/x86_64/fpu/Versions: New versions added.
15519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15520         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15521         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15522         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15523         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15525         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15526         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15527         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15528         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15529         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15530         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15531         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15532         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15533         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15534         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15535         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15536         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15537         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15538         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15539         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15541         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15542         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15544         * NEWS: Mention addition of x86_64 vector sincos.
15545         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15546         * math/math.h (__MATHDECL_VEC): New macro.
15547         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15548         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15549         declaration under condition.
15550         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15551         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15552         TEST_VEC_LOOP change.
15553         * math/test-double-vlen4.h: Likewise.
15554         * math/test-double-vlen8.h: Likewise.
15555         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15556         * math/test-float-vlen4.h: Likewise.
15557         * math/test-float-vlen8.h: Likewise.
15558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15559         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15561         * sysdeps/x86_64/fpu/Versions: New versions added.
15562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15564         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15565         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15566         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15567         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15568         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15569         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15570         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15571         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15572         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15573         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15574         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15575         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15576         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15577         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15578         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15579         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15580         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15582         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15583         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15584         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15585         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15587         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15589         redirections for powf.
15590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15591         * sysdeps/x86_64/fpu/Versions: New versions added.
15592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15594         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15595         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15596         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15597         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15598         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15599         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15600         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15601         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15602         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15603         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15604         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15605         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15606         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15607         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15608         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15609         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15610         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15611         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15612         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15613         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15614         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15615         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15616         * math/test-float-vlen16.h: Fixed 2 argument macro.
15617         * math/test-float-vlen4.h: Likewise.
15618         * math/test-float-vlen8.h: Likewise.
15619         * NEWS: Mention addition of x86_64 vector powf.
15621 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15623         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15624         and redefine.
15625         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15626         and redefine.
15627         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15628         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15629         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15631         [BZ #18553]
15632         * resource/getpriority.c (getpriority): Rename to __getpriority
15633         and define as weak alias of __getpriority.
15634         * resource/setpriority.c (setpriority): Rename to __setpriority
15635         and define as weak alias of __setpriority.
15636         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15637         __getpriority and define as weak alias of __getpriority.
15638         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15639         __setpriority and define as weak alias of __setpriority.
15640         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15641         strong name.
15642         (setpriority): Use __setpriority as strong name.
15643         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15644         __getpriority and define as weak alias of __getpriority.
15645         * include/sys/resource.h (__getpriority): Declare.  Use
15646         libc_hidden_proto.
15647         (__setpriority): Likewise.
15648         (getpriority): Don't use libc_hidden_proto.
15649         (setpriority): Likewise.
15650         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15651         getpriority.  Call __setpriority instead of setpriority.
15652         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15653         Remove variable.
15655         [BZ #18547]
15656         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15657         as weak alias of __getttynam.  Use prototype function definition.
15658         Call __setttyent, __getttyent and __endttyent instead of
15659         setttyent, getttyent and endttyent.
15660         (getttyent): Rename to __getttyent and define as weak alias of
15661         __getttyent.  Call __setttyent instead of setttyent.  Call
15662         __fgets_unlocked instead of fgets_unlocked.
15663         (setttyent): Rename to __setttyent and define as weak alias of
15664         __setttyent.
15665         (endttyent): Rename to __endttyent and define as weak alias of
15666         __endttyent.
15667         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15668         (__setttyent): Likewise.
15669         (__endttyent): Likewise.
15670         (getttyent): Don't use libc_hidden_proto.
15671         (setttyent): Likewise.
15672         (endttyent): Likewise.
15673         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15674         __endttyent instead of setttyent, getttyent and endttyent.
15675         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15676         Remove variable.
15678         [BZ #18546]
15679         * socket/recv.c (__recv): Use libc_hidden_def.
15680         * socket/socket.c (__socket): Likewise.
15681         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15682         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15683         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15684         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15685         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15686         libc_hidden_def.
15687         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15688         libc_hidden_weak.
15689         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15690         Use libc_hidden_proto.
15691         (__recv): Likewise.
15692         * socket/Versions (libc): Export __recv and __socket at version
15693         GLIBC_PRIVATE.
15694         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15695         instead of recv.
15696         (init_mq_netlink): Call __socket instead of socket.
15697         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15698         Remove variable.
15700         [BZ #18545]
15701         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15702         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15703         hidden_weak.
15704         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15705         define as alias of __mq_timedsend.  Use hidden_weak.
15706         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15707         __mq_timedsend as strong name.
15708         (mq_timedreceive): Use __mq_timedreceive as strong name.
15709         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15710         (__mq_timedreceive): Likewise.
15711         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15712         __mq_timedreceive instead of mq_timedreceive.
15713         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15714         instead of mq_timedsend.
15715         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15716         Remove variable.
15718         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15719         hidden_def and hidden_weak instead of libc_hidden_def and
15720         libc_hidden_weak.
15721         (top level): Refer to hidden_def in comment.
15722         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15723         macro.  Use it instead of libc_hidden_def.
15724         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15725         specify __GI_* name explicitly.
15726         (mq_timedreceive): Likewise.
15727         (mq_setattr): Likewise.
15729         [BZ #18544]
15730         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15731         __pthread_barrier_init and define as weak alias of
15732         __pthread_barrier_init.
15733         * sysdeps/sparc/nptl/pthread_barrier_init.c
15734         (pthread_barrier_init): Likewise.
15735         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15736         __pthread_barrier_wait and define as weak alias of
15737         __pthread_barrier_wait.
15738         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15739         (pthread_barrier_wait): Likewise.
15740         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15741         (pthread_barrier_wait): Likewise.
15742         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15743         (pthread_barrier_wait): Likewise.
15744         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15745         (pthread_barrier_wait): Likewise.
15746         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15747         __pthread_barrier_wait at version GLIBC_PRIVATE.
15748         * include/pthread.h (__pthread_barrier_init): Declare.
15749         (__pthread_barrier_wait): Likewise.
15750         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15751         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15752         (helper_thread): Likewise.
15753         (init_mq_netlink): Call __pthread_barrier_init instead of
15754         pthread_barrier_init.
15756         [BZ #18542]
15757         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15758         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15759         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15760         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15761         vswscanf.
15762         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15763         Remove variable.
15765         [BZ #18540]
15766         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15767         strong alias of _IO_fflush.  Use libc_hidden_def.
15768         * libio/iofflush_u.c (fflush_unlocked): Rename to
15769         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15770         Use libc_hidden_weak.
15771         * include/stdio.h (__fflush_unlocked): Declare.  Use
15772         libc_hidden_proto.
15773         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15774         fflush_unlocked.
15775         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15776         Remove variable.
15778         [BZ #18539]
15779         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15780         define as weak alias of __addseverity.
15781         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15782         Remove variable.
15783         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15784         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15785         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15787         [BZ #18536]
15788         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15789         (__tfind): Likewise.
15790         (__tdelete): Likewise.
15791         (__twalk): Likewise.
15792         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15793         __twalk to GLIBC_PRIVATE.
15794         * include/search.h (__tsearch): Use libc_hidden_proto.
15795         (__tfind): Likewise.
15796         (__tdelete): Likewise.
15797         (__twalk): Likewise.
15798         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15799         Call __tdelete instead of tdelete.
15800         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15801         tfind.  Call __tsearch instead of tsearch.
15802         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15803         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15804         Remove variable.
15805         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15807         [BZ #18534]
15808         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15809         (dprintf): Define as a weak alias of __dprintf, not a strong
15810         alias.
15811         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15812         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15813         dprintf.
15814         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15815         Remove variable.
15816         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15817         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15819         [BZ #18533]
15820         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15821         not a strong alias.
15822         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15823         Remove variable.
15825         [BZ #18532]
15826         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15827         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15828         (in6addr_loopback): Rename to __in6addr_loopback and define as
15829         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15830         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15831         libc_hidden_proto.
15832         (__in6addr_any): Likewise.
15833         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15834         in6addr_any.
15835         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15836         variable.
15837         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15839 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15841         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15842         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15843         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15844         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15845         redirections for pow.
15846         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15847         * sysdeps/x86_64/fpu/Versions: New versions added.
15848         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15849         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15850         build of SSE, AVX2 and AVX512 IFUNC versions.
15851         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15852         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15853         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15854         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15855         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15856         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15857         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15858         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15859         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15860         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15861         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15862         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15863         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15864         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15865         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15866         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15867         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15868         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15869         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15870         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15871         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15872         * NEWS: Mention addition of x86_64 vector pow.
15874         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15875         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15876         redirections for expf.
15877         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15878         * sysdeps/x86_64/fpu/Versions: New versions added.
15879         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15880         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15881         build of SSE, AVX2 and AVX512 IFUNC versions.
15882         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15883         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15884         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15885         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15886         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15887         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15888         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15889         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15890         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15891         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15892         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15893         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15894         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15895         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15896         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15897         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15898         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15899         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15900         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15901         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15902         * NEWS: Mention addition of x86_64 vector expf.
15904         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15905         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15906         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15907         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15908         redirections for exp.
15909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15910         * sysdeps/x86_64/fpu/Versions: New versions added.
15911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15912         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15913         build of SSE, AVX2 and AVX512 IFUNC versions.
15914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15915         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15916         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15917         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15918         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15919         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15920         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15921         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15922         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15923         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15924         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15925         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15926         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15927         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15928         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15929         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15930         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15931         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15932         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15933         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15934         * NEWS: Mention addition of x86_64 vector exp.
15936         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15937         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15938         redirections for logf.
15939         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15940         * sysdeps/x86_64/fpu/Versions: New versions added.
15941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15942         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15943         build of SSE, AVX2 and AVX512 IFUNC versions.
15944         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15945         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15946         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15947         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15948         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15949         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15950         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15951         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15952         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15953         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15954         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15955         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15956         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15957         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15958         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15959         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15960         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15961         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15962         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15963         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15964         * NEWS: Mention addition of x86_64 vector logf.
15966         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15967         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15968         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15969         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15970         redirections for log.
15971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15972         * sysdeps/x86_64/fpu/Versions: New versions added.
15973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15975         build of SSE, AVX2 and AVX512 IFUNC versions.
15976         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15977         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15978         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15979         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15980         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15981         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15982         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15983         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15984         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15985         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15986         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15987         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15988         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15989         test.
15990         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15991         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15992         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15993         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15994         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15995         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15996         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15997         * NEWS: Mention addition of x86_64 vector log.
15999 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16001         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16002         cfi_adjust_cfa_offset argument.
16003         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16004         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16006         [BZ #18034]
16007         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16008         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16009         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16010         ordering using ldar.
16011         (_dl_tlsdesc_dynamic): Likewise.
16012         (_dl_tlsdesc_return_lazy): Likewise.
16013         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16014         relaxed atomics instead of volatile and synchronize with release store.
16015         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16016         volatile.
16017         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16019 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16021         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16022         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16023         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16024         * sysdeps/x86_64/fpu/Versions: New versions added.
16025         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16026         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16027         build of SSE, AVX2 and AVX512 IFUNC versions.
16028         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16029         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16030         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16031         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16034         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16035         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16036         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16037         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16038         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16039         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16040         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16041         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16042         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16043         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16044         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16045         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16046         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16047         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16048         * NEWS: Mention addition of x86_64 vector sinf.
16050 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16052         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16053         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16054         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16055         Remove variable.
16056         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16057         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16059 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16061         [BZ #18530]
16062         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16063         strong alias of _IO_fputs.  Use libc_hidden_def.
16064         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16065         and define as weak alias of __fputs_unlocked.  Use
16066         libc_hidden_weak.
16067         * include/stdio.h (__fputs_unlocked): Declare.  Use
16068         libc_hidden_proto.
16069         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16070         fputs_unlocked.
16072         [BZ #18529]
16073         * resolv/netdb.h [__USE_POSIX]: Change condition to
16074         [__USE_XOPEN2K].
16075         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16076         not expect.
16077         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16078         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16079         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16080         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16081         [XPG4 || UNIX98] (AI_ALL): Likewise.
16082         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16083         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16084         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16085         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16086         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16087         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16088         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16089         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16090         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16091         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16092         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16093         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16094         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16095         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16096         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16097         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16098         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16099         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16100         [XPG4 || UNIX98] (gai_strerror): Likewise.
16101         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16102         [XPG4 || UNIX98] (getnameinfo): Likewise.
16104         [BZ #18528]
16105         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16106         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16107         __USE_XOPEN2K8].
16108         (getgrent): Likewise.
16109         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16110         expect.
16111         [XPG3 || POSIX2008] (endgrent): Likewise.
16112         [XPG3] (setgrent): Likewise.
16113         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16114         variable.
16115         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16117         [BZ #18527]
16118         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16119         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16120         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16121         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16122         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16123         * include/unistd.h (__getlogin_r): Declare.  Use
16124         libc_hidden_proto.
16125         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16126         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16127         variable.
16128         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16129         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16130         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16132 2015-06-12  Martin Sebor  <msebor@redhat.com>
16134         [BZ #18512]
16135         * Makerules (check-install-supported): New target.
16136         (install): Add check-install-supported as a dependency.
16137         * manual/install.texi (Installing the C Library): Document
16138         that overriding prefix and exec_prefix is not supported.
16139         Mention DESTDIR.
16140         * INSTALL: Regenerate from the above.
16142 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16144         [BZ #18519]
16145         * posix/Versions (libc): Export __libc_pread at version
16146         GLIBC_PRIVATE.
16147         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16148         instead of pread.
16149         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16150         variable.
16152         [BZ #18522]
16153         * misc/efgcvt_r.c
16154         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16155         (cvt_symbol): Use weak_alias instead of strong_alias.
16156         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16157         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16158         Remove variable.
16159         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16160         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16162         [BZ #18520]
16163         * inet/herrno.c (h_errno): Rename to __h_errno.
16164         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16165         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16166         to __h_errno instead of h_errno.
16167         * nptl/herrno.c (h_errno): Rename to __h_errno.
16168         (__h_errno_location): Refer to __h_errno not h_errno.
16169         * resolv/Versions (h_errno): Rename to __h_errno.
16170         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16171         Remove variable.
16172         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16174 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16176         * configure.ac: More strict check for AVX512 assembler support.
16177         * configure: Regenerated.
16179         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16180         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16182         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16184         * sysdeps/x86_64/fpu/Versions: New versions added.
16185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16187         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16188         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16189         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16190         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16191         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16194         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16195         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16196         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16197         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16198         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16199         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16200         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16201         test.
16202         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16203         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16205         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16206         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16207         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16208         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16209         * NEWS: Mention addition of x86_64 vector sin.
16211 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16213         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16214         comment.
16216 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16218         [BZ #18479]
16219         * nptl/pt-interp.c: New file.
16220         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16221         Add pt-interp.
16222         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16223         $(common-objpfx)runtime-linker.h.
16225 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16227         * Makeconfig (+interp): Remove unused variable.
16228         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16229         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16230         $(elf-objpfx)runtime-linker.h.
16231         ($(elf-objpfx)runtime-linker.h): Rename to
16232         $(common-objpfx)runtime-linker.h and move ...
16233         * Makerules [$(build-shared) = yes]: ... here.
16234         * elf/interp.c: Include <runtime-linker.h> instead of
16235         <elf/runtime-linker.h>.
16237 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16239         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16240         (__gettimeofday_syscall): Remove vsyscall fallback.
16241         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16242         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16243         Add syscall fallback function.
16244         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16245         if vDSO is not present.
16246         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16247         fallback function.
16248         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16249         present.
16250         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16251         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16253 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16255         [BZ #18497]
16256         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16257         of wcscmp.
16258         (wcscmp): Define as weak alias of WCSCMP.
16259         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16260         wcscoll.
16261         (USE_HIDDEN_DEF): Define.
16262         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16263         __wcscoll.  Don't use libc_hidden_weak.
16264         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16265         wcscmp.
16266         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16267         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16268         __GI_wcscmp.
16269         (weak_alias): Undefine and redefine.
16270         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16271         __wcscmp and define as weak alias of __wcscmp.
16272         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16273         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16274         (__wcscoll): Likewise.
16275         (wcscmp): Don't use libc_hidden_proto.
16276         (wcscoll): Likewise.
16277         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16278         wcscoll.
16279         * posix/regexec.c (check_node_accept_bytes): Likewise.
16280         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16281         variable.
16282         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16283         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16285         [BZ #18507]
16286         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16287         __fstatvfs and define as weak alias of __fstatvfs.  Use
16288         libc_hidden_weak.
16289         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16290         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16291         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16292         Define as alias of __fstatvfs, not fstatvfs.
16293         (fstatvfs64): Likewise.
16294         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16295         Define as alias of __statvfs, not statvfs.
16296         (statvfs64): Likewise.
16297         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16298         Remove variable.
16300 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16303         (HAVE_GETCPU_VSYSCALL): Define.
16304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16305         (HAVE_GETCPU_VSYSCALL): Likewise.
16306         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16307         * sysdeps/unix/sysv/linux/sched_getcpu.c
16308         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16309         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16310         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16311         prototype.
16312         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16313         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16314         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16316         Define.
16317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16318         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16319         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16320         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16322 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16324         * sysdeps/x86_64/fpu/Makefile: New file.
16325         * sysdeps/x86_64/fpu/Versions: New file.
16326         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16327         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16328         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16329         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16330         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16331         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16332         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16333         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16335         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16338         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16339         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16340         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16341         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16342         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16343         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16344         * sysdeps/x86_64/configure: Regenerated.
16345         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16346         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16347         * manual/install.texi (Configuring and compiling): Document
16348         --disable-mathvec.
16349         * INSTALL: Regenerated.
16350         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16352         * math/Makefile: Added rules for vector tests.
16353         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16354         declaration under condition.
16355         * math/test-double-vlen2.h: New file.
16356         * math/test-double-vlen4.h: New file.
16357         * math/test-double-vlen8.h: New file.
16358         * math/test-vec-loop.h: Added initialization macro.
16359         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16360         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16361         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16362         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16363         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16364         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16365         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16366         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16367         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16368         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16369         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16371         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16372         * sysdeps/x86_64/fpu/Versions: New versions added.
16373         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16374         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16375         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16376         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16377         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16378         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16379         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16380         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16381         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16382         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16383         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16384         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16385         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16387         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16388         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16389         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16390         * NEWS: Mention addition of x86_64 vector cosf.
16392         * math/Makefile: Added CFLAGS for new tests.
16393         * math/test-float-vlen16.h: New file.
16394         * math/test-float-vlen4.h: New file.
16395         * math/test-float-vlen8.h: New file.
16396         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16397         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16399         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16400         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16401         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16402         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16403         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16404         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16405         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16406         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16408 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16410         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16411         * locale/programs/ld-ctype.c: Likewise.
16413 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16415         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16416         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16417         bit_ZMM16_31_state): New macro.
16418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16419         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16421 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16423         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16425 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16427         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16429 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16431         [BZ #18498]
16432         * libio/memstream.c (open_memstream): Rename to __open_memstream
16433         and define as weak alias of __open_memstream.
16434         * include/stdio.h (__open_memstream): Declare.  Use
16435         libc_hidden_proto.
16436         (open_memstream): Don't use libc_hidden_proto.
16437         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16438         open_memstream.
16439         * posix/getopt.c (_getopt_internal_r): Likewise.
16440         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16441         variable.
16442         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16443         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16444         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16446         [BZ #18496]
16447         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16448         instead of wcrtomb.
16450         [BZ #18483]
16451         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16452         [__USE_XOPEN2K8].  Remove redundant #endif.
16453         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16454         Remove redundant #if.
16455         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16456         Remove variable.
16457         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16458         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16460         [BZ #18495]
16461         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16462         (__iswlower): Likewise.
16463         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16464         (__iswlower): Likewise.
16465         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16466         instead of towlower.
16467         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16468         instead of iswlower.  Call __towupper instead of towupper.
16469         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16470         instead of iswalnum.
16472 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16474         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16475         errors to stderr.
16477 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16479         [BZ #15661]
16480         [BZ #17322]
16481         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16482         Check for overflow properly.  Check for O_APPEND.  Ignore large
16483         file system block sizes.  Add comments about problems.
16484         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16485         * manual/filesys.texi (Storage Allocation): New node.
16487 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16489         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16490         cancellable syscalls.
16491         (SYS_ify): Add guard to no redefine it.
16492         (INLINE_SYSCALL): Likewise.
16493         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16494         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16495         SYSCALL_CANCEL instead.
16496         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16497         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16498         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16499         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16500         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16501         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16502         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16503         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16504         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16505         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16506         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16507         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16508         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16509         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16510         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16514         (__libc_pread64): Likewise.
16515         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16516         (__libc_preadv): Likewise.
16517         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16518         (__libc_readv64): Likewise.
16519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16520         (__libc_pwrite): Likewise.
16521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16522         (__libc_pwrite64): Likewise.
16523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16524         (__libc_pwritev): Likewise.
16525         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16526         (__libc_pwritev64): Likewise.
16527         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16528         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16529         (sync_file_range): Likewise.
16530         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16531         Likewise.
16532         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16533         Likewise.
16534         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16535         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16536         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16537         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16538         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16539         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16540         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16541         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16543         Likewise.
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16545         (__libc_read64): Likewise.
16546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16547         Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16549         Likewise.
16550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16555         (__libc_pread64): Likewise.
16556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16557         Likewise.
16558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16559         (__libc_pwrite64): Likewise.
16560         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16561         (sync_file_range): Likewise.
16562         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16563         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16564         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16565         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16566         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16567         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16568         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16569         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16570         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16571         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16572         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16573         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16574         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16575         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16576         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16577         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16578         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16579         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16580         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16581         Likewise.
16582         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16583         Likewise.
16584         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16585         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16586         Likewise.
16587         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16588         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16589         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16590         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16591         Likewise.
16592         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16593         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16594         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16595         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16596         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16598 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16600         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16601         Include dl-vdso.
16602         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16603         Use VDSO routines for gettimeofday, clock_gettime if
16604         available.
16605         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16606         Declare VDSO symbols.
16607         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16608         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16609         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16610         * sysdeps/unix/sysv/linux/arm/Versions: Add
16611         __vdso_clock_gettime.
16613 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16615         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16616         be an inline implementation regardless of library is built within.
16617         (open_not_cancel_2): Likewise.
16618         (__read_nocancel): Likewise.
16619         (__write_nocancel): Likewise.
16620         (openat_not_cancel): Likewise.
16621         (openat_not_cancel_3): Likewise.
16622         (openat64_not_cancel): Likewise.
16623         (openat64_not_cancel_3): Likewise.
16624         (__close_nocancel): Likewise.
16625         (pause_not_cancel): Likewise.
16626         (nanosleep_not_cancel): Likewise.
16627         (sigsuspend_not_cancel): Likewise.
16629 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16631         [BZ #14958]
16632         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16633         wake-up.
16634         (__pthread_rwlock_rdlock_slow): Likewise.
16635         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16636         Likewise.
16637         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16638         Likewise.
16639         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16640         * nptl/tst-rwlock16.c: New file.
16641         * nptl/Makefile (tests): Add new test.
16643 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16645         [BZ #18324]
16646         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16647         missing wake-up of readers.
16648         * nptl/tst-rwlock15.c: New file.
16649         * nptl/Makefile (tests): Add new test.
16651 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16653         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16654         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16655         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16656         and __nacl_supply_interface_rtld.
16657         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16658         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16659         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16660         Add __nacl_supply_interface_rtld.
16661         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16663 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16665         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16666         isfinite.
16667         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16668         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16670 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16672         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16673         __signbit* with standard C99 macros.
16674         * math/e_exp10l.c: Likewise.
16675         * math/e_exp2l.c: Likewise.
16676         * math/e_scalb.c: Likewise.
16677         * math/e_scalbf.c: Likewise.
16678         * math/e_scalbl.c: Likewise.
16679         * math/s_ldexp.c: Likewise.
16680         * math/s_ldexpf.c: Likewise.
16681         * math/s_ldexpl.c: Likewise.
16682         * math/w_atan2.c: Likewise.
16683         * math/w_atan2f.c: Likewise.
16684         * math/w_atan2l.c: Likewise.
16685         * math/w_cosh.c: Likewise.
16686         * math/w_coshf.c: Likewise.
16687         * math/w_coshl.c: Likewise.
16688         * math/w_exp10.c: Likewise.
16689         * math/w_exp10f.c: Likewise.
16690         * math/w_exp10l.c: Likewise.
16691         * math/w_exp2.c: Likewise.
16692         * math/w_exp2f.c: Likewise.
16693         * math/w_exp2l.c: Likewise.
16694         * math/w_fmod.c: Likewise.
16695         * math/w_fmodf.c: Likewise.
16696         * math/w_fmodl.c: Likewise.
16697         * math/w_hypot.c: Likewise.
16698         * math/w_hypotf.c: Likewise.
16699         * math/w_hypotl.c: Likewise.
16700         * math/w_jnl.c: Likewise.
16701         * math/w_lgamma.c: Likewise.
16702         * math/w_lgamma_r.c: Likewise.
16703         * math/w_lgammaf.c: Likewise.
16704         * math/w_lgammaf_r.c: Likewise.
16705         * math/w_lgammal.c: Likewise.
16706         * math/w_lgammal_r.c: Likewise.
16707         * math/w_pow.c: Likewise.
16708         * math/w_powf.c: Likewise.
16709         * math/w_powl.c: Likewise.
16710         * math/w_remainder.c: Likewise.
16711         * math/w_remainderf.c: Likewise.
16712         * math/w_remainderl.c: Likewise.
16713         * math/w_scalb.c: Likewise.
16714         * math/w_scalbf.c: Likewise.
16715         * math/w_scalbl.c: Likewise.
16716         * math/w_scalbln.c: Likewise.
16717         * math/w_scalblnf.c: Likewise.
16718         * math/w_scalblnl.c: Likewise.
16719         * math/w_sinh.c: Likewise.
16720         * math/w_sinhf.c: Likewise.
16721         * math/w_sinhl.c: Likewise.
16722         * math/w_tgamma.c: Likewise.
16723         * math/w_tgammaf.c: Likewise.
16724         * math/w_tgammal.c: Likewise.
16725         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16726         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16729         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16730         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16731         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16732         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16733         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16734         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16735         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16746         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16747         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16751         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16752         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16753         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16754         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16755         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16756         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16757         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16758         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16759         * stdio-common/printf_fp.c: Likewise.
16760         * stdio-common/printf_fphex.c: Likewise.
16761         * stdio-common/printf_size.c: Likewise.
16763 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16765         [BZ #18470]
16766         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16767         strnlen.
16768         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16769         Remove variable.
16770         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16771         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16772         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16773         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16774         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16775         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16776         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16777         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16778         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16779         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16781         [BZ #18468]
16782         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16783         weak alias of __wmemchr.  Use libc_hidden_weak.
16784         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16785         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16786         instead of wmemchr.
16788 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16790         [BZ #18383]
16791         * elf/tst-tlsalign-extern.c: New file.
16792         * elf/tst-tlsalign-extern-static.c: New file.
16793         * elf/tst-tlsalign-vars.c: New file.
16794         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16795         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16796         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16797         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16798         (test-xfail-tst-tlsalign-extern-static): New variable.
16800 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16802         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16803         Use variable name _sc_err instead of err.
16804         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16805         instead of ret.
16806         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16807         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16808         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16809         (INLINE_SYSCALL): Likewise.
16811         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16812         * include/string.h (__strnlen): Use libc_hidden_proto.
16813         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16814         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16815         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16816         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16817         (libc_hidden_def): Undefine and redefine.
16818         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16819         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16820         __GI_strnlen.
16821         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16822         libc_hidden_def.
16823         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16825         [BZ #18469]
16826         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16827         weak alias of __towlower.  Use libc_hidden_weak.
16828         (towupper): Rename to __towupper and define as weak alias of
16829         __towupper.  Use libc_hidden_weak.
16830         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16831         (__towupper): Likewise.
16832         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16833         __towlower instead of towlower.
16835 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16837         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16838         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16840 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16842         * sysdeps/aarch64/libm-test-ulps: Update.
16844 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16846         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16847         Define.
16848         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16849         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16850         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16851         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16852         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16853         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16854         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16856 2015-06-01  Martin Sebor  <msebor@redhat.com>
16858         [BZ #18116]
16859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16860         (__setcontext): Use extended four-operand version of mtsf whenever
16861         possible.
16862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16863         (__novec_swapcontext): Likewise.
16865 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16867         * benchtests/scripts/compare_bench.py: New file.
16868         * benchtests/scripts/import_bench.py (mean): New function.
16869         (split_list): Likewise.
16870         (do_for_all_timings): Likewise.
16871         (compress_timings): Likewise.
16873         * benchtests/scripts/import_bench.py: New file.
16874         * benchtests/scripts/validate_benchout.py: Import import_bench
16875         instead of jsonschema.
16876         (validate_bench): Remove function.
16877         (main): Use import_bench.
16879 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16881         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16882         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16884 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16888 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16890         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16891         set THREAD_SELF->tid to a magic value and futex-wake it.
16892         Pass its address to the thread_exit system call.
16893         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16894         bit is clear.
16895         * sysdeps/nacl/lowlevellock.h: New file.
16896         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16898         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16899         Add TIMEOUT to current time, don't subtract it.
16901 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16903         [BZ #2981]
16904         [BZ #18422]
16905         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16906         ($(objpfx)tst-audit2.out): Also depend on
16907         $(objpfx)tst-auditmod9b.so.
16908         * elf/tst-audit2.c: Include <dlfcn.h>.
16909         (calloc_called): New.
16910         (calloc): Allow to be called more than once.
16911         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16913 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16915         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16916         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16918 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16920         * stdlib/monetary.h: Fix comment.
16922 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16924         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16925         Avoid using variables in #defines that might cause shadowing.
16926         (INTERNAL_VSYSCALL_CALL): Likewise.
16928 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16930         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16932         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16933         * nptl/lll_timedlock_wait.c: ... to this new file.
16934         * nptl/Makefile (libpthread-routines): Add it.
16935         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16936         * nptl/lll_timedwait_tid.c: ... to this new file.
16937         * nptl/Makefile (libpthread-routines): Add it.
16938         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16939         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16940         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16941         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16942         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16943         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16944         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16945         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16946         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16947         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16949 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16951         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16952         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16953         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16954         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16955         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16957         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16959         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16960         * sysdeps/unix/sysv/linux/tile/sysdep.h
16961         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16962         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16963         using vDSO syscall macro.
16965 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16967         [BZ #17293]
16968         * uk_UA: Fix sorting order for Ukrainian locale
16970 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16972         * stdlib/monetary.h: Fix comment.
16974 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16976         [BZ #18234]
16977         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16978         st_mtim and st_ctim members.
16979         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16980         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16981         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16982         (struct stat64): Likewise.
16983         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16984         (struct stat64): Likewise.
16985         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16986         (struct stat64): Likewise.
16988 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16990         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16991         Define and include sysdep-vdso.h.
16992         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16993         Likewise.
16994         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16995         Likewise.
16996         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16997         Define with VDSO_SYMBOL and use PTR_MANGLE.
16998         (__vdso_clock_gettime): Likewise.
16999         (__vdso_clock_getres): Likewise.
17000         (_libc_vdso_platform_setup): Likewise.
17001         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17002         Likewise.
17003         (_libc_vdso_platform_setup): Likewise.
17004         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17005         Likewise.
17006         (__vdso_clock_gettime): Likewise.
17007         (__vdso_clock_getres): Likewise.
17008         (__vdso_get_tbfreq): Likewise.
17009         (__vdso_getcpu): Likewise.
17010         (__vdso_time): Likewise.
17011         (__vdso_sigtramp_rt64): Likewise.
17012         (__vdso_signtramp32): Likewise.
17013         (__vdso_sigtramp_rt32): Likewise.
17014         (_libc_vdso_platform_setup): Likewise.
17015         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17016         Likewise.
17017         (__vdso_clock_gettime): Likewise.
17018         (__vdso_clock_getres): Likewise.
17019         (_libc_vdso_platform_setup): Likewise.
17020         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17021         Likewise.
17022         (__vdso_clock_gettime): Likewise.
17023         (_libc_vdso_platform_setup): Likewise.
17024         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17025         Likewise.
17026         (__vdso_getcpu): Likewise.
17027         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17028         Use VDSO_SYMBOL macro to define.
17029         (__vdso_clock_gettime): Likewise.
17030         (__vdso_clock_getres): Likewise.
17031         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17032         Likewise.
17033         (__vdso_clock_gettime): Likewise.
17034         (__vdso_clock_getres): Likewise.
17035         (__vdso_get_tbfreq): Likewise.
17036         (__vdso_getcpu): Likewise.
17037         (__vdso_time): Likewise.
17038         (__vdso_sigtramp_rt64): Likewise.
17039         (__vdso_signtramp32): Likewise.
17040         (__vdso_sigtramp_rt32): Likewise.
17041         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17042         Likewise.
17043         (__vdso_clock_gettime): Likewise.
17044         (__vdso_clock_getres): Likewise.
17045         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17046         Likewise.
17047         (__vdso_clock_gettime): Likewise.
17048         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17049         Likewise.
17050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17051         macro.
17052         (INTERNAL_VSYSCALL): Likewise.
17053         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17054         Remove macro.
17055         (INTERNAL_VSYSCALL): Likewise.
17056         (INTERNAL_VSYSCALL_NCS): Likewise.
17057         (INTERNAL_VSYSCALL_CALL): New macro.
17058         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17060         Likewise.
17061         (INTERNAL_VSYSCALL): Likewise.
17062         (INTERNAL_VSYSCALL_NCS): Likewise.
17063         (INTERNAL_VSYSCALL_CALL): New macro.
17064         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17066         (INLINE_VSYSCALL): Remove macro.
17067         (INTERNAL_VSYSCALL): Remove macro.
17068         (INTERNAL_VSYSCALL_NCS): Remove macro.
17069         (INTERNAL_VSYSCALL_CALL): New macro.
17070         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17071         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17072         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17073         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17074         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17076         (INLINE_VSYSCALL): Remove macro.
17077         (INTERNAL_VSYSCALL): Likewise.
17078         (INTERNAL_VSYSCALL_NCS): Likewise.
17079         (INTERNAL_VSYSCALL_CALL): New macro.
17080         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17081         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17082         PTR_DEMANGLE on vDSO pointer.
17083         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17084         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17085         macro.
17086         (INTERNAL_SYSCALL): Likewise.
17087         (INTERNAL_VSYSCALL_NCS): Remove macro.
17088         (INTERNAL_VSYSCALL_CALL): New macro.
17089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17090         Remove macro.
17091         (INTERNAL_VSYSCALL): Likewise.
17092         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17093         sysdep-vdso.h instead of libc-vdso.h.
17094         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17095         definition.
17096         (INLINE_VSYSCALL): Likewise.
17097         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17098         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17099         definition.
17100         (INLINE_VSYSCALL): Likewise.
17101         (INTERNAL_VSYSCALL): Likewise.
17102         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17103         * sysdeps/unix/sysv/linux/timespec_get.c
17104         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17105         (timespec_get): Use ANSI prototype.
17106         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17107         and definition for Linux.
17109 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17111         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17112         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17114 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17116         [BZ #2981]
17117         [BZ #18410]
17118         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17119         for missing DT_PLTRELSZ.
17121 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17123         Remove obsolete aliases that broke 'locale -a'
17124         [BZ #18412]
17125         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17126         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17127         breaking some applications that use 'locale -a' output.
17128         Change the encoding of this file from Latin-1 to ASCII to avoid
17129         other potential problems with people grepping this file.
17131 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17133         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17134         -fasynchronous-unwind-tables.
17135         (CFLAGS-sendto.c): Likewise.
17136         (CFLAGS-sendmsg.c): Likewise.
17137         (CFLAGS-connect.c): Likewise.
17138         (CFLAGS-recvmsg.c): Likewise.
17139         (CFLAGS-recvfrom.c): Likewise.
17140         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17141         (SOCKETCALL): New macro: non-cancellable socketcall.
17142         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17143         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17144         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17145         * sysdeps/unix/sysv/linux/accept.c: New file.
17146         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17147         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17148         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17149         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17150         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17151         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17152         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17153         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17154         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17155         * sysdeps/unix/sysv/linux/send.c: Likewise.
17156         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17157         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17158         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17159         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17160         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17161         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17162         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17163         prototype.
17164         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17165         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17166         instead of __internal_xxx function.
17167         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17168         prototype.
17169         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17170         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17171         instead of __internal_xxx function.
17172         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17173         prototype.
17174         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17175         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17176         instead of __internal_xxx function.
17177         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17178         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17179         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17180         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17181         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17182         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17183         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17184         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17185         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17186         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17187         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17188         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17189         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17190         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17191         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17192         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17193         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17194         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17195         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17196         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17199         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17200         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17201         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17202         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17203         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17204         * sysdeps/unix/sysv/linux/send.S: Likewise.
17205         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17206         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17207         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17208         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17209         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17210         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17211         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17212         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17213         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17214         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17215         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17216         socketcall is implemented in GLIBC.
17218 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17220         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17221         (__fma): Ignore uninitialized warnings around packing.
17222         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17223         (__fmaf): Ignore uninitialized warnings around packing.
17224         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17225         (__fmal): Ignore uninitialized warnings around packing.
17227         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17228         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17229         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17230         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17232         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17233         switch statement into default case.
17234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17236         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17237         a conditional in forcing "inexact".
17238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17239         Likewise.
17241 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17243         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17244         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17245         for each INTERNAL_SYSCALL use.
17247 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17249         [BZ #438]
17250         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17251         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17252         variable.
17254         [BZ #18444]
17255         * string/basename.c (basename): Rename to __basename and define as
17256         weak alias of __basename.  Use libc_hidden_weak.
17257         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17258         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17259         __basename instead of basename.
17260         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17261         Remove variable.
17262         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17264 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17266         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17267         (_IO_JUMPS_FILE_plus): New.
17268         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17269         _IO_CAST_FIELD_ACCESS.
17270         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17271         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17272         * libio/freopen.c (freopen): Likewise.
17273         * libio/freopen64.c (freopen64): Likewise.
17274         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17275         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17276         * libio/iofwide.c (_IO_fwide): Likewise.
17277         * libio/memstream.c (open_memstream): Likewise.
17278         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17279         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17280         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17282 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17284         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17285         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17286         NADJ.
17287         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17288         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17289         NADJ.
17290         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17291         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17292         NADJ.
17294         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17295         (p == 4) case.
17297         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17298         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17299         Remove variable.
17300         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17301         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17302         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17304 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17306         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17307         Adjust jump table label generation macros.
17309 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17311         * stdio-common/vfprintf.c (vfprintf): Move local variables
17312         args_malloced, specs, specs_malloced, and the code after
17313         do_positional to the printf_positional function.
17314         (printf_positional): New function.
17316 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17318         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17319         function.
17320         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17321         STEP4_TABLE, process_arg): Move macro definitions
17322         out of the vfprintf function.  (Cosmetic change only.)
17324 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17326         * benchtests/Makefile (stdio-common-bench): Define.
17327         (benchset): Add stdio-common-bench.
17328         * sprintf-inputs: New file.
17329         * sprintf-source.c: New file.
17331 2015-05-21  Andreas Schwab  <schwab@suse.de>
17333         [BZ #13028]
17334         [BZ #17053]
17335         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17336         of struct __res_state.
17337         * resolv/res_send.c (__libc_res_nsend): Likewise.
17338         (get_nsaddr): New function.
17339         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17340         statp directly.
17342 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17344         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17345         -D_POSIX_C_SOURCE=199506L.
17347         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17349         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17350         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17351         Do not mention otherwise.
17352         [POSIX] (_XOPEN_VERSION): Do not expect.
17353         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17354         [POSIX] (_POSIX2_C_BIND): Likewise.
17355         [POSIX] (_POSIX2_VERSION): Likewise.
17356         [POSIX] (_XOPEN_XPG2): Likewise.
17357         [POSIX] (_XOPEN_XPG3): Likewise.
17358         [POSIX] (_XOPEN_XPG4): Likewise.
17359         [POSIX] (_XOPEN_UNIX): Likewise.
17360         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17361         [POSIX] (_POSIX_BARRIERS): Likewise.
17362         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17363         [POSIX] (_POSIX_CPUTIME): Likewise.
17364         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17365         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17366         [POSIX] (_POSIX_SHELL): Likewise.
17367         [POSIX] (_POSIX_SPAWN): Likewise.
17368         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17369         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17370         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17371         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17372         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17373         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17374         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17375         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17376         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17377         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17378         [POSIX] (_POSIX2_PBS): Likewise.
17379         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17380         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17381         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17382         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17383         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17384         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17385         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17386         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17387         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17388         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17389         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17390         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17391         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17392         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17393         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17394         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17395         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17396         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17397         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17398         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17399         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17400         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17401         [POSIX] (_SC_2_C_BIND): Likewise.
17402         [POSIX] (_SC_2_C_VERSION): Likewise.
17403         [POSIX] (_SC_2_PBS): Likewise.
17404         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17405         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17406         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17407         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17408         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17409         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17410         [POSIX] (_SC_BARRIERS): Likewise.
17411         [POSIX] (_SC_BASE): Likewise.
17412         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17413         [POSIX] (_SC_DEVICE_IO): Likewise.
17414         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17415         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17416         [POSIX] (_SC_FD_MGMT): Likewise.
17417         [POSIX] (_SC_FIFO): Likewise.
17418         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17419         [POSIX] (_SC_FILE_LOCKING): Likewise.
17420         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17421         [POSIX] (_SC_IOV_MAX): Likewise.
17422         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17423         [POSIX] (_SC_NETWORKING): Likewise.
17424         [POSIX] (_SC_PAGE_SIZE): Likewise.
17425         [POSIX] (_SC_PASS_MAX): Likewise.
17426         [POSIX] (_SC_PIPE): Likewise.
17427         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17428         [POSIX] (_SC_REGEXP): Likewise.
17429         [POSIX] (_SC_SHELL): Likewise.
17430         [POSIX] (_SC_SIGNALS): Likewise.
17431         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17432         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17433         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17434         [POSIX] (_SC_USER_GROUPS): Likewise.
17435         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17436         [POSIX] (_SC_STREAMS): Likewise.
17437         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17438         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17439         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17440         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17441         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17442         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17443         [POSIX] (_PC_FILESIZEBITS): Likewise.
17444         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17445         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17446         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17447         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17448         [POSIX] (uid_t): Likewise.
17449         [POSIX] (gid_t): Likewise.
17450         [POSIX] (off_t): Likewise.
17451         [POSIX] (pid_t): Likewise.
17452         [POSIX] (cuserid): Allow.
17453         (_SC_2_CHAR_TERM): Require constant.
17454         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17455         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17456         variable.
17458 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17460         * sysdeps/nacl/pthread-pids.h: New file.
17461         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17462         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17464         * nptl/pthread-pids.h: New file.
17465         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17466         * nptl/nptl-init.c: Include <pthread-pids.h>.
17467         (__pthread_initialize_minimal_internal):
17468         Call __pthread_initialize_pids instead of set_tid_address syscall.
17470         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17471         * sysdeps/posix/usleep.c: ... here.
17473 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17475         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17476         call_pselect6 object.
17477         [$(subdir) = io]: Remove call_sync_file_range object.
17478         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17479         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17480         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17481         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17483 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17485         * math/s_cproj.c: Add include "math_private.h".
17486         * math/s_cprojf.c: Likewise.
17487         * math/s_cprojl.c: Likewise.
17489 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17491         [BZ #18244]
17492         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17493         high mantissa bit when testing whether P is a NaN.
17494         * math/libm-test.inc (remainder_test_data): Add more tests.
17495         (remquo_test_data): Likewise.
17497         [BZ #18049]
17498         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17499         below -32, return the argument, with underflow if subnormal.
17500         * math/auto-libm-test-in: Add more tests of atanh.
17501         * math/auto-libm-test-out: Regenerated.
17503 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17505         [BZ #18434]
17506         * nptl/tst-sem15.c: New file.
17507         * nptl/Makefile (tests): Add it.
17508         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17509         s/<</>>/ to fix typo in EOVERFLOW check.
17510         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17512 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17514         * manual/strings.texi (envz_remove): Fix typo in safety
17515         annotations.
17517 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17518             Steve Ellcey  <sellcey@imgtec.com>
17520         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17521         in order to avoid strict alias warnings.
17522         (iruserok_af): Ditto for ra.
17524 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17526         [BZ #17581]
17527         * malloc/hooks.c
17528         (magicbyte): Convert to a function and avoid returning 0x01.
17529         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17530         (mem2chunk_check): Fix unsigned comparisons to zero.
17531         Hoist defs of sz and magic.
17533 2015-05-19  Richard Henderson  <rth@redhat.com>
17535         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17537         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17539 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17541         [BZ #16159]
17542         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17543         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17544         (reused_arena): Find a non-corrupt arena.
17545         (heap_trim): Pass arena to unlink.
17546         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17547         malloc_printerr.
17548         (top_check): Likewise.
17549         (free_check): Likewise.
17550         (realloc_check): Likewise.
17551         * malloc/malloc.c (malloc_printerr): Add arena argument.
17552         (unlink): Likewise.
17553         (munmap_chunk): Adjust.
17554         (ARENA_CORRUPTION_BIT): New macro.
17555         (arena_is_corrupt): Likewise.
17556         (set_arena_corrupt): Likewise.
17557         (sysmalloc): Use mmap if there are no usable arenas.
17558         (_int_malloc): Likewise.
17559         (__libc_malloc): Don't fail if arena_get returns NULL.
17560         (_mid_memalign): Likewise.
17561         (__libc_calloc): Likewise.
17562         (__libc_realloc): Adjust for additional argument to
17563         malloc_printerr.
17564         (_int_free): Likewise.
17565         (malloc_consolidate): Likewise.
17566         (_int_realloc): Likewise.
17567         (_int_memalign): Don't touch corrupt arenas.
17568         * malloc/tst-malloc-backtrace.c: New test case.
17570         * Makefile (summarize-tests): Fix return value on success.
17572         * manual/string.texi (Envz Functions): Add envz_remove.
17574 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17576         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17577         (invalid_name): New function, broken out of ...
17578         (__opendirat): ... here.  Call it.
17579         (need_isdir_precheck): New function, broken out of ...
17580         (__opendirat): ... here.  Call it.
17581         Use __fxstatat64, not __xstatat64.
17582         (opendir_oflags): New function, broken out of ...
17583         (__opendirat): ... here.  Call it.
17584         (opendir_tail): New function, broken out of ...
17585         (__opendirat): ... here.  Call it.
17586         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17587         opendir_tail, rather than punting to __opendirat.
17588         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17590 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17592         * .gitignore: Ignore generated *.pyc.
17594 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17596         * include/stdio.h: Define __need_wint_t.
17597         * test-skeleton.c: Avoid `for' loop initial declaration.
17598         * nptl/tst-initializers1.c: Use test-skeleton.c.
17600 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17602         [BZ #18418]
17603         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17605 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17607         [BZ #16352]
17608         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17609         (__ieee754_atanh): Force underflow exception for results with
17610         small absolute value.
17611         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17612         (__ieee754_atanhf): Force underflow exception for results with
17613         small absolute value.
17614         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17615         (__ieee754_atanh): Force underflow exception for results with
17616         small absolute value.
17617         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17618         (__ieee754_atanhf): Force underflow exception for results with
17619         small absolute value.
17620         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17621         (__ieee754_atanhl): Force underflow exception for results with
17622         small absolute value.
17623         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17624         (__ieee754_atanhl): Force underflow exception for results with
17625         small absolute value.
17626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17627         (__ieee754_atanhl): Force underflow exception for results with
17628         small absolute value.
17629         * math/auto-libm-test-in: Do not allow missing underflow
17630         exceptions from atanh.
17631         * math/auto-libm-test-out: Regenerated.
17633         [BZ #18221]
17634         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17635         2**-28 as threshold for returning x or +/- 1/x.
17636         * math/auto-libm-test-in: Add more tests of tan.
17637         * math/auto-libm-test-out: Regenerated.
17639         [BZ #18220]
17640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17641         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17642         * math/auto-libm-test-in: Add another test of lgamma.
17643         * math/auto-libm-test-out: Regenerated.
17645 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17647         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17648         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17649         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17650         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17651         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17652         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17653         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17654         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17655         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17656         (log1): Use fabs.  (my_log2): Use fabs.
17657         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17658         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17659         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17660         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17661         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17662         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17663         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17664         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17665         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17666         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17667         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17669 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17671         [BZ #18217]
17672         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17673         as threshold for returning 1 - x.
17674         * math/auto-libm-test-in: Add more tests of erfc.
17675         * math/auto-libm-test-out: Regenerated.
17677 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17679         [BZ #18196]
17680         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17681         threshold for large arguments.
17682         * math/auto-libm-test-in: Add another test of atan.
17683         * math/auto-libm-test-out: Regenerated.
17685         [BZ #16339]
17686         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17687         (__log1p): Force underflow exception for results with small
17688         absolute value.
17689         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17690         (__log1pf): Force underflow exception for results with small
17691         absolute value.
17692         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17693         (__log1p): Force underflow exception for results with small
17694         absolute value.
17695         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17696         (__log1pf): Force underflow exception for results with small
17697         absolute value.
17698         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17699         (__log1pl): Force underflow exception for results with small
17700         absolute value.
17701         * math/auto-libm-test-in: Do not allow missing underflow
17702         exceptions from log1p.
17703         * math/auto-libm-test-out: Regenerated.
17705 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17706             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17708         [BZ #16704]
17709         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17711 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17713         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17714         (libmvec): New variable.
17715         * configure.ac: Added option for mathvec build.
17716         * configure: Regenerated.
17717         * mathvec/Depend: New file.
17718         * mathvec/Makefile: New file.
17719         * shlib-versions: Added libmvec.
17720         * math/Makefile: Added rule for libm.so installation.
17722         * bits/math-vector.h: New file.
17723         * bits/libm-simd-decl-stubs.h: New header.
17724         * math/Makefile (headers): Added new header
17725         libm-simd-decl-stubs.h.
17726         * math/math.h (__MATHCALL_VEC): New macro.
17728         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17729         for conditions in testing functions.
17730         * math/Makefile: Added call of libm-have-vector-test.sh.
17731         * math/libm-test.inc (HAVE_VECTOR): New macros.
17733         * math/libm-test.inc: START refactored.
17734         * math/test-double.c (TEST_MATHVEC): Add define.
17735         * math/test-float.c: Likewise.
17736         * math/test-idouble.c: Likewise.
17737         * math/test-ifloat.c: Likewise.
17738         * math/test-ildoubl.c: Likewise.
17739         * math/test-ldouble.c: Likewise.
17740         * sysdeps/generic/math-tests-arch.h
17741         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17742         architecture check.
17744         * math/test-double.c (FUNC_TEST): New macro.
17745         * math/test-float.c: Likewise.
17746         * math/test-idouble.c: Likewise.
17747         * math/test-ifloat.c: Likewise.
17748         * math/test-ildoubl.c: Likewise.
17749         * math/test-ldouble.c: Likewise.
17750         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17752 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17754         * sysdeps/nacl/fdopendir.c: New file.
17756         * dirent/scandir-tail.c: New file.
17757         * dirent/scandir64-tail.c: New file.
17758         * dirent/Makefile (routines): Add them.
17759         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17760         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17761         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17762         [!SCANDIR] (SCANDIR_TAIL): New macro.
17763         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17764         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17765         (SCANDIRAT): Macro removed.
17766         (SCANDIR_TAIL): New macro.
17767         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17768         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17769         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17770         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17771         (READDIR): Macro removed.
17772         (SCANDIR_TAIL): New macro.
17773         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17774         (SCANDIR_TAIL): New macro.
17776         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17777         * dirent/scandir-cancel.c: ... to this new file.
17778         * dirent/Makefile (routines): Add it.
17779         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17780         * sysdeps/unix/sysv/linux/i386/scandir64.c
17781         (SKIP_SCANDIR_CANCEL): Macro removed.
17782         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17784         * dirent/tst-scandir.c: New file.
17785         * dirent/tst-scandir64.c: New file.
17786         * dirent/Makefile (tests): Add them.
17788 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17790         [BZ #18409]
17791         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17793 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17795         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17796         list.
17798 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17800         * benchtests/bench-strcoll.c: New benchmark.
17801         * benchtests/Makefile: Generate locales and run benchmark.
17802         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17803         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17804         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17805         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17806         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17807         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17808         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17809         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17810         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17811         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17812         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17813         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17814         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17815         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17816         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17817         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17818         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17819         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17820         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17821         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17822         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17823         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17824         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17825         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17827 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17829         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17830         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17832 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17834         * posix/uname-values.h: New file.
17835         * posix/uname.c: Include that instead of <config-name.h>.
17836         * sysdeps/nacl/uname-values.h: New file.
17837         * sysdeps/arm/nacl/uname-values.h: New file.
17839 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17841         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17842         splitting into fields.
17844 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17846         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17847         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17848         * locale/localeinfo.h: Add enum collation_encoding_type.
17849         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17850         * programs/ld-collate.c (collate_output): Add encoding type info.
17851         * string/strcoll_l.c (STRDIFF): New function.
17852         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17853         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17855 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17857         [BZ #18397]
17858         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17859         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17860         <fpu_control.h> instead of <math/fpu_control.c>.
17861         * sysdeps/mips/mips32/fpu/Makefile: New file.
17863 2015-05-11  Andreas Schwab  <schwab@suse.de>
17865         [BZ #18007]
17866         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17867         nss_endgrent.
17868         (_nss_compat_endgrent): Call nss_endgrent.
17869         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17870         nss_endpwent.
17871         (_nss_compat_endpwent): Call nss_endpwent.
17872         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17873         needent, call nss_setspent only if non-zero.
17874         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17875         (internal_endspent): Don't call nss_endspent.
17876         (_nss_compat_endspent): Call nss_endspent.
17877         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17878         Remove.  All uses removed.
17879         (internal_setent): Remove parameter stayopen, add parameter
17880         stream.  Use it instead of global variable.
17881         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17882         (internal_endent, internal_getent): Add parameter stream.  Use it
17883         instead of global variable.
17884         (CONCAT(_nss_files_end,ENTNAME))
17885         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17886         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17887         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17888         uses removed.
17889         (internal_setent, internal_endent): Add parameter stream.  Use it
17890         instead of global variable.
17891         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17892         stream.
17893         (get_next_alias): Add parameter stream.
17894         (_nss_files_getaliasent_r): Pass global stream.
17895         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17896         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17897         (_nss_files_gethostbyname4_r): Pass local stream to
17898         internal_setent, internal_getent and internal_endent.  Remove
17899         locking.
17901 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17903         * tst-strfmon1.c (tests): Update expected currency symbol.
17905 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17907         * sysdeps/nacl/gethostname.c: New file.
17909 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17911         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17912         and sinh.
17913         * math/auto-libm-test-out: Regenerated.
17914         * sysdeps/i386/fpu/libm-test-ulps: Update.
17915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17917 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17919         [BZ #18125]
17920         * stdlib/tst-setcontext3.c: New file.
17921         * stdlib/tst-setcontext3.sh: New file.
17922         * stdlib/Makefile (tests): Add tst-setcontext3.
17923         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17924         to verify test program created output file.
17925         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17926         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17927         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17928         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17930 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17932         [BZ #18383]
17933         * elf/tst-tlsalign.c: New file.
17934         * elf/tst-tlsalign-static.c: New file.
17935         * elf/tst-tlsalign-lib.c: New file.
17936         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17937         (tests-static): Add tst-tlsalign-static.
17938         (modules-names): Add tst-tlsalign-lib.
17939         (test-xfail-tst-tlsalign): New variable.
17940         (test-xfail-tst-tlsalign-static): New variable.
17942         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17943         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17945 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17947         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17948         csqrt, erfc, sin and sincos.
17949         * math/auto-libm-test-out: Regenerated.
17950         * sysdeps/i386/fpu/libm-test-ulps: Update.
17951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17955         * sysdeps/aarch64/libm-test-ulps: Update.
17957 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17959         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17960         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17961         * math/auto-libm-test-out: Regenerated.
17962         * sysdeps/i386/fpu/libm-test-ulps: Update.
17963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17965 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17967         [BZ #18265]
17968         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17969         (wcsncpy): Likewise.
17971 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17973         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17974         Assume __ASSUME_FALLOCATE is always true.
17975         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17976         (__posix_fallocate64_l64): Likweise.
17977         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17978         (posix_fallocate): Likewise.
17979         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17980         (__posix_fallocate64_l64): Likewise.
17981         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17982         [!__ASSUME_FALLOCATE]: Add comment.
17984 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17986         * sysdeps/unix/sysv/linux/i386/Makefile
17987         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17988         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17989         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17990         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17991         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17992         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17993         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17995 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17997         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17998         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17999         tgamma.
18000         * math/auto-libm-test-out: Regenerated.
18001         * sysdeps/i386/fpu/libm-test-ulps: Update.
18002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18006         * math/auto-libm-test-in: Add more tests of tgamma.
18007         * math/auto-libm-test-out: Regenerated.
18008         * sysdeps/i386/fpu/libm-test-ulps: Update.
18009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18011         * math/auto-libm-test-in: Add more tests of tanh.
18012         * math/auto-libm-test-out: Regenerated.
18013         * sysdeps/i386/fpu/libm-test-ulps: Update.
18014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18016         * math/auto-libm-test-in: Add more tests of tan.
18017         * math/auto-libm-test-out: Regenerated.
18018         * sysdeps/i386/fpu/libm-test-ulps: Update.
18019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18021         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18022         * math/auto-libm-test-out: Regenerated.
18023         * sysdeps/i386/fpu/libm-test-ulps: Update.
18024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18026         * math/auto-libm-test-in: Add another test of pow.
18027         * math/auto-libm-test-out: Regenerated.
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18030         * math/auto-libm-test-in: Add more tests of lgamma.
18031         * math/auto-libm-test-out: Regenerated.
18032         * sysdeps/i386/fpu/libm-test-ulps: Update.
18033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18035         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18036         log1p.
18037         * math/auto-libm-test-out: Regenerated.
18038         * sysdeps/i386/fpu/libm-test-ulps: Update.
18039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18041 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18043         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18044         Elf64_Chdr structs and ELFCOMPRESS constants.
18046 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18048         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18049         expm1.
18050         * math/auto-libm-test-out: Regenerated.
18051         * sysdeps/i386/fpu/libm-test-ulps: Update.
18052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18054         * math/auto-libm-test-in: Add more tests of erf and erfc.
18055         * math/auto-libm-test-out: Regenerated.
18056         * sysdeps/i386/fpu/libm-test-ulps: Update.
18057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18061         * config.h.in (HAVE_AARCH64_BE): Add.
18063 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18065         * math/auto-libm-test-in: Add more tests of csqrt.
18066         * math/auto-libm-test-out: Regenerated.
18067         * sysdeps/i386/fpu/libm-test-ulps: Update.
18068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18071         * math/auto-libm-test-out: Regenerated.
18072         * sysdeps/i386/fpu/libm-test-ulps: Update.
18073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18077 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18079         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18080         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18082         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18083         (euidaccess, eaccess): Define as weak aliases.
18085         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18086         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18087         but __suseconds_t is often 'long int' so some sources assume that
18088         type is being used (e.g. they use %ld to print tv_usec).
18090 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18092         [BZ #18007]
18093         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18094         (CVE-2014-8121)
18095         * nss/tst-nss-getpwent.c: New file.
18096         * nss/Makefile (tests): Add new test.
18098 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18100         [BZ #18346]
18101         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18102         exponents less than 48 as cases where high part of mantissa needs
18103         examining to determine whether argument is integral.
18104         * math/libm-test.inc (round_test_data): Add more tests.
18106 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18108         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18110 2015-04-27  David S. Miller  <davem@davemloft.net>
18112         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18113         __tls_get_addr.
18114         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18116 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18118         [BZ#18333]
18119         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18121 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18123         [BZ#18333]
18124         * time/tzset.c (parse_tzname): Return error on memory allocation
18125         failure.
18126         * test-skeleton.c (struct temp_name_list): Change type of name
18127         member to non-const.
18128         (add_temp_file): Create a copy of the file name.
18129         (delete_temp_files): Deallocate memory.
18130         (create_temp_file): Add comment.
18132 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18134         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18135         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18137 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18139         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18140         * sysdeps/arm/configure: Regenerated.
18142 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18144         [BZ #17715]
18145         * time/tzfile.c (__tzfile_read): Check for large values of
18146         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18147         * time/tzset.c (__tzstring_len): New function, based on the old
18148         __tzstring function.
18149         (__tzstring): Call __tzstring_len.
18150         (parse_tzname): New helper function extracted from
18151         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18152         the input string.
18153         (parse_offset): New helper function extracted from
18154         __tzset_parse_tz.  Replace switch with fallthrough with
18155         initialization before sscanf.
18156         (parse_rule): Likewise.
18157         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18158         new-style function definition.
18159         * timezone/Makefile (tests): Add tst-tzset.
18160         (tst-tzset.out): Dependencies on time zone files.
18161         (tst-tzset-ENV): Set TZDIR.
18162         (testdata/XT%): Copy crafted time zone files.
18163         * timezone/README: Mention crafted time zone files.
18164         * timezone/testdata/XT1, timezone/testdata/XT2,
18165         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18166         files.
18167         * timezone/tst-tzset.c: New test.
18169 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18171         * Makeconfig (+gccwarn): Remove -Winline.
18173 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18175         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18177 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18179         * NEWS: Mention sysconf() cache information support for s390.
18180         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18182 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18184         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18185         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18186         (__nearbyint): Likewise.
18187         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18188         (copysignl): Likewise.
18190 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18192         [BZ #18287]
18193         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18194         based on padding.  (CVE-2015-1781)
18196 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18198         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18199         libc-vdso.h.
18200         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18201         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18202         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18203         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18204         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18205         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18206         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18208         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18209         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18210         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18211         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18212         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18213         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18214         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18215         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18216         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18218         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18219         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18220         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18221         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18222         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18224 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18226         * stdlib/setenv.c (__add_to_environ):
18227         Dump core quickly if setenv (..., NULL, ...) is called.
18228         This time, do it the right way, and pacify GCC with a pragma.
18230 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18232         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18233         IMAP->l_prev cannot be null, and #if out the code for the contrary
18234         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18235         believe that NS (&_dl_ns[NSID]) could point outside the array.
18237         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18238         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18239         before using NSID as an index.
18241 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18243         [BZ #17825]
18244         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18245         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18246         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18248 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18250         Add preliminary port to Google Native Client on ARM.
18251         * abi-tags (.*-.*-nacl.*): New entry.
18252         * sysdeps/arm/nacl: New directory.
18253         * sysdeps/nacl: New directory.
18255 2015-04-16  David S. Miller  <davem@davemloft.net>
18257         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18258         lowlevellock-futex.h
18260 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18262         * sysdeps/tile/configure.ac: New file.
18263         * sysdeps/tile/configure: Regenerated.
18265 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18267         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18268         conditionals for weak_alias and libc_hidden_weak.
18269         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18270         libc_hidden_weak and weak_alias.
18271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18272         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18273         and weak_alias for static one.
18275 2015-04-15  David S. Miller  <davem@davemloft.net>
18277         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18279 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18281         [BZ #18206]
18282         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18283           Use signed comparision instead of substraction to avoid
18284           overflow bug.
18285         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18286           Take the sign of ret.
18287         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18288           Do not expect precise return values. Only the sign matters.
18289         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18290         * wcsmbs/test-wcsncmp.c: New File.
18291         * string/test-strncmp.c: Add wcsncmp support.
18293 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18295         [BZ #6792]
18296         * math/w_log1p.c: New file.
18297         * math/w_log1pf.c: Likewise.
18298         * math/w_log1pl.c: Likewise.
18299         * math/Makefile (libm-calls): Add w_log1p.
18300         * math/s_log1pl.c (log1pl): Remove weak_alias.
18301         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18302         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18303         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18304         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18305         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18306         [NO_LONG_DOUBLE] (log1pl): Likewise.
18307         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18309         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18310         (log1p): Remove long_double_symbol.
18311         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18312         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18313         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18314         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18315         remove weak_alias for corresponding log1p function.
18316         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18317         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18318         * sysdeps/ia64/fpu/w_log1p.c: New file.
18319         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18320         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18321         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18323 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18325         [BZ #18247]
18326         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18327         decimal exponent by 1.
18328         * stdlib/tst-strtod-round-data: Add more tests.
18329         * stdlib/tst-strtod-round.c (tests): Regenerated.
18331 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18333         * math/auto-libm-test-in: Add more tests of clog and clog10.
18334         * math/auto-libm-test-out: Regenerated.
18335         * sysdeps/i386/fpu/libm-test-ulps: Update.
18336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18340         * Makeconfig (module-cppflags): Exclude all .v.i files.
18341         (skip-module-cppflags): Variable removed.
18343         * configure.ac (libc_config_ok): Initialize before reading
18344         preconfigure scripts, not after.
18345         * configure: Regenerated.
18347         * test-skeleton.c (TIMEOUT): Move #define to top level.
18348         (main): Grok environment variable TEST_DIRECT.  If set, print
18349         test expectation details into that file and then behave as if
18350         given --direct.
18352 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18354         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18355         warning on 32-bit.
18357 2015-04-08  David S. Miller  <davem@davemloft.net>
18359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18361 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18363         * math/auto-libm-test-in: Add more tests of atanh.
18364         * math/auto-libm-test-out: Regenerated.
18365         * sysdeps/i386/fpu/libm-test-ulps: Update.
18366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18368         * math/auto-libm-test-in: Add more tests of atan.
18369         * math/auto-libm-test-out: Regenerated.
18370         * sysdeps/i386/fpu/libm-test-ulps: Update.
18371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18373 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18375         * elf/pldd.c (main): Rewrite to use struct
18376         scratch_buffer instead of extend_alloca.
18377         * elf/pldd-xx.c (find_maps): Likewise.
18378         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18379         <alloca.h>.
18380         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18381         scratch_buffer instead of extend_alloca.
18382         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18383         grp/compat-initgroups.c.
18384         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18385         Rewrite to use struct scratch_buffer instead of extend_alloca.
18386         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18387         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18389 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18391         * math/auto-libm-test-in: Add more tests of cbrt.
18392         * math/auto-libm-test-out: Regenerated.
18393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18395         * math/auto-libm-test-in: Add more tests of cabs.
18396         * math/auto-libm-test-out: Regenerated.
18397         * sysdeps/i386/fpu/libm-test-ulps: Update.
18398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18400         [BZ #18210]
18401         [BZ #18211]
18402         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18403         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18404         computations.
18405         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18406         clog10.
18407         * math/auto-libm-test-out: Regenerated.
18408         * sysdeps/i386/fpu/libm-test-ulps: Update.
18409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18411         [BZ #18197]
18412         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18413         (atan): Set FE_TONEAREST mode for internal computations.
18414         * math/auto-libm-test-in: Add more tests of atan.
18415         * math/auto-libm-test-out: Regenerated.
18417 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18419         [BZ #17930]
18420         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18422 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18424         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18426 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18428         * include/scratch_buffer.h: New file.
18429         * malloc/scratch_buffer_grow.c: Likewise.
18430         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18431         * malloc/scratch_buffer_set_array_size.c: Likewise.
18432         * malloc/tst-scratch_buffer.c: Likewise.
18433         * malloc/Makefile (routines): Add scratch_buffer_grow.
18434         (tests): Add test case.
18435         * malloc/Versions (GLIBC_PRIVATE): Export
18436         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18437         __libc_scratch_buffer_set_array_size.
18439 2015-04-06  Richard Henderson  <rth@redhat.com>
18441         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18442         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18444         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18445         unsigned int before printing.
18447 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18449         [BZ #17596]
18450         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18451         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18453 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18455         * include/libc-internal.h (libc_max_align_t): Define.
18457 2015-04-02  Andreas Schwab  <schwab@suse.de>
18459         [BZ #16850]
18460         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18462 2015-04-02  Mel Gorman  <mgorman@suse.de>
18464         [BZ #17195]
18465         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18466         as well as the main arena.
18468 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18470         [BZ #18185]
18471         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18472         sharing L2 cache to 2 for Silvermont/Knights Landing.
18474 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18476         [BZ #17711]
18477         * config.make.in (have-protected-data): New.
18478         * configure.ac: Check linker support for protected data symbol.
18479         * configure: Regenerated.
18480         * elf/Makefile (modules-names): Add tst-protected1moda and
18481         tst-protected1modb if $(have-protected-data) is yes.
18482         (tests): Add tst-protected1a and tst-protected1b if
18483         $(have-protected-data) is yes.
18484         ($(objpfx)tst-protected1a): New.
18485         ($(objpfx)tst-protected1b): Likewise.
18486         (tst-protected1modb.so-no-z-defs): Likewise.
18487         * elf/tst-protected1a.c: New file.
18488         * elf/tst-protected1b.c: Likewise.
18489         * elf/tst-protected1mod.h: Likewise.
18490         * elf/tst-protected1moda.c: Likewise.
18491         * elf/tst-protected1modb.c: Likewise.
18493 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18495         [BZ #17711]
18496         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18497         indicates it is called from do_lookup_x on relocation against
18498         protected data, skip the data definion in the executable from
18499         copy reloc.
18500         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18501         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18502         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18503         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18504         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18505         otherwise to 0.
18506         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18507         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18508         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18509         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18510         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18511         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18513 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18515         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18516         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18518 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18520         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18521         THREAD_SETMEM_NC.
18522         * sysdeps/x86_64/nptl/tls.h: Ditto.
18524 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18526         * dlfcn/tststatic.c (main): Converted to ...
18527         (do_test): ... this.
18528         (TEST_FUNCTION): New macro.
18529         Include test-skeleton.c.
18531 2015-03-26  Alan Modra  <amodra@gmail.com>
18533         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18534         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18535         zero for undefined weak.
18536         (elf_machine_plt_conflict): Similarly.
18538 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18540         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18541         atanh.
18542         * math/auto-libm-test-out: Regenerated.
18543         * sysdeps/i386/fpu/libm-test-ulps: Update.
18544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18546         * math/auto-libm-test-in: Add another test of asin.
18547         * math/auto-libm-test-out: Regenerated.
18548         * sysdeps/i386/fpu/libm-test-ulps: Update.
18549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18551         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18552         Remove macro.
18553         (LLL_EBX_REG): Likewise.
18554         (LLL_ENTER_KERNEL): Likewise.
18556         * math/auto-libm-test-in: Add more tests of asin.
18557         * math/auto-libm-test-out: Regenerated.
18558         * sysdeps/i386/fpu/libm-test-ulps: Update.
18559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18561         [BZ #18138]
18562         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18563         libc_do_syscall_args): New structure.
18564         (INTERNAL_SYSCALL_MAIN_0): New macro.
18565         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18566         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18567         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18568         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18569         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18570         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18571         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18572         Replace conditional definitions by conditional definitions of ....
18573         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18574         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18575         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18576         (libpthread-sysdep_routines): Add libc-do-syscall.
18577         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18578         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18579         to __NR_futex not 240.
18581 2015-03-25  Alan Modra  <amodra@gmail.com>
18583         * NEWS: Advertise TLS optimization.
18584         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18585         (DT_PPC_NUM): Increment.
18586         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18587         (CHECK_STATIC_TLS): Use here.
18588         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18589         TLS descriptors.
18590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18591         * sysdeps/powerpc/dl-tls.c: New file.
18592         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18593         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18594         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18595         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18600 2015-03-25  Alan Modra  <amodra@gmail.com>
18602         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18603         for overlapping .opd entries" to "support...".
18604         * sysdeps/powerpc/powerpc64/configure: Regenerate
18606 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18608         * math/auto-libm-test-in: Add more tests of acos.
18609         * math/auto-libm-test-out: Regenerated.
18610         * sysdeps/i386/fpu/libm-test-ulps: Update.
18611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18613         * math/auto-libm-test-in: Add more tests of expm1.
18614         * math/auto-libm-test-out: Regenerated.
18615         * sysdeps/i386/fpu/libm-test-ulps: Update.
18616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18618 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18620         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18621         * math/auto-libm-test-out: Regenerated.
18622         * sysdeps/i386/fpu/libm-test-ulps: Update.
18623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18625         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18628         * math/auto-libm-test-in: Add more tests of log2.
18629         * math/auto-libm-test-out: Regenerated.
18630         * sysdeps/i386/fpu/libm-test-ulps: Update.
18631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18633 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18635         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18636         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18637         _IO_IS_APPENDING bit in READ_WRITE instead.
18639 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18641         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18642         (__determine_cpumask_size): Replace extend_alloca with a
18643         variable-length array.  Do not treat res == 0 as an error.
18645 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18647         [BZ #18100]
18648         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18649         and integer overflow.
18650         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18651         (main): Add integer overflow tests.
18652         * manual/pattern.texi (Calling Wordexp): Document additional use
18653         for WRDE_SYNTAX.
18655 2015-03-23  Alan Modra  <amodra@gmail.com>
18657         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18658         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18659         and false branch of conditional.
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18661         Likewise.
18663 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18665         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18666         libc-modules.h
18667         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18668         unused declaration of _hurd_intr_rpc_msg_in_trap.
18669         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18670         defined instead of whether it is non-zero.
18671         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18672         input constraint instead of both input and output constraint.  Use ecx
18673         clobber instead of %ecx.
18674         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18675         mutex_unlock): Use a statement expression instead of an expression list.
18676         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18677         type to vm_size_t instead of vm_address_t.
18678         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18679         defined instead of whether it is non-zero.
18680         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18681         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18682         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18683         comparisons with mapaddr.
18684         * nscd/nscd-client.h: Include <time.h>.
18685         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18686         9th parameter to __vm_region instead of int.
18687         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18688         * scripts/check-local-headers.sh (exclude): Add device/,
18689         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18690         cthreads.h.
18692 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18694         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18695         to account for alignment padding.
18696         * sysdeps/arm/memmove.S: Likewise.
18698 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18700         * sysdeps/unix/sysv/linux/generic/README: New file.
18702 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18704         [BZ #18138]
18705         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18706         (futex_abstimed_wait)
18707         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18708         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18709         of lll_futex_timed_wait.
18711 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18713         [BZ #17542]
18714         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18716 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18718         [BZ #17090]
18719         [BZ #17620]
18720         [BZ #17621]
18721         [BZ #17628]
18722         * NEWS: Update.
18723         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18724         entries with Static TLS too.  Skip entries past the end of the
18725         allocated DTV, from Alan Modra.
18726         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18727         Static TLS DTV entry set up from...
18728         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18729         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18730         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18731         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18732         for Static TLS.
18733         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18734         that the slot we find is associated with the given map before
18735         using its generation count.
18736         * nptl_db/db_info.c: Include ldsodefs.h.
18737         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18738         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18739         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18740         (link_map::l_tls_offset): New struct field.
18741         (dtv_t::counter): Likewise.
18742         (rtld_global): New struct.
18743         (_rtld_global): New rtld variable.
18744         (dl_tls_dtv_slotinfo_list): New rtld global field.
18745         (dtv_slotinfo_list): New struct.
18746         (dtv_slotinfo): Likewise.
18747         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18748         (td_lookup): Rename to...
18749         (td_mod_lookup): ... this.  Use new mod parameter instead of
18750         LIBPTHREAD_SO.
18751         * nptl_db/td_thr_tlsbase.c: Include link.h.
18752         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18753         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18754         addresses even if the DTV is out of date or missing them.
18755         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18756         index zero-length arrays.
18757         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18758         (td_lookup): Make it a macro implemented in terms of...
18759         (td_mod_lookup): ... this declaration.
18760         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18761         (DB_MAIN_VARIABLE): Likewise.
18763 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18765         [BZ #18134]
18766         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18768 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18770         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18772 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18774         [BZ #18128]
18775         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18776         (atomic_add, atomic_increment_and_test)
18777         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18779 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18781         * stdlib/setenv.c (__add_to_environ):
18782         Dump core quickly if setenv (..., NULL, ...) is called.
18784 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18786         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18787         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18788         all the necessary asm magic in one place.
18789         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18790         using those.
18792 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18794         [BZ #14906]
18795         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18796         traced file mtime. Use consistent log message.
18797         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18798         (register_traced_file): Call install_watches. Always set mtime.
18799         (invalidate_cache): Iterate over all trace files. Call install_watches.
18800         (inotify_check_files): Don't inline. Handle watching parent
18801         directories and configuration file movement in and out.
18802         (handle_inotify_events): New function.
18803         (main_loop_poll): Call handle_inotify_events.
18804         (main_loop_epoll): Likewise.
18805         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18806         (struct traced_file): Use array of inotify fds. Add parent directory,
18807         and basename.
18808         (struct database_dyn): Remove unused file_mtime.
18809         (init_traced_file): New inline function.
18810         (define_traced_file): New macro.
18811         * nss/nss_db/db-init.c: Use define_traced_file.
18812         (_nss_db_init): Use init_traced_file.
18813         * nss/nss_files/files-init.c: Use define_traced_file.
18814         (_nss_files_init): Use init_traced_file.
18816 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18818         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18819         [_LIBC]: Do not include <stdlib.h>.
18820         [!_LIBC] (abort): Remove declaration.
18821         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18822         _FP_STATIC_ASSERT instead of conditionally calling abort.
18823         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18824         (_FP_EXTEND_CNAN): Likewise.
18825         (FP_TRUNC): Likewise.
18826         (__FP_CLZ): Likewise.
18827         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18829 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18831         * manual/string.texi (XPG basename): Fix prototype.
18833 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18835         [BZ #18080]
18836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18837         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18838         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18839         (__setcontext): Likewise.
18840         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18841         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18842         Call rt_sigprocmask syscall one time to set new signal mask
18843         and retrieve the current signal mask instead of two calls.
18844         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18845         (__swapcontext): Likewise.
18846         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18847         * stdlib/tst-setcontext2.c: New file.
18849 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18851         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18853 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18855         [BZ #18093]
18856         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18857         the wrong size.
18859 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18861         [BZ #18043]
18862         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18864 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18866         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18867         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18868         Remove define.
18869         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18870         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18871         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18872         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18873         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18874         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18875         define.
18876         * nptl_db/td_symbol_list.c (td_lookup): Remove
18877         HAVE_ASM_GLOBAL_DOT_NAME code.
18878         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18879         HAVE_ASM_GLOBAL_DOT_NAME check.
18880         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18881         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18882         (DOT_LABEL): Remove define.
18883         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18884         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18885         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18886         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18887         (__TLS_GET_ADDR): Likewise.
18888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18889         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18891 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18893         [BZ #18111]
18894         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18895         (_FPU_SETCW): Initialize cw from fpsr before storing.
18896         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18897         (fesetexceptflag): Rewrite using fpu_control.h.
18898         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18900 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18902         [BZ #18110]
18903         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18904         asms.
18905         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18907 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18909         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18910         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18911         abort.
18912         (_FP_FMA): Likewise.
18913         (_FP_DIV): Likewise.
18915 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18917         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18918         with 0 in that case.
18919         * Makefile (summarize-tests): New canned sequence, factored out of
18920         commands for targets tests and xtests.  Display summary lines that
18921         don't start with PASS: or XFAIL: rather than ones that do start with
18922         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18923         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18924         do start with ERROR: or FAIL:.
18925         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18926         (except for [$(build-shared) = yes]).
18927         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18928         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18929         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18930         * nptl/Makefile: Revert 2015-03-04 changes.
18931         [$(CXX) empty] (tests-unsupported): New variable.
18932         * debug/Makefile: Likewise.
18934         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18935         gnulib file.  Replace __attribute with __attribute__ throughout.
18937 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18939         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18941 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18943         [BZ #18104]
18944         * math/auto-libm-test-in: Add another test of pow.
18945         * math/auto-libm-test-out: Regenerated.
18947 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18949         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18950         $(config-cflags-nofma).
18952 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18954         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18955         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18956         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18957         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18958         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18959         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18960         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18961         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18962         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18963         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18964         Add comment on closing #endif.
18966 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18968         * posix/wordexp.c (CHAR_IN_SET): New macro.
18969         (parse_param): Use it.
18971 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18973         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18975 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18977         [BZ #18043]
18978         * posix/wordexp.c (parse_param): Fix buffer overflow.
18979         * posix/wordexp-test.c (test_case): Add test case.
18981 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18983         [BZ #18042]
18984         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18985         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18987 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18989         [BZ #18043]
18990         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18991         (do_bz18043): Delete.
18992         (at_page_end): New.
18993         (testit): Refactor to have words at the edge of unreadable page.
18995 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18997         [BZ #16734]
18998         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18999         Cleanup read-only streams as well.
19000         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19002 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19004         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19005         <bits/libc-lockP.h>
19007 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19009         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19010         on [__KERNEL__].
19011         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19012         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19013         * soft-fp/op-common.h (_FP_DECL): Likewise.
19015 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19017         * elf/ifuncdep2.c (global): Replace
19018         __attribute__((visibility("protected"))) with
19019         asm (".protected global").
19020         * elf/ifuncmod1.c (global): Likewise.
19021         * elf/ifuncmod5.c (global): Likewise.
19023 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19025         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19026         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19028 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19030         * manual/install.texi (Configuring and compiling):
19031         Document test-wrapper-env-only.
19032         * INSTALL: Regenerated.
19034 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19036         [BZ #18043]
19037         * posix/wordexp.c (parse_param): Fix buffer overflow.
19038         * posix/wordexp-test.c (do_bz18043): Add test case.
19040 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19042         * time/tst-strptime2.c (do_test): Ensure failing tests are
19043         reported correctly.
19044         * time/tst-strptime3.c (do_test): Likewise.
19046 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19048         Fix aio_error thread-safety.
19049         * sysdeps/pthread/aio_error.c: New file
19050         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19051         synchronization.
19053 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19055         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19056         (group_number, vfprintf): Use it.
19057         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19058         (JUMP, REF): Use it.
19059         (WORK_BUFFER_SIZE): New enum constant.
19060         (process_arg, vfprintf): Use it.
19062 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19064         * manual/errno.texi (Error Messages): Complete example function
19065         by adding missing #define.
19066         (program_invocation_name): Add statement indicating GNU
19067         extension and reference which header file declares the variable.
19068         (program_invocation_short_name): Likewise.
19070 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19072         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19073         compatibility note.
19075 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19077         * Makeconfig (test-wrapper-env-only): New variable.
19078         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19079         then use that with $(test-wrapper-env-only) rather than using
19080         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19082 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19084         [BZ #18082]
19085         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19086         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19087         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19088         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19089         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19090         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19091         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19092         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19093         Likewise.
19094         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19096         Likewise.
19097         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19098         Likewise.
19099         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19100         Likewise.
19101         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19102         Likewise.
19103         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19105         Likewise.
19106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19107         Likewise.
19108         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19109         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19111 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19113         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19114         (ETH_ALEN): New macro.
19115         (struct ether_addr): Use it for length of ether_addr_octet.
19117         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19118         (setdb): Don't call __nss_configure_lookup for "rpc".
19119         (do_test): Don't call test_rpc.
19120         (output_rpcent, test_rpc): Functions moved ...
19121         * sunrpc/test-rpcent.c: ... to this new file.
19122         * sunrpc/Makefile (tests): Add it.
19124         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19125         __xpg_sigpause.
19126         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19127         * nptl/tst-signal6.c: Likewise.
19128         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19129         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19131         * configure.ac (libc_cv_cxx_link_ok): New check.
19132         Reset CXX to empty if it fails to link.
19133         * configure: Regenerated.
19134         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19135         bug-atexit3-lib only if $(CXX) is nonempty.
19136         * nptl/Makefile (tests): Likewise for tst-cancel24.
19137         (tests, tests-static): Likewise for tst-cancel24-static.
19138         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19139         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19140         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19141         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19143 2015-03-04  Andreas Schwab  <schwab@suse.de>
19145         [BZ #17631]
19146         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19147         for non-GCC compilers.
19148         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19149         Likewise.
19151 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19153         [BZ #17776]
19154         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19155         integer before bitwise and assembly operations.
19156         (feclearexcept): Likewise.
19157         * math/test-fenvinline.c: New file.
19158         * math/Makefile: Add test-fenvinline test.
19160 2015-03-03  Alan Modra  <amodra@gmail.com>
19162         [BZ #16512]
19163         * scripts/localplt.awk: Strip off symbol version.
19164         * NEWS: Mention bug fix.
19166 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19168         * sysdeps/pthread/timer_routines.c
19169         (timer_free_list, thread_free_list, thread_active_list): Make static.
19171 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19173         [BZ #17779]
19174         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19175         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19176         Undefine.
19177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19178         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19179         Likewise.
19180         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19181         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19182         Likewise.
19184 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19186         [BZ #18036]
19187         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19188         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19190 2015-03-02  Andreas Schwab  <schwab@suse.de>
19192         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19193         variable name.
19195 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19197         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19198         Return error status.
19200 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19202         [BZ #15969]
19203         * locale/findlocale.c (_nl_find_locale): Introduce const
19204         version of loc_name and drop unsafe type casts.
19206 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19208         * dlfcn/tststatic2.c (main): Converted to ...
19209         (do_test): ... this.
19210         (TEST_FUNCTION): New macro.
19211         Include test-skeleton.c.
19213 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19215         [BZ #17711]
19216         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19217         (tests-pie): Add vismain.
19218         (CFLAGS-vismain.c): New.
19219         * elf/vismain.c: Add comments for PIE requirement.
19221 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19223         [BZ #18046]
19224         [BZ #18047]
19225         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19226         0x1p-56L as threshold for just returning the argument.
19227         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19228         0x1p-32L as threshold for just returning the argument.
19229         * math/auto-libm-test-in: Add more tests of atanh.
19230         * math/auto-libm-test-out: Regenerated.
19231         * sysdeps/i386/fpu/libm-test-ulps: Update.
19232         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19234 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19236         * string/bcopy.c (bcopy): Call memmove for performance.
19238 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19240         * string/bzero.c (__bzero): Call memset for performance.
19242 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19244         [BZ #18068]
19245         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19246         to 00100000.
19248 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19250         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19252 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19254         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19255         (__kernel_standard): Use CSTR macro when setting exc.name.
19256         * sysdeps/ieee754/Makefile [$(subdir) = math]
19257         (CFLAGS-k_standard.c): Remove variable.
19259         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19260         setting p and q from "else if" to "else".
19261         (qzero): Likewise.
19262         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19263         (qone): Likewise.
19264         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19265         (qzerof): Likewise.
19266         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19267         (qonef): Likewise.
19268         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19269         (qzero): Likewise.
19270         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19271         (qone): Likewise.
19273         [BZ #18038]
19274         [BZ #18039]
19275         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19276         return pi/2 for arguments below 0x1p-113L.
19277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19278         return pi/2 for arguments below 0x1p-106L.
19279         * math/auto-libm-test-in: Add more tests of acos.
19280         * math/auto-libm-test-out: Regenerated.
19282         [BZ #16351]
19283         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19284         (MO): New macro.
19285         (__ieee754_asin): Force underflow exception for results with small
19286         absolute value.
19287         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19288         (MO): New macro.
19289         (__ieee754_asinf): Force underflow exception for results with
19290         small absolute value.
19291         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19292         (__ieee754_asin): Force underflow exception for results with small
19293         absolute value.
19294         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19295         (__ieee754_asinf): Force underflow exception for results with
19296         small absolute value.
19297         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19298         (__ieee754_asinl): Force underflow exception for results with
19299         small absolute value.
19300         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19301         (__ieee754_asinl): Force underflow exception for results with
19302         small absolute value.
19303         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19304         (__ieee754_asinl): Force underflow exception for results with
19305         small absolute value.
19306         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19307         Include <math.h>.
19308         * math/auto-libm-test-in: Do not mark underflow exceptions as
19309         possibly missing for bug 16351.
19310         * math/auto-libm-test-out: Regenerated.
19312         [BZ #18030]
19313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19314         of power of 2 down when low part has opposite sign.
19315         * math/libm-test.inc (logb_test_data): Add more tests.
19317 2015-02-26  Andreas Schwab  <schwab@suse.de>
19319         [BZ #18032]
19320         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19321         over collating symbol inside a bracket expression.  Minor cleanup.
19322         * posix/tst-fnmatch3.c (do_test): Add test case.
19324 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19326         [BZ #18029]
19327         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19328         Adjust exponent of power of 2 down when low part has opposite
19329         sign.
19330         * math/libm-test.inc (ilogb_test_data): Add more tests.
19332 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19334         [BZ #15969]
19335         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19336         the previous change.
19338         [BZ #15969]
19339         * locale/findlocale.c (_nl_find_locale): Retry archive search
19340         after alias expansion.
19342 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19344         * iconv/tst-iconv3.c (main): Converted to ...
19345         (do_test): ... this.
19346         (TEST_FUNCTION): New macro.
19347         Include test-skeleton.c.
19349         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19350         (convert): Make function static.
19351         (test_unalign): Likewise.  Add const to argument pointee types.
19352         (main): Replace with static function do_test.
19353         Print "Succeeded." only if RET is zero.
19354         (TEST_FUNCTION): New macro.
19355         Include test-skeleton.c.
19357         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19358         returns a null pointer.
19360 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19363         to __memcpy_ppc only for static builds.
19365 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19367         [BZ #18020]
19368         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19369         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19370         * math/auto-libm-test-in: Add more tests of asinh.
19371         * math/auto-libm-test-out: Regenerated.
19372         * sysdeps/i386/fpu/libm-test-ulps: Update.
19373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19375 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19377         [BZ #15850]
19378         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19379         and ip6_mtuinfo definitions here.
19380         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19381         in this define too.  Update comment.
19383 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19385         * elf/sprof.c (load_shobj): Tweak error message to match others.
19387 2015-02-24  Kevin Easton  <kevin@guarana.org>
19389         [BZ #16145] (partial fix)
19390         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19391         to reduce lock contention.
19393 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19395         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19396         (struct timex): Update time comment.
19397         (ADJ_SETOFFSET): Define.
19399 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19401         [BZ #18019]
19402         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19403         2**56 not 2**28 as threshold for log (2x) formula.
19404         * math/auto-libm-test-in: Add more tests of acosh.
19405         * math/auto-libm-test-out: Regenerated.
19406         * sysdeps/i386/fpu/libm-test-ulps: Update.
19407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19409 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19411         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19412         parenthesis around the buf assignment.
19413         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19415 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19417         [BZ #16783]
19418         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19419         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19420         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19421         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19422         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19423         * math/libm-test.inc (scalb_test_data): Add more tests.
19425 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19427         [BZ #17916]
19428         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19429         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19431 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19433         [BZ #17523]
19434         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19435         * io/bits/fcntl2.h (open): Use it.
19436         (openat): Likewise.
19437         * io/open.c (__libc_open): Likewise.
19438         * io/open64.c (__libc_open64): Likewise.
19439         * io/open64_2.c (__open64_2): Likewise.
19440         * io/open_2.c (__open_2): Likewise.
19441         * io/openat.c (__openat): Likewise.
19442         * io/openat64.c (__openat64): Likewise.
19443         * io/openat64_2.c (__openat64_2): Likewise.
19444         * io/openat_2.c (__openat_2): Likewise.
19445         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19446         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19447         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19448         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19449         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19450         (__open_nocancel): Likewise.
19451         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19452         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19453         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19455 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19457         [BZ #14841]
19458         * resolv/gethnamaddr.c (getanswer): Skip logging if
19459         RES_USE_DNSSEC is set.
19460         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19462 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19464         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19466 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19468         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19469         201304L, for Unicode 7.
19471 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19473         [BZ #17836]
19474         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19475         shared library.  Add gmon-start.os otherwise.
19476         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19477         $(objpfx)gmon-start.os if builing shared library.
19478         ($(objpfx)g$(static-start-installed-name)): Likewise.
19480 2015-02-23  Andreas Schwab  <schwab@suse.de>
19482         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19484 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19486         [BZ #17269]
19487         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19488         (enlarge_userbuf): Likewise.
19490 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19492         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19493         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19494         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19495         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19497 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19499         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19500         expression inside statement expression.
19502 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19504         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19505         <sysdeps/nptl/lowlevellock.h> and remove macros and
19506         functions that are now defined there.
19507         (SYS_futex): Remove.
19508         (lll_compare_and_swap): Remove.
19509         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19511 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19513         [BZ #17999]
19514         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19515         instead of scandirat.
19516         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19517         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19518         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19519         __scandirat.
19520         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19521         (__scandirat): Declare.  Use libc_hidden_proto.
19522         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19523         Remove variable.
19524         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19526 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19528         [BZ #15319]
19529         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19530         (MO): New macro.
19531         (__ieee754_atan2): For results with small absolute value, force
19532         underflow exception and remove excess range and precision from
19533         return value.
19534         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19535         (MO): New macro.
19536         (__ieee754_atan2f): For results with small absolute value, force
19537         underflow exception and remove excess range and precision from
19538         return value.
19539         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19540         (MO): New macro.
19541         (__atan): For results with small absolute value, force underflow
19542         exception and remove excess range and precision from return value.
19543         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19544         (MO): New macro.
19545         (__atanf): For results with small absolute value, force underflow
19546         exception and remove excess range and precision from return value.
19547         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19548         <math.h>.
19549         (__ieee754_atan2): Force underflow exception for results with
19550         small absolute value.
19551         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19552         <math_private.h>.
19553         (atan): Force underflow exception for results with small absolute
19554         value.
19555         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19556         (__atanf): Force underflow exception for results with small
19557         absolute value.
19558         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19559         <math.h>.
19560         (__atanl): Force underflow exception for results with small
19561         absolute value.
19562         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19563         (__atanl): Force underflow exception for results with small
19564         absolute value.
19565         * sysdeps/x86/fpu/bits/mathinline.h
19566         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19567         (__ieee754_atan2): Only define inline for long double.
19568         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19569         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19570         * math/auto-libm-test-in: Do not mark underflow exceptions as
19571         possibly missing for bug 15319.  Add more tests of atan2.
19572         * math/auto-libm-test-out: Regenerated.
19573         * math/libm-test.inc (casin_test_data): Do not mark underflow
19574         exceptions as possibly missing for bug 15319.
19575         (casinh_test_data): Likewise.
19576         * sysdeps/i386/fpu/libm-test-ulps: Update.
19578 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19580         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19581         * sysdeps/mips/bits/endian.h: Fix comments.
19583 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19585         [BZ #17996]
19586         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19587         (hdestroy_r): Likewise.
19588         (hsearch_r): Likewise.
19589         (__hcreate_r): Declare and use libc_hidden_proto.
19590         (__hdestroy_r): Likewise.
19591         (__hsearch_r): Likewise.
19592         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19593         (hcreate): Call __hcreate_r instead of hcreate_r.
19594         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19595         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19596         as weak alias of __hcreate_r.
19597         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19598         __hdestroy_r.
19599         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19600         __hsearch_r.
19601         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19602         Remove variable.
19603         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19604         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19605         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19606         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19608 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19610         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19611         arena_lock into a single arena_get.
19613 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19615         * dl-reloc.c: Inlucde libc-internal.h.
19616         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19617         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19618         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19619         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19620         (grow_heap): Likewise.
19621         * malloc/malloc.c: Include libc-internal.h.
19622         (do_check_malloc): Call powerof2.
19623         (sysmalloc): Use pagesize. Call ALIGN_UP.
19624         (systrim): Use pagesize.
19625         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19626         (__libc_valloc): Use pagesize.
19627         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19629 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19631         [BZ #17991]
19632         * include/sys/resource.h (__getrlimit64): Declare.  Use
19633         libc_hidden_proto.
19634         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19635         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19636         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19637         getrlimit64.
19638         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19639         __getrlimit64.
19640         [!getrlimit64] (getrlimit64): Define as weak alias of
19641         __getrlimit64.  Use libc_hidden_weak.
19642         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19643         using __getrlimit64 not __new_getrlimit64.
19644         (__GI_getrlimit64): Likewise.
19645         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19646         Likewise.
19647         (__GI_getrlimit64): Likewise.
19648         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19650         (getrlimit): Add __getrlimit64 alias.
19651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19652         Likewise.
19653         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19654         Remove variable.
19655         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19656         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19658 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19660         * libio/fileops.c: Add missing sys/mman.h
19661         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19663 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19665         * manual/math.texi (Errors in Math Functions): Clarify goals
19666         regarding inexact and underflow exceptions.
19668 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19670         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19671         * sysdeps/mips/memset.S: Ditto.
19673 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19675         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19677 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19679         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19680         (__v1longjmp): Remove versioned symbol.
19681         (__v1siglongjmp): Remove alias and versioned symbol.
19682         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19683         (__v2siglongjmp): Likewise.
19685 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19687         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19689 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19691         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19693 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19695         [BZ #17987]
19696         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19697         zero result does not depend on the sign resulting from
19698         subtraction.
19699         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19700         Likewise.
19701         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19702         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19703         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19704         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19705         * math/libm-test.inc (remquo_test_data): Add more tests.
19707 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19709         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19710         Problem reported by J William Piggott.
19712 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19714         [BZ #17978]
19715         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19716         products 4 * y and 2 * y where those would overflow.
19717         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19718         Likewise.
19719         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19720         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19721         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19722         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19723         * math/libm-test.inc (remquo_test_data): Add more tests.
19725         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19727         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19728         [defined _COMPILING_NEWLIB].
19729         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19730         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19732         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19733         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19735 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19737         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19738         acquired.
19740 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19742         [BZ #17792]
19743         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19744         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19745         HOST_STACK_END_ADDR): Likewise.
19747 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19749         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19750         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19751         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19753 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19755         * sysdeps/generic/c++-types.data: New file.
19756         * sysdeps/generic/ld.abilist: New file.
19757         * sysdeps/generic/libBrokenLocale.abilist: New file.
19758         * sysdeps/generic/libanl.abilist: New file.
19759         * sysdeps/generic/libc.abilist: New file.
19760         * sysdeps/generic/libcrypt.abilist: New file.
19761         * sysdeps/generic/libdl.abilist: New file.
19762         * sysdeps/generic/libm.abilist: New file.
19763         * sysdeps/generic/libpthread.abilist: New file.
19764         * sysdeps/generic/libresolv.abilist: New file.
19765         * sysdeps/generic/librt.abilist: New file.
19767 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19769         [BZ #17569]
19770         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19771         Compute absolute value of x as modified by fmod, not original
19772         value of x.
19773         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19774         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19775         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19776         RUN_TEST_ffI_f1_mod8.
19777         (remquo_test_data): Add more tests.
19779 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19781         * sysdeps/init_array/pt-crti.S: New file.
19783 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19785         [BZ #17967]
19786         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19787         __builtin_fmaf instead of relying on contraction of a * b + c.
19789 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19791         [BZ #17969]
19792         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19793         node.
19795 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19797         [BZ #17964]
19798         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19799         __builtin_fma instead of relying on contraction of a * b + c.
19801 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19803         * Makeconfig (ASFLAGS): Add -Werror=undef.
19804         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19805         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19806         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19808         * Makeconfig (after-link): New variable.
19809         (+link-pie, +link-pie-tests): Use it.
19810         (+link-static, +link-static-tests): Likewise.
19811         (+link, +link-tests): Likewise.
19812         * Makerules (build-module, build-module-asneeded): Likewise.
19813         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19814         Likewise.
19815         * elf/Makefile ($(objpfx)ld.so): Likewise.
19817 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19819         [BZ #17965]
19820         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19821         both struct timeval and struct timespec.
19823 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19825         [BZ #16560]
19826         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19827         and redefine.
19828         (__ieee754_exp2l): Do not multiply small fractional parts by
19829         M_LN2l.
19830         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19831         small argument.
19832         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19833         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19834         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19835         * math/auto-libm-test-in: Add more tests of exp2.
19836         * math/auto-libm-test-out: Regenerated.
19838 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19840         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19841         unaligned path.
19843 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19845         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19846         little endian.
19848 2015-02-12  Andreas Schwab  <schwab@suse.de>
19850         [BZ #15790]
19851         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19852         Filter out elision flags from value returned in kind.
19853         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19854         * nptl/tst-pthread-mutexattr.c: New file.
19856 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19858         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19859         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19860         into gnu-gnu, and update comment to refer to abi-tags.
19862 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19864         [BZ #15467]
19865         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19866         (__sincos): Set errno to EDOM for infinite argument.
19867         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19868         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19869         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19870         (__sincosl): Set errno to EDOM for infinite argument.
19871         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19872         (__sincosl): Set errno to EDOM for infinite argument.
19873         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19874         (__sincosl): Set errno to EDOM for infinite argument.
19875         * math/libm-test.inc (sincos_test_data): Test errno setting.
19877 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19879         * string/strxfrm_l.c: Remove #define STRCMP.
19880         * string/strcoll_l.c: Remove #define STRLEN.
19881         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19882         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19884 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19886         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19887         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19888         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19889         * sysdeps/mips/mips64/Makefile: ... here.
19890         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19891         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19892         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19893         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19894         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19895         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19896         * sysdeps/mips/mips64/n64/Implies: Likewise.
19898 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19900         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19901         <sys/time.h>, <string.h>, and <errno.h>.
19902         (dest_offset, dest_address, value, zero): Remove unused variables.
19903         (ldouble): Remove typedef.
19904         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19905         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19906         1).  Fix code style.
19907         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19908         (check): Function removed.
19909         (CHECK): New macro.
19910         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19911         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19912         Don't call set_sigaction_FP and remove_sigaction_FP here.
19913         (ldouble_test): Just use 'long double' as macro argument, no need for
19914         the 'ldouble' typedef.
19915         (do_test): Set up SIGFPE handler at start, using plain signal rather
19916         than sigaction.  Fix code style.
19918 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19920         [BZ #17949]
19921         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19922         jump label.
19924 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19926         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19927         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19929         * sysdeps/powerpc/configure.ac: Remove file.
19930         * sysdeps/powerpc/configure: Likewise.
19932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19933         [sysdep_routines]: Remove wordcopy-power6 object.
19934         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19935         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19936         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19937         (__memmove_ppc32): Likewise.
19938         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19939         file.
19940         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19942         Remove preprocessor.
19944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19945         [sysdep_routines]: Remove wide chars objects.
19946         [wcsmbs]: New rule for wide char objects.
19948         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19949         Remove wordcopy-power6 obejct.
19950         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19951         Use local call for wordcopy and memcpy symbols.
19952         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19954         implementation for loader.
19955         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19957         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19958         Remove wordcopy-power7 object.
19959         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19960         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19961         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19962         (_wordcopy_fwd_dest_aligned): Likewise.
19963         (_wordcopy_bwd_aligned): Likewise.
19964         (_wordcopy_bwd_dest_aligned): Likewise.
19966         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19967         Rewrite to call __memmove_ppc instead of include default
19968         implementation.
19970         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19971         Remove wide chars objects.
19972         [wcsmbs]: New rule for wide char objects.
19974 2015-02-09  Andreas Schwab  <schwab@suse.de>
19976         [BZ #17912]
19977         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19978         in terms of __O_DIRECTORY.
19980 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19982         * time/getdate.c: Include <stdbool.h>.
19983         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19984         call PTR_MANGLE.
19985         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19986         PTR_DEMANGLE.
19988 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19990         Add ersatz _Static_assert on older C hosts
19991         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19992         pre-C11 C platform that is not known to support _Static_assert.
19994 2015-02-07  Richard Braun  <rbraun@sceen.net>
19996         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19997         sigstate.
19998         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20000 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20002         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20003         priority against unexistent AIO_PRIO_DELTA_MAX.
20004         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20005         instead of int.
20006         * misc/fchflags.c (fchflags): Likewise.
20007         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20008         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20009         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20010         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20011         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20012         Declare macros.
20013         [__USE_MISC] (chflags, fchflags): Declare functions.
20014         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20015         EINVAL when nfds is greater than FD_SETSIZE.
20016         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20017         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20018         45.
20019         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20020         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20021         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20022         MACH_RCV_TIMED_OUT.
20023         * hurd/hurd/signal.h (_hurd_self_sigstate,
20024         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20025         Explicit casts from void *.
20026         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20027         * abi-tags: Rename gnu-gnu os into gnu.
20029         [BZ #4719]
20030         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20031         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20032         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20033         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20034         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20035         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20037         [BZ #17944]
20038         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20039         duplicates ADDR->sun_path with sockaddr LEN limitation.
20040         * sysdeps/mach/hurd/connect.c: Include <string.h>
20041         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20042         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20043         * sysdeps/mach/hurd/sendto.c: Likewise.
20044         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20045         implementing it by hand.
20047 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20049         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20050         Use sfi_breg on ldr.
20051         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20052         Likewise.
20054         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20055         it's defined.
20056         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20057         Test SIGSETXID only if it's defined.
20059         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20061         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20062         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20064         * nptl/tst-align2.c: Moved ...
20065         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20066         * nptl/Makefile (tests): Remove tst-align2.
20067         * sysdeps/unix/sysv/linux/Makefile
20068         [$(subdir) = nptl] (tests): Add tst-align-clone.
20069         * nptl/tst-getpid1.c: Moved ...
20070         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20071         * nptl/tst-getpid2.c: Moved ...
20072         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20073         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20074         * sysdeps/unix/sysv/linux/Makefile
20075         [$(subdir) = nptl] (tests): ... here.
20076         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20077         * sysdeps/unix/sysv/linux/Makefile
20078         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20080         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20081         Drop trailing \n from perror argument.  Use return rather than exit.
20083         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20084         on [SA_SIGINFO].
20085         * nptl/tst-cancel21.c (do_test): Likewise.
20086         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20087         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20088         [!SA_SIGINFO]: Make it a stub test.
20090         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20091         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20093         * posix/tst-getlogin.c: Move to ...
20094         * login/tst-getlogin.c: ... here.
20095         * posix/Makefile (tests): Move tst-getlogin to ...
20096         * login/Makefile (tests): ... here.
20098         * libio/tst-atime.c (do_test): Move local variables SV and E
20099         inside [ST_NOATIME] conditional.
20101         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20103         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20105         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20106         (wait_code): New function replaces macro.
20107         Call nanosleep rather than syscall.
20109         * nptl/pt-system.c: Rewritten.  Put everything under
20110         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20111         Use IFUNC to redirect when possible.
20113         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20114         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20115         Use IFUNC to redirect when possible.
20117         * nptl/pt-fork.c: Rewritten.  Put everything under
20118         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20119         Use IFUNC to redirect when possible.
20120         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20122         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20123         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20124         unconditionally nowadays.  This included the only reference to
20125         __vdso_clock_gettime that appears outside libc proper.
20126         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20127         Remove version set (containing only __vdso_clock_gettime).
20128         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20129         Add attribute_hidden.
20130         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20131         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20132         libc_hidden_data_def.
20133         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20134         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20136         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20137         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20138         setrpcent, and getrpcport to ...
20139         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20140         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20141         getrpcbynumber_r, and getrpcent_r to ...
20142         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20143         * inet/getrpcbyname.c: Moved ...
20144         * sunrpc/getrpcbyname.c: ... here.
20145         * inet/getrpcbyname_r.c: Moved ...
20146         * sunrpc/getrpcbyname_r.c: ... here.
20147         * inet/getrpcbynumber.c: Moved ...
20148         * sunrpc/getrpcbynumber.c: ... here.
20149         * inet/getrpcbynumber_r.c: Moved ...
20150         * sunrpc/getrpcbynumber_r.c: ... here.
20151         * inet/getrpcent.c: Moved ...
20152         * sunrpc/getrpcent.c: ... here.
20153         * inet/getrpcent_r.c: Moved ...
20154         * sunrpc/getrpcent_r.c: ... here.
20155         * inet/Makefile (routines): Move those to ...
20156         * sunrpc/Makefile (routines): ... here.
20157         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20158         the $(subdirs) list.
20159         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20160         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20161         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20162         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20164         * elf/Makefile (routines): Include $(all-dl-routines), not just
20165         $(dl-routines).
20166         (rtld-routines): Likewise.  Use = rather than :=.
20167         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20168         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20169         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20170         * sysdeps/arm/Makefile: Likewise.
20171         * sysdeps/i386/Makefile: Likewise.
20172         * sysdeps/x86_64/Makefile: Likewise.
20173         * sysdeps/hppa/Makefile [$(subdir) = elf]
20174         (sysdep_routines, sysdep-rtld-routines): Don't add
20175         $(sysdep-dl-routines) to these.
20176         * sysdeps/ia64/Makefile: Likewise.
20177         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20178         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20179         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20180         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20181         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20182         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20184         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20185         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20186         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20187         these; sysdep-dl-routines alone is enough.
20189 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20191         [BZ #17932]
20192         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20193         where multiplication results in zero and third argument is finite
20194         and nonzero.
20195         * math/auto-libm-test-in: Add more tests of fma.
20196         * math/auto-libm-test-out: Regenerated.
20198         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20199         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20200         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20201         (_FP_CMP_EQ): Likewise.
20202         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20204         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20205         extra argument CHECK_NAN.  Redefine as wrapper around
20206         _FP_EXTEND_CNAN.
20208 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20210         * version.h (RELEASE): Set to "stable".
20211         (VERSION): Set to "2.21"
20212         * include/features.h (__GLIBC_MINOR__): Set to 21.
20214         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20216 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20217             Paul Eggert  <eggert@cs.ucla.edu>
20219         [BZ #16618]
20220         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20221         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20222         size in bytes. Store needed elements in wpmax. Use needed size
20223         in bytes for extend_alloca.
20225 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20227         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20228         binutls 2.25, and texinfo 5.2.
20229         * INSTALL: Regenerate.
20230         * sysdeps/nios2/configure: Regenerate.
20231         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20232         * manual/contrib.texi: Update.
20233         * po/be.po: Update.
20234         * po/bg.po: Update.
20235         * po/ca.po: Update.
20236         * po/cs.po: Update.
20237         * po/da.po: Update.
20238         * po/de.po: Update.
20239         * po/el.po: Update.
20240         * po/eo.po: Update.
20241         * po/es.po: Update.
20242         * po/fi.po: Update.
20243         * po/fr.po: Update.
20244         * po/gl.po: Update.
20245         * po/hr.po: Update.
20246         * po/hu.po: Update.
20247         * po/ia.po: Update.
20248         * po/id.po: Update.
20249         * po/it.po: Update.
20250         * po/ja.po: Update.
20251         * po/ko.po: Update.
20252         * po/lt.po: Update.
20253         * po/nb.po: Update.
20254         * po/nl.po: Update.
20255         * po/pl.po: Update.
20256         * po/pt_BR.po: Update.
20257         * po/ru.po: Update.
20258         * po/rw.po: Update.
20259         * po/sk.po: Update.
20260         * po/sl.po: Update.
20261         * po/sv.po: Update.
20262         * po/tr.po: Update.
20263         * po/uk.po: Update.
20264         * po/vi.po: Update.
20265         * po/zh_CN.po: Update.
20266         * po/zh_TW.po: Update.
20268         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20269         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20270         * sysdeps/hppa/dl-irel.h: Remove #warning.
20271         * sysdeps/hppa/entry.h: Provide prototype for
20272         __canonicalize_funcptr_for_compare and cast argument.
20273         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20274         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20275         * sysdeps/hppa/sotruss-lib.c: New file.
20276         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20277         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20278         (atomic_compare_and_exchange_bool_acq): Likewise.
20279         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20280         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20282         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20283         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20284         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20286 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20288         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20289         called function in non-PIC case.
20291 2015-01-31  David S. Miller  <davem@davemloft.net>
20293         * sysdeps/sparc/sparc32/bits/atomic.h
20294         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20295         unlock not after it.
20296         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20297         volatile register usage warnings from the compiler.
20299         * sysdeps/sparc/nptl/sem_init.c: Delete.
20300         * sysdeps/sparc/nptl/sem_post.c: Delete.
20301         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20302         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20303         * sysdeps/sparc/sparc32/sem_init.c: New file.
20304         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20305         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20306         padding explicitly initialized.
20307         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20308         padding for in-semaphore spinlock.
20309         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20310         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20311         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20312         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20313         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20314         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20315         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20316         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20317         version.
20318         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20319         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20321 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20323         [BZ #17801]
20324         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20325         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20326         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20327         New.
20328         (index_AVX_Fast_Unaligned_Load): Likewise.
20329         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20330         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20331         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20332         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20333         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20334         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20335         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20336         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20337         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20339 2015-01-29  Andreas Schwab  <schwab@suse.de>
20341         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20343 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20345         [BZ #17892]
20346         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20348 2015-01-28  Martin Sebor  <msebor@redhat.com>
20350         * math/README.libm-test: Clarify. Add "How to read the test output."
20352 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20354         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20355         Define to 0.
20357 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20359         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20360         (__HAVE_64B_ATOMICS): Define to 0.
20362 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20364         [BZ #17885]
20365         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20366         value to set as new flag.
20368         [BZ #16576]
20369         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20370         and use _ARCH_PPCSQ instead.
20371         (__ieee754_sqrt): Likewise.
20372         (__ieee754_sqrtf): Likewise.
20373         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20374         _ARCH_PPCSQ is defined.
20375         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20376         fsqrt instruction.
20377         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20378         _ARCH_PPCSQ is defined.
20379         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20380         fsqrts instruction.
20381         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20383 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20385         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20386         bug (GCC BZ #64739).
20388 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20390         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20391         Mark _retval as used.
20392         (lll_futex_wake_unlock): Likewise.
20393         (lll_futex_timed_wait_requeue_pi): Likewise.
20395         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20396         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20397         register variables.
20399         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20400         libm_hidden_def.
20402         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20403         (__bswap_64): Mark as __always_inline.
20405 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20407         [BZ #15378]
20408         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20409         when none of the search directories exist.
20411 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20413         [BZ #17869]
20414         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20415         power8 in .machine directive.
20417         [BZ #17868]
20418         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20419         set dependency from opd value.
20421 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20424         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20425         architecture.
20427 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20429         [BZ #17870]
20430         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20431         with uint64_t.
20432         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20433         (uint64_t) 1.
20434         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20435         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20436         Replace 1UL with (uint64_t) 1.
20437         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20438         int with uint64_t.
20440 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20442         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20443         (if_freenameindex): Likewise.
20445         * resource/getrlimit64.c: Add missing libc_hidden_def.
20447 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20449         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20450         __label__.
20451         (_FP_FMA): Likewise.
20452         (_FP_TO_INT_ROUND): Likewise.
20453         (_FP_FROM_INT): Likewise.
20455 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20457         [BZ #16418]
20458         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20459         Make code racy and cancel safe.
20461 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20463         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20464         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20465         attribution.
20467         * pwd/tst-getpw.c: Rewrite.
20469         [BZ #17702]
20470         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20471         (modules-names): Add moddummy1 and moddummy2.
20472         ($(objpfx)tst-rec-dlopen): Define.
20473         * dlfcn/moddummy1.c: New file.
20474         * dlfcn/moddummy2.c: New file.
20475         * dlfcn/tst-rec-dlopen.c: New file.
20476         * elf/dl-cache.c (_dl_load_cache_lookup):
20477         Return char*. Copy result with alloca/strcpy/strdup.
20478         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20479         returns char*. Free cached. If not saving realname
20480         free cached.
20481         * elf/dl-open.c (dl_open_worker): Do not assert that
20482         _r_debug->r_state is RT_CONSISTENT.
20483         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20484         returns char*.
20486 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20487             Carlos O'Donell  <carlos@redhat.com>
20489         [BZ #12674]
20490         * nptl/sem_waitcommon.c: New file.
20491         * nptl/sem_wait.c: Include sem_waitcommon.c.
20492         (__sem_wait_cleanup, do_futex_wait): Remove.
20493         (__new_sem_wait): Adapt.
20494         (__new_sem_trywait): New function.
20495         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20496         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20497         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20498         (sem_timedwait): Adapt.
20499         * nptl/sem_post.c (__new_sem_post): Adapt.
20500         (futex_wake): New function.
20501         (__old_sem_post): Add release MO fence.
20502         * nptl/sem_open.c (sem_open): Adapt.
20503         * nptl/sem_init.c (__new_sem_init): Adapt.
20504         (futex_private_if_supported): New function.
20505         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20506         (__old_sem_getvalue): Add using previous code.
20507         * sysdeps/nptl/internaltypes.h: Adapt.
20508         * nptl/tst-sem13.c (do_test): Adapt.
20509         * nptl/tst-sem11.c (main): Adapt.
20510         * nptl/sem_trywait.c: Remove.
20511         * nptl/DESIGN-sem.txt: Remove.
20512         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20513         (gen-as-const-headers): Remove structsem.sym.
20514         * nptl/structsem.sym: Remove.
20515         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20516         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20517         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20518         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20519         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20520         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20521         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20522         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20523         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20524         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20525         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20526         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20527         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20528         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20529         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20530         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20531         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20532         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20533         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20534         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20535         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20536         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20538 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20540         * INSTALL: Regenerated.
20542         * po/libc.pot: Regenerated.
20544 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20545             Sandra Loosemore  <sandra@codesourcery.com>
20546             Andrew Jenner  <andrew@codesourcery.com>
20547             Joseph Myers  <joseph@codesourcery.com>
20548             Nathan Sidwell  <nathan@codesourcery.com>
20550         * NEWS: Mention new Nios II port.
20551         * sysdeps/nios2/Implies: New file.
20552         * sysdeps/nios2/Makefile: New file.
20553         * sysdeps/nios2/Subdirs: New file.
20554         * sysdeps/nios2/Versions: New file.
20555         * sysdeps/nios2/__longjmp.S: New file.
20556         * sysdeps/nios2/abort-instr.h: New file.
20557         * sysdeps/nios2/backtrace.c: New file.
20558         * sysdeps/nios2/bits/endian.h: New file.
20559         * sysdeps/nios2/bits/fenv.h: New file.
20560         * sysdeps/nios2/bits/link.h: New file.
20561         * sysdeps/nios2/bits/setjmp.h: New file.
20562         * sysdeps/nios2/bsd-_setjmp.S: New file.
20563         * sysdeps/nios2/bsd-setjmp.S: New file.
20564         * sysdeps/nios2/configure: New generated file.
20565         * sysdeps/nios2/configure.ac: New file.
20566         * sysdeps/nios2/crti.S: New file.
20567         * sysdeps/nios2/crtn.S: New file.
20568         * sysdeps/nios2/dl-init.c: New file.
20569         * sysdeps/nios2/dl-machine.h: New file.
20570         * sysdeps/nios2/dl-sysdep.h: New file.
20571         * sysdeps/nios2/dl-tls.h: New file.
20572         * sysdeps/nios2/dl-trampoline.S: New file.
20573         * sysdeps/nios2/gccframe.h: New file.
20574         * sysdeps/nios2/gmp-mparam.h: New file.
20575         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20576         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20577         * sysdeps/nios2/ldsodefs.h: New file.
20578         * sysdeps/nios2/libc-tls.c: New file.
20579         * sysdeps/nios2/libm-test-ulps: New file.
20580         * sysdeps/nios2/machine-gmon.h: New file.
20581         * sysdeps/nios2/math-tests.h: New file.
20582         * sysdeps/nios2/math_private.h: New file.
20583         * sysdeps/nios2/memusage.h: New file.
20584         * sysdeps/nios2/nptl/Makefile: New file.
20585         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20586         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20587         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20588         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20589         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20590         * sysdeps/nios2/nptl/tls.h: New file.
20591         * sysdeps/nios2/preconfigure: New file.
20592         * sysdeps/nios2/s_fma.c: New file.
20593         * sysdeps/nios2/s_fmaf.c: New file.
20594         * sysdeps/nios2/setjmp.S: New file.
20595         * sysdeps/nios2/sfp-machine.h: New file.
20596         * sysdeps/nios2/sotruss-lib.c: New file.
20597         * sysdeps/nios2/stackguard-macros.h: New file.
20598         * sysdeps/nios2/stackinfo.h: New file.
20599         * sysdeps/nios2/start.S: New file.
20600         * sysdeps/nios2/sysdep.h: New file.
20601         * sysdeps/nios2/tls-macros.h: New file.
20602         * sysdeps/nios2/tst-audit.h: New file.
20603         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20604         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20605         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20606         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20607         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20608         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20609         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20610         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20611         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20612         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20613         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20614         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20615         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20616         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20617         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20618         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20619         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20620         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20621         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20622         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20623         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20624         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20625         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20626         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20627         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20628         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20629         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20630         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20631         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20632         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20633         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20634         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20635         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20636         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20637         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20638         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20639         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20640         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20641         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20642         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20643         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20644         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20645         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20646         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20648 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20650         [BZ #17844]
20651         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20652         (getutent): Use weak_alias in non SHARED case
20653         and default_symbol_version in SHARED case.
20654         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20655         (getutent_r, pututline): Likewise.
20656         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20657         (getutid): Likewise.
20658         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20659         (getutid_r): Likewise.
20660         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20661         (getutline): Likewise.
20662         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20663         (getutline_r): Likewise.
20664         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20665         (updwtmp): Likewise.
20667 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20669         [BZ #17848]
20670         * sysdeps/s390/s390-32/memcmp.S
20671         (memcmp_g5): Rename to __memcmp_g5.
20672         * sysdeps/s390/s390-32/memcpy.S
20673         (memcpy_g5): Rename to __memcpy_g5.
20674         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20675         (memcpy_mvcle) Rename to __memcpy_mvcle.
20676         * sysdeps/s390/s390-32/memset.S
20677         (memset_g5): Rename to __memset_g5.
20678         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20679         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20680         and use prefixed functions.
20681         * sysdeps/s390/s390-32/multiarch/memcmp.S
20682         (memcmp_z196): Rename to __memcmp_z196.
20683         (memcmp_z10): Rename to __memcmp_z10.
20684         (memcmp): Set alias to __memcmp_g5.
20685         (bcmp): Set alias to __memcmp_g5.
20686         * sysdeps/s390/s390-32/multiarch/memcpy.S
20687         (memcpy_z196): Rename to __memcpy_z196.
20688         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20689         (memcpy_z10): Rename to __memcpy_z10.
20690         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20691         (memcpy): Set alias to __memcpy_g5.
20692         * sysdeps/s390/s390-32/multiarch/memset.S
20693         (memset_z196): Rename to __memset_z196.
20694         Jump to __memset_mvcle instead of memset_mvcle.
20695         (memset_z10): Rename to __memset_z10.
20696         Jump to __memset_mvcle instead of memset_mvcle.
20697         (memset_mvcle) Rename to __memset_mvcle.
20698         (memset): Set alias to __memset_g5.
20699         * sysdeps/s390/s390-64/memcmp.S
20700         (memcmp_z900): Rename to __memcmp_z900.
20701         * sysdeps/s390/s390-64/memcpy.S
20702         (memcpy_z900): Rename to __memcpy_z900.
20703         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20704         (memcpy_mvcle) Rename to __memcpy_mvcle.
20705         * sysdeps/s390/s390-64/memset.S
20706         (memset_z900): Rename to __memset_z900.
20707         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20708         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20709         and use prefixed functions.
20710         * sysdeps/s390/s390-64/multiarch/memcmp.S
20711         (memcmp_z196): Rename to __memcmp_z196.
20712         (memcmp_z10): Rename to __memcmp_z10.
20713         (memcmp): Set alias to __memcmp_z900.
20714         (bcmp): Set alias to __memcmp_z900.
20715         * sysdeps/s390/s390-64/multiarch/memcpy.S
20716         (memcpy_z196): Rename to __memcpy_z196.
20717         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20718         (memcpy_z10): Rename to __memcpy_z10.
20719         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20720         (memcpy): Set alias to __memcpy_z900.
20721         * sysdeps/s390/s390-64/multiarch/memset.S
20722         (memset_z196): Rename to __memset_z196.
20723         Jump to __memset_mvcle instead of memset_mvcle.
20724         (memset_z10): Rename to __memset_z10.
20725         Jump to __memset_mvcle instead of memset_mvcle.
20726         (memset_mvcle) Rename to __memset_mvcle.
20727         (memset): Set alias to __memset_z900.
20729 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #17748]
20732         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20733         __fesetenv instead of fesetenv.
20735 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20737         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20738         macro.
20740 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20742         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20743         regression on LE.
20745         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20746         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20747         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20748         strncmp-power8 object.
20749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20750         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20751         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20752         * NEWS: Update.
20754 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20755             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20757         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20758         trailing byte check.
20760 2015-01-13  David S. Miller  <davem@davemloft.net>
20762         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20764 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20766         * login/logout.c (logout): Use memset rather than bzero.
20767         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20768         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20769         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20770         (_gethtbyaddr): Likewise.
20771         * locale/programs/simple-hash.c (bcopy): Macro removed.
20773 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20775         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20776         Add strcmp-power8 object.
20777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20778         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20779         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20780         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20781         __strcmp_power8 implementation.
20782         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20783         * NEWS: Update.
20785         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20786         Add strncpy-power8 and stpncpy-power8 objects.
20787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20788         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20789         implementations.
20790         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20791         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20792         __stpncpy_power8 implementation.
20793         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20794         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20795         __strncpy_power8 implementation.
20796         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20797         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20798         * NEWS: Update.
20800         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20801         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20802         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20804         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20805         strncat-power8 object.
20806         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20807         __strcat_power8 implementation.
20808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20809         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20810         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20811         optimized strcat for power8.
20813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20814         strcpy-power8 and stpcpy-power8 objects.
20815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20816         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20817         implementations.
20818         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20819         multiarch stpcpy implementation for POWER8.
20820         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20821         multiarch strcpy implementation for POWER8.
20822         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20823         __strcpy_power8 function.
20824         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20825         stpcpy for POWER8.
20826         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20827         strcpy for POWER8.
20828         * NEWS: Update.
20830 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20832         [BZ #16009]
20833         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20834         weights and rules. Use do_xfrm_cached if data fits in cache,
20835         do_xfrm otherwise.  Moved former main loop to...
20836         * (do_xfrm_cached): New function.
20837         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20838         find_idx, find_position and stack_push.
20839         * (find_idx): New function.
20840         * (find_position): Likewise.
20841         * localedata/sort-test.sh: Added test run for do_xfrm.
20842         * localedata/xfrm-test.c (main): Added command line option
20843         -nocache to run the test with strings that are too large for
20844         the STRXFRM cache.
20846 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20848         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20849         variable to lll_futex_wake call, not the value itself.
20851 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20853         [BZ #17803]
20854         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20855         twom64.  Adjust value to 0x1p-64L.
20856         (__scalblnl): Only return standard underflowing result for K <=
20857         -64 not K <= -63; adjust exponent for underflowing result by 64
20858         not 63.
20859         * math/libm-test.inc (scalbn_test_data): Add more tests.
20860         (scalbln_test_data): Likewise.
20862         [BZ #17834]
20863         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20864         0x1p63L.
20865         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20866         not HX.
20867         * math/libm-test.inc (scalbn_test_data): Add more tests.
20868         (scalbln_test_data): Likewise.
20870 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20871             Stefani Seibold  <stefani@seibold.net>
20873         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20874         (sysdep_routines): Add dl-vdso here, ...
20875         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20876         (sysdep_routines): ... not here.
20877         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20878         fallback when vDSO is not presented.
20879         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20880         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20881         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20882         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20883         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20884         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20885         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20886         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20887         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20888         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20889         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20890         fallback configurable symbol when vDSO is not available.
20891         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20892         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20893         be able to redefine fallback symbol when vDSO is not available.
20894         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20895         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20897 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20899         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20900         (TLS_INIT_TP): Add tm_capable initialization.
20901         (TLS_DEFINE_INIT_TP): Likewise.
20902         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20903         TCB.
20904         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20905         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20906         calculation.
20907         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20908         transactoion is lock elision is built and TCB tm_capable is set.
20909         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20911         (INTERNAL_SYSCALL_NCS): Likewise.
20912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20913         (INTERNAL_SYSCALL_NCS): Likewise.
20914         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20916         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20917         for powerpc.
20918         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20919         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20920         and remove it for 32 bits case.
20921         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20923         initialization.
20924         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20925         Disable lock elision with rdlocks if elision is not available.
20927         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20928         (sysdep_routines): Add lock elision objects.
20929         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20930         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20931         [pthread_mutex_t] (__elision): Add field.
20932         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20933         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20934         elision definitions for powerpc.
20935         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20936         implementation of lock elision for powerpc.
20937         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20938         implementation of timed lock elision for powerpc.
20939         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20940         implementation of trylock with lock elision for powerpc.
20941         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20942         implementaion of unlock for lock elision for powerpc.
20943         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20944         automatic enable lock elision for mutexes.
20945         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20946         transaction execution definitions for powerpc.
20947         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20948         definitions.
20949         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20950         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20951         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20952         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20953         * NEWS: Update.
20955 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20957         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20958         for #include of <shm-directory.h>.
20960 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20962         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20963         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20965 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20967         [BZ #17791]
20968         * NEWS: Mention bug fix.
20969         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20970         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20971         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20973 2015-01-09  Torvald Riegel <triegel@redhat.com>
20975         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20977 2015-01-09  Torvald Riegel <triegel@redhat.com>
20979         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20981 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20983         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20984         pointer and cast to uintptr_t.
20986 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20988         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20989         removed.
20990         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20992 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20994         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20995         of 0.
20997 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20999         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21000         <nptl/pthreadP.h> instead.
21001         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21003         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21004         already defined.
21005         [__SIGRTMIN] (init): Function removed.
21006         [__SIGRTMIN] (initialized): Variable removed.
21007         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21008         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21009         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21010         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21011         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21012         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21013         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21014         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21015         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21016         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21017         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21018         * sysdeps/nptl/allocrtsig.c: New file.
21019         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21020         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21021         * sysdeps/generic/testrtsig.h: File removed.
21023         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21024         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21026         * nptl/nptl-init.c (pthread_functions): Conditionalize
21027         .ptr__nptl_setxid initialization on [SIGSETXID].
21029         * sysdeps/nptl/sys/procfs.h: New file.
21030         * nptl_db/Makefile (headers): Add it.
21031         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21033         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21034         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21035         * nptl/pthread_attr_setaffinity.c: Include it.
21036         * nptl/pthread_setattr_default_np.c: Likewise.
21037         * nptl/check-cpuset.h: New file.
21039 2015-01-08  Richard Henderson  <rth@redhat.com>
21041         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21042         (CFLAGS-tst-execstack-prog.c): Likewise.
21043         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21045 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21046             Sandra Loosemore  <sandra@codesourcery.com>
21047             Andrew Jenner  <andrew@codesourcery.com>
21048             Joseph Myers  <joseph@codesourcery.com>
21049             Nathan Sidwell  <nathan@codesourcery.com>
21051         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21052         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21053         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21054         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21055         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21056         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21057         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21058         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21059         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21060         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21061         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21062         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21063         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21064         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21065         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21066         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21067         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21069 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21071         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21072         timespec struct member in syscall macro.
21073         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21074         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21075         first timeval struct member in syscall macro.
21076         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21078 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #17748]
21081         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21082         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21083         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21084         __feupdateenv and define as weak alias of __feupdateenv.  Use
21085         libm_hidden_weak.
21086         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21087         libm_hidden_def.
21088         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21089         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21090         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21091         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21092         libm_hidden_def.
21093         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21094         __feupdateenv and define as weak alias of __feupdateenv.  Use
21095         libm_hidden_weak.
21096         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21097         libm_hidden_def.
21098         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21099         __feupdateenv and define as weak alias of __feupdateenv.  Use
21100         libm_hidden_weak.
21101         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21102         libm_hidden_def.
21103         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21104         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21105         (__feupdateenv): Likewise.
21106         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21107         __feupdateenv and define as weak alias of __feupdateenv.  Use
21108         libm_hidden_weak.
21109         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21110         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21111         libm_hidden_def.
21112         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21113         function.
21114         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21115         libm_hidden_def.
21116         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21117         __feupdateenv instead of feupdateenv.
21118         (default_libc_feupdateenv_test): Likewise.
21119         (libc_feresetround_ctx): Likewise.
21121 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21123         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21124         prototype.
21126 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21128         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21129         COLL_SYM in a couple of places to avoid uninitialized variable
21130         wanings on tilegx gcc 4.8.2.
21132 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21134         * sysdeps/aarch64/strcpy.S: New file.
21135         * sysdeps/aarch64/stpcpy.S: New file.
21136         * NEWS: Updated.
21138 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21140         * sysdeps/aarch64/strrchr.S: New file.
21141         * NEWS: Updated.
21143 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21145         [BZ #17658]
21146         * stdlib/setenv.c: Fix memory leak when setting large,
21147         duplicate string.
21149 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21151         [BZ #17273]
21152         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21153         and tabs from buffer before parsing fstab entry.
21154         * misc/tst-mntent.c (main): Add test for mount entry with
21155         trailing spaces and tabs.
21157 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21159         [BZ #17748]
21160         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21161         * math/fesetround.c (fesetround): Rename to __fesetround and
21162         define as weak alias of __fesetround.  Use libm_hidden_weak.
21163         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21164         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21165         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21166         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21167         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21168         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21169         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21170         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21171         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21172         __fesetround_inline.
21173         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21174         __fesetround_inline instead of __fesetround.
21175         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21176         __fesetround and define as weak alias of __fesetround.  Use
21177         libm_hidden_weak.  Call __fesetround_inline instead of
21178         __fesetround.
21179         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21180         __fesetround and define as weak alias of __fesetround.  Use
21181         libm_hidden_weak.
21182         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21183         Likewise.
21184         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21185         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21186         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21187         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21188         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21189         __fesetround and define as weak alias of __fesetround.  Use
21190         libm_hidden_weak.
21191         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21192         __fesetround instead of fesetround.
21193         (default_libc_feholdexcept_setround): Likewise.
21194         (libc_feholdsetround_ctx): Likewise.
21195         (libc_feholdsetround_noex_ctx): Likewise.
21197         [BZ #17748]
21198         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21199         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21200         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21201         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21202         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21203         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21204         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21205         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21206         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21207         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21208         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21209         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21210         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21211         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21212         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21213         libm_hidden_def.
21214         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21215         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21216         Likewise.
21217         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21218         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21219         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21220         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21221         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21222         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21223         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21224         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21225         __fesetenv instead of fesetenv.
21226         (libc_feresetround_noex_ctx): Likewise.
21227         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21228         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21229         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21230         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21231         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21232         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21233         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21234         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21235         (__feupdateenv): Likewise.
21236         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21237         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21238         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21239         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21241 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21243         [BZ #17806]
21244         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21245         addresses have been freed.
21247 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21249         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21250         and nservall.
21252 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21254         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21255         Clean up check_pf allocation pattern. addresses
21257 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21259         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21260         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21261         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21262         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21263         * nptl/pthread_join.c (pthread_join): Likewise.
21264         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21265         * sysdeps/posix/waitid.c (__waitid): Likewise.
21266         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21267         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21268         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21269         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21271         Likewise.
21272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21273         (__libc_pread64): Likewise.
21274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21275         (__libc_pwrite): Likewise.
21276         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21277         (__libc_pwrite64): Likewsie.
21278         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21279         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21280         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21281         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21282         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21283         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21284         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21286         Likewise.
21287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21288         (__libc_pread64): Likewise.
21289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21290         Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21292         (__libc_pwrite64): Likewise.
21293         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21294         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21295         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21296         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21297         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21298         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21299         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21300         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21301         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21302         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21303         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21304         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21305         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21306         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21307         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21308         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21309         Likewise.
21311 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21313         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21314         (CFLAGS-test-double.c): Likewise.
21315         (CFLAGS-test-ldouble.c): Likewise.
21316         (CPPFLAGS-test-ifloat.c): Likewise.
21317         (CPPFLAGS-test-idouble.c): Likewise.
21318         (CPPFLAGS-test-ildoubl.c): Likewise.
21319         (CFLAGS-test-test-fenv.c): Remove variable.
21320         (CFLAGS-test-misc.c): Likewise.
21322 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21324         [BZ #17797]
21325         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21326         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21327         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21328         CLOCKS_PER_SEC == 1000000.
21329         * time/clocktest.c (main): Replace %ld with %jd and cast to
21330         intmax_t.
21332 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21334         * sysdeps/generic/unwind-resume.h: New file.
21335         * sysdeps/gnu/unwind-resume.c: Include it.
21336         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21337         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21338         argument list.
21339         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21340         global rather than static.
21341         (_Unwind_Resume): Update user.
21342         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21343         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21344         rather than static.  Add __attribute__ ((cold)).
21345         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21346         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21347         * sysdeps/arm/arm-unwind-resume.S: New file.
21348         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21349         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21350         * sysdeps/arm/Makefile [$(subdir) = csu]
21351         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21352         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21353         Add rt-arm-unwind-resume.
21354         [$(subdir) = nptl]
21355         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21356         Add pt-arm-unwind-resume.
21357         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21358         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21360 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21362         [BZ #17748]
21363         * include/fenv.h (__feholdexcept): Declare.  Use
21364         libm_hidden_proto.
21365         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21366         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21367         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21368         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21369         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21370         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21371         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21372         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21373         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21374         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21375         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21376         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21377         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21378         (feholdexcept): Likewise.
21379         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21380         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21381         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21382         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21383         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21384         __feholdexcept instead of feholdexcept.
21385         (default_libc_feholdexcept_setround): Likewise.
21387 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21389         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21390         to avoid using stl/str to align destination.
21392 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21394         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21396 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21398         [BZ #17796]
21399         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21400         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21401         Define as weak alias not strong alias.
21403 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21405         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21406         bltzal with addiupc.
21407         (RTLD_START): Ditto.
21409 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21411         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21412         for __vdso_* functions in declarations.
21413         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21414         definitions.
21415         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21416         INTERNAL_VSYSCALL): Use struct return types to check for error.
21418         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21419         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21420         function with cast from llround().
21421         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21422         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21423         Define.
21425 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21427         [BZ #17793]
21428         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21429         Define as weak alias not strong alias.
21431         [BZ #17635]
21432         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21433         ...
21434         * ctype/ctype-extn.c: ... here.
21435         (__isblank_l): Move to ...
21436         * ctype/ctype-c99_l.c: ... here.  New file.
21437         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21438         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21439         Remove variable.
21440         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21441         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21442         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21443         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21444         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21446         [BZ #17777]
21447         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21448         (posix_fadvise64): Define as weak alias not strong alias.
21449         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21450         (posix_fallocate64): Likewise.
21451         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21452         Remove variable.
21453         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21454         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21455         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21456         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21457         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21459 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21461         [BZ #16191]
21462         * NEWS: Mention bug fix.
21463         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21464         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21465         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21466         (HOST_STACK_END_ADDR): Likewise.
21468 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21470         [BZ #17748]
21471         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21472         * math/fegetround.c (fegetround): Rename to __fegetround and
21473         define as weak alias of __fegetround.  Use libm_hidden_weak.
21474         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21475         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21476         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21477         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21478         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21479         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21480         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21481         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21482         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21483         Undefine after rather than before function definition; use
21484         parentheses around function name in definition.
21485         (__fegetround): Also undefine macro after function definition.
21486         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21487         __fegetround and define as weak alias of __fegetround.  Use
21488         libm_hidden_weak.  Do not undefine as macro.
21489         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21490         Likewise.
21491         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21492         __fegetround and define as weak alias of __fegetround.  Use
21493         libm_hidden_weak.
21494         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21495         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21496         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21497         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21498         __fegetround and define as weak alias of __fegetround.  Use
21499         libm_hidden_weak.
21500         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21501         __fegetround instead of fegetround.
21503         [BZ #17782]
21504         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21505         Condition macro definition on [__USE_MISC].
21507         [BZ #17781]
21508         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21509         (struct sigaction): Change type of sa_flags field to int.
21511         [BZ #17780]
21512         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21513         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21514         __glibc_reserved0.
21516         * nptl/version.c (banner): Use single year in copyright notice.
21518         * NEWS: Update copyright dates.
21519         * catgets/gencat.c (print_version): Likewise.
21520         * csu/version.c (banner): Likewise.
21521         * debug/catchsegv.sh: Likewise.
21522         * debug/pcprofiledump.c (print_version): Likewise.
21523         * debug/xtrace.sh (do_version): Likewise.
21524         * elf/ldconfig.c (print_version): Likewise.
21525         * elf/ldd.bash.in: Likewise.
21526         * elf/pldd.c (print_version): Likewise.
21527         * elf/sotruss.sh: Likewise.
21528         * elf/sprof.c (print_version): Likewise.
21529         * iconv/iconv_prog.c (print_version): Likewise.
21530         * iconv/iconvconfig.c (print_version): Likewise.
21531         * locale/programs/locale.c (print_version): Likewise.
21532         * locale/programs/localedef.c (print_version): Likewise.
21533         * login/programs/pt_chown.c (print_version): Likewise.
21534         * malloc/memusage.sh (do_version): Likewise.
21535         * malloc/memusagestat.c (print_version): Likewise.
21536         * malloc/mtrace.pl: Likewise.
21537         * manual/libc.texinfo: Likewise.
21538         * nptl/version.c (banner): Likewise.
21539         * nscd/nscd.c (print_version): Likewise.
21540         * nss/getent.c (print_version): Likewise.
21541         * nss/makedb.c (print_version): Likewise.
21542         * posix/getconf.c (main): Likewise.
21543         * scripts/test-installation.pl: Likewise.
21544         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21546 2015-01-02  Will Newton  <will.newton@linaro.org>
21548         * sysdeps/arm/armv7/configure: Removed.
21549         * sysdeps/arm/armv7/configure.ac: Likewise.
21551 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21553         * All files with FSF copyright notices: Update copyright dates
21554         using scripts/update-copyrights.
21555         * intl/plural.c: Regenerated.
21556         * locale/programs/charmap-kw.h: Likewise.
21557         * locale/programs/locfile-kw.h: Likewise.
21559 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21561         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21563 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21565         [BZ #17748]
21566         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21567         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21568         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21569         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21570         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21571         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21572         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21573         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21574         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21575         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21576         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21577         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21578         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21579         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21580         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21581         libm_hidden_def.
21582         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21583         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21584         Likewise.
21585         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21586         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21588         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21589         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21590         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21591         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21592         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21593         __fegetenv instead of fegetenv.
21594         (libc_feholdsetround_noex_ctx): Likewise.
21596 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21598         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21599         (Elf_MIPS_ABIFlags_v0): New structure.
21600         (EF_MIPS_FP64): Define.
21601         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21602         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21603         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21604         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21605         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21606         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21607         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21608         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21609         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21610         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21611         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21612         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21613         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21614         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21615         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21616         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21617         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21618         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21619         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21620         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21621         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21622         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21623         field.
21624         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21625         EF_MIPS_FP64.
21626         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21627         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21628         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21629         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21630         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21631         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21632         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21633         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21634         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21635         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21636         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21637         record the current FP ABI extension.
21638         (mips-mode-switch): Define to show if kernel headers support mode
21639         switching.
21640         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21641         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21642         supported SYSV ABI version to 3.
21643         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21644         feature.
21646 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21647             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21649         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21650         path.
21651         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21653 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21655         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21656         __fegetround and redefine to call __fegetround.  Remove condition
21657         on [!__NO_MATH_INLINES].
21658         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21659         function.
21660         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21661         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21662         Remove macro.
21663         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21664         instead of <fenv_libc.h>.
21665         (__llrintl): Call fegetround instead of __fegetround.
21666         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21667         instead of <fenv_libc.h>.
21668         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21669         (__lrintl): Call fegetround instead of __fegetround.
21670         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21671         instead of <fenv_libc.h>.
21672         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21673         (__rintl): Call fegetround instead of __fegetround.
21675 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21677         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21678         arrays.
21680 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21682         [BZ #17775]
21683         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21684         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21685         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21687 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21689         * sysdeps/i386/tls-macros.h: Include <features.h>.
21690         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21691         (TLS_IE): Likewise.
21692         (TLS_LD): Likewise.
21693         (TLS_GD): Likewise.
21694         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21695         define for GCC >= 5.0.
21697 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21699         * math/test-fenv.c (test_single_exception, set_single_exc,
21700         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21701         feexcp_mask_test, feenable_test, fe_single_test): Add
21702         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21703         case where they are not used.
21704         * math/libm-test.inc: Likewise.
21705         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21706         unused in the absence of FP rounding/exception support.
21707         * stdio-common/tst-printf-round.c: Likewise.
21708         * stdlib/tst-strtod-round.c: Likewise.
21709         * stdlib/tst-strtod-underflow.c: Likewise.
21711 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21713         [BZ #17723]
21714         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21715         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21716         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21717         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21718         libm_hidden_weak.
21719         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21720         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21721         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21722         libm_hidden_def.
21723         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21724         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21725         libm_hidden_weak.
21726         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21727         Likewise.
21728         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21729         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21730         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21731         libm_hidden_weak.
21732         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21733         libm_hidden_def.
21734         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21735         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21736         (__feraiseexcept): Likewise.
21737         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21738         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21739         libm_hidden_weak.
21740         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21741         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21742         libm_hidden_def.
21743         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21744         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21745         Use libm_hidden_def.
21746         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21747         libm_hidden_def.
21748         (feraiseexcept): Define as weak not strong alias.  Use
21749         libm_hidden_weak.
21750         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21751         New inline function.  Factored out of ...
21752         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21753         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21754         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21755         feraiseexcept.
21756         * math/w_acos.c (__acos): Likewise.
21757         * math/w_asin.c (__asin): Likewise.
21758         * math/w_ilogb.c (__ilogb): Likewise.
21759         * math/w_j0.c (y0): Likewise.
21760         * math/w_j1.c (y1): Likewise.
21761         * math/w_jn.c (yn): Likewise.
21762         * math/w_log.c (__log): Likewise.
21763         * math/w_log10.c (__log10): Likewise.
21764         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21765         * sysdeps/aarch64/fpu/math_private.h
21766         (libc_feupdateenv_test_aarch64): Likewise.
21767         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21768         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21769         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21770         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21771         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21772         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21773         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21774         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21775         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21776         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21778 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21780         [BZ #17732]
21781         * io/test-utime.c (main): Replace %ld with %jd and cast to
21782         intmax_t.
21783         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21784         * nptl/tst-mutex5.c: Include <stdint.h>.
21785         (do_test): Replace %ld with %jd and cast to intmax_t.
21786         * posix/tst-regex.c (run_test): Likewise.
21787         (run_test_backwards): Likewise.
21788         * rt/tst-clock.c: Include <stdint.h>.
21789         (clock_test): Replace %ld with %jd and cast to intmax_t.
21790         * rt/tst-cpuclock1.c: Include <stdint.h>.
21791         (do_test): Replace %lu with %ju and cast to uintmax_t.
21792         * rt/tst-cpuclock2.c: Include <stdint.h>.
21793         (do_test): Replace %lu with %ju and cast to uintmax_t.
21794         * rt/tst-mqueue1.c: Include <stdint.h>.
21795         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21796         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21797         intmax_t.
21798         * rt/tst-mqueue4.c (do_test): Likewise.
21799         * rt/tst-timer4.c: Include <stdint.h>.
21800         (check_ts): Replace %ld with %jd and cast to intmax_t.
21801         (do_test): Likewise.
21802         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21803         and cast to intmax_t.
21804         * sysdeps/pthread/tst-timer.c (main): Likewise.
21805         * time/clocktest.c (main): Likewise.
21806         * time/tst-posixtz.c (do_test): Likewise.
21807         * timezone/tst-timezone.c (main): Likewise.
21809 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21810             H.J. Lu  <hongjiu.lu@intel.com>
21812         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21813         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21816         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21817         version if bit_Fast_Unaligned_Load is set.
21818         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21819         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21820         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21821         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21822         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21823         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21824         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21825         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21826         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21827         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21828         to 4.
21829         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21830         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21831         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21832         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21834 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21836         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21837         instead of #if to avoid a Wundef warning.
21838         * stdlib/tst-limits.c (do_test): Likewise.
21840         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21841         parallel other exception macros.
21842         (fegetenv): Convert from macro to extern inline so that it applies
21843         retroactively to inline functions already seen by the compiler.
21844         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21846         * posix/Makefile (before-compile): Use $(objpfx) for
21847         posix-conf-vars-def.h.
21849 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21851         * posix/getconf.c (main): Use size_t for type of I.
21852         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21853         NSPEC.
21855         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21856         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21857         * posix/posix-envs.def: Likewise.
21858         * sysdeps/posix/sysconf.c: Likewise.
21859         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21860         (specs): Remove array.
21861         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21862         array.
21864         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21865         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21866         (__sysconf): Use CONF_IS_* macros.
21868         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21869         ($(objpfx)posix-conf-vars-def.h): New target.
21870         * posix/posix-conf-vars.list: New file.
21871         * posix/posix-conf-vars.h: New file.
21872         * posix/confstr.c: Include posix-conf-vars.h.
21873         (confstr): Use CONF_IS_* macros.
21874         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21875         CONF_IS_* macros.
21876         * scripts/gen-posix-conf-vars.awk: New file.
21878 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21880         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21881         fegetround): Add no-op macros to avoid linknamespace issues.
21883         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21884         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21886         * sysdeps/unix/sysv/linux/tile/sysdep.h
21887         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21888         assembly-specific section to avoid a redefinition warning.
21890         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21891         long before casting to pointer to avoid a cast warning.
21893 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21895         * sysdeps/tile/tilegx/Implies: New file.
21897 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21899         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21901 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21903         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21905 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21907         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21908         not define.
21909         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21910         <kernel-features.h>.
21911         (__utimes) [__NR_utimes]: Make code unconditional.
21912         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21913         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21914         (__ASSUME_UTIMES): Do not undefine.
21915         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21916         (__ASSUME_UTIMES): Likewise.
21917         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21918         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21919         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21920         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21922 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21924         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21926 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21928         [BZ #17747]
21929         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21930         alias to weak alias for j0l, y0l.
21931         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21932         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21934         [BZ #17746]
21935         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21936         conversion.
21938 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21940         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21941         to zero if not already defined.
21943 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #17724]
21946         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21947         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21948         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21949         (char *) casts added.
21950         * sysdeps/ieee754/k_standardf.c: New file.
21951         * sysdeps/ieee754/k_standardl.c: Likewise.
21952         * math/Makefile (libm-support): Remove k_standard.
21953         (libm-calls): Add k_standard.
21955 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21957         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21958         Optimize to avoid an unnecessary FPCR read.
21960 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21962         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21963         Optimize to reduce FPCR/FPSR accesses.
21965 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21967         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21968         Call libc_fetestexcept_aarch64.
21970 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21972         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21973         Call libc_fesetround_aarch64.
21975 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #17733]
21978         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21979         (__bind): Do not define as weak alias.
21980         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21981         define.
21982         (__getsockname): Do not define as weak alias.
21984 2014-12-22  Will Newton  <will.newton@linaro.org>
21986         * manual/install.texi: Document that we require bison 2.7
21987         or above.
21988         * INSTALL: Regenerate.
21989         * configure.ac: Use AC_CHECK_PROG_VER instead of
21990         AC_PATH_PROG when checking for bison and check for
21991         version 2.7 or above.
21992         * configure: Regenerate.
21994 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21996         [BZ #17745]
21997         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21998         * sysdeps/tile/ffsll.c (ffsll): To here.
22000         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22002 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22004         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22005         if not defined.
22006         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22007         definition.
22008         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22009         hidden ___tls_get_addr.
22010         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22011         hidden __tls_get_addr.
22012         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22013         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22014         Likewise.
22016 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22018         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22019         _dl_init call.
22021 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22023         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22024         from "call _dl_init@PLT".
22025         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22027 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22029         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22030         guarantees.
22032 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22034         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22036 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22038         [BZ #17744]
22039         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22040         strnlen.
22042 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22044         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22045         of multu on MIPSr6.
22046         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22047         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22048         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22049         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22050         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22052 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22054         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22055         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22056         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22057         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22058         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22059         mips32r6/mips64r6.
22060         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22062 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22064         * string/strncat.c (STRNCAT): Simplify implementation.
22066 2014-12-19  David S. Miller  <davem@davemloft.net>
22068         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22069         access the quad as both a long double and as a series of 4 words.
22071         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22072         link_map->l_info array access.
22074 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22076         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22078         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22079         * math/atest-exp2.c (TIMEOUT): Likewise.
22080         * math/atest-sincos.c (TIMEOUT): Likewise.
22082 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22084         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22085         -Wno-error with -fno-builtin-lround.
22087 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22089         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22090         Contains futex constants and functions moved over from ...
22091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22092         <lowlevellock-futex.h>.
22093         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22094         (lll_timedwait_tid): Add comments and parentheses around macro
22095         arguments.
22097 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22100         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22101         (__lll_private_flag): Remove.
22102         (lll_futex_wait): Likewise.
22103         (lll_futex_timed_wait): Likewise.
22104         (lll_futex_wake): Likewise.
22105         (lll_futex_requeue): Likewise.
22106         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22107         (__lll_timedwait_tid): Spell out argument names.
22108         (lll_timedwait_tid): Add comments and parentheses around macro
22109         arguments.
22110         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22111         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22113 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22115         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22116         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22117         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22118         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22119         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22120         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22121         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22122         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22123         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22124         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22125         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22126         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22127         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22128         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22129         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22130         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22131         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22132         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22133         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22135 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22137         * sysdeps/x86_64/x32/Makefile: New file.
22139 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22141         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22142         1L with (mp_limb_t) 1.
22144 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22146         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22147         * nptl/libc_pthread_init.c: ... here.
22148         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22149         * nptl/register-atfork.c: ... here.
22151         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22152         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22153         Use assert_perror to check its return value.
22154         (__gai_create_helper_thread): Likewise.
22156         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22158         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22160 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22162         [BZ #17725]
22163         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22164         __profil_counter.
22165         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22166         Likewise.
22167         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22168         Likewise.
22169         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22172         (profil_counter): Likewise.
22173         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22174         (profil_counter): Likewise.
22175         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22176         Likewise.
22177         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22178         Likewise.
22179         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22180         (profil_counter): Likewise.
22181         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22182         Likewise.
22183         [!__profil_counter] (profil_counter): Define as weak alias of
22184         __profil_counter.
22185         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22186         (profil_counter): Rename to __profil_counter.
22187         [!__profil_counter] (profil_counter): Define as weak alias of
22188         __profil_counter.
22189         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22190         (profil_counter): Rename to __profil_counter.
22191         [!__profil_counter] (profil_counter): Define as weak alias of
22192         __profil_counter.
22193         * sysdeps/posix/profil.c: Update comment referring to
22194         profil_counter.
22195         (__profil): Use __profil_counter instead of profil_counter.
22196         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22197         __profil_counter.  Use __profil_counter_ushort and
22198         __profil_counter_uint in definitions.
22199         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22200         instead of profil_counter_uint and profil_counter_ushort.
22202         [BZ #17722]
22203         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22204         define as weak alias of __inet_makeaddr.
22205         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22206         as weak alias of __inet_addr.
22207         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22208         as weak alias of __inet_pton.  Use libc_hidden_weak.
22209         * include/arpa/inet.h (__inet_pton): Declare.  Use
22210         libc_hidden_proto.
22211         (inet_makeaddr): Don't use libc_hidden_proto.
22212         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22213         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22214         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22215         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22216         Remove variable.
22217         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22218         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22220 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22222         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22224 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22226         * stdio-common/bug-vfprintf-nargs.c (do_test):
22227         Cast value to intptr_t to avoid format warning
22228         for usage with PRIdPTR printing macro.
22230 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22232         * libio/tst-widetext.c (do_test):
22233         Use format type %td instead of %Zd for ptrdiff_t
22234         in order to avoid format warning.
22236 2014-12-17  Andreas Schwab  <schwab@suse.de>
22238         * nscd/mem.c (gc): Add size_t cast to match printf format.
22240 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22242         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22243         (init): Apply PTR_MANGLE to pointers before storing them.
22244         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22245         before using them.
22247 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22249         [BZ #17719]
22250         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22251         define as weak alias of __memrchr.
22252         (__memrchr): Do not define as strong alias of memrchr.
22253         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22254         Remove variable.
22255         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22256         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22257         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22259         [BZ #17717]
22260         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22261         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22262         (if_indextoname): Rename to __if_indextoname and define as weak
22263         alias of __if_indextoname.  Use libc_hidden_weak.
22264         (if_freenameindex): Rename to __if_freenameindex and define as
22265         weak alias of __if_freenameindex.
22266         (if_nameindex): Rename to __if_nameindex and define as weak alias
22267         of __if_nameindex.
22268         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22269         __if_nametoindex and define as weak alias of __if_nametoindex.
22270         Use libc_hidden_weak.
22271         (if_freenameindex): Rename to __if_freenameindex and define as
22272         weak alias of __if_freenameindex.
22273         (if_nameindex): Rename to __if_nameindex and define as weak alias
22274         of __if_nameindex.
22275         (if_indextoname): Rename to __if_indextoname and define as weak
22276         alias of __if_indextoname.  Use libc_hidden_weak.
22277         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22278         __if_nametoindex and define as weak alias of __if_nametoindex.
22279         Use libc_hidden_weak.
22280         (if_freenameindex): Rename to __if_freenameindex and define as
22281         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22282         (if_nameindex_netlink): Use __if_freenameindex instead of
22283         if_freenameindex.
22284         (if_nameindex): Rename to __if_nameindex and define as weak alias
22285         of __if_nameindex.  Use libc_hidden_weak.
22286         (if_indextoname): Rename to __if_indextoname and define as weak
22287         alias of __if_indextoname.  Use libc_hidden_weak.
22288         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22289         libc_hidden_proto.
22290         [!_ISOMAC] (__if_freenameindex): Likewise.
22291         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22292         if_nametoindex.
22293         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22294         variable.
22295         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22296         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22297         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22298         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22299         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22300         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22301         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22303         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22304         Remove variable.
22305         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22306         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22308 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22310         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22311         subscript above bounds'
22313         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22314         bounds.
22316 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22318         * libio/tst-fopenloc.c: Use test-skeleton.c.
22320         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22321         (entry): Rename to ITEM.
22322         (do_test, comp): Adjust.
22324         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22326 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22328         * string/tester.c: Include <libc-internal.h>.
22329         (test_memset): Ignore -Wmemset-transposed-args.
22331 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22333         * misc/tst-mntent2.c (do_test): Fix warning.
22335 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22337         * elf/tst-unique4lib.cc(a): Mark as used.
22339 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22341         [BZ #17630]
22342         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22343         names.
22345 2014-12-16  Allan McRae  <allan@archlinux.org>
22347         * stdio-common/Makefile (tests): Re-add bug26.
22349 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22351         [BZ #17657]
22352         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22353         static array.
22355 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22357         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22358         (__lll_lock_wait): Likewise.
22359         (__lll_timedlock_wait): Likewise.
22360         (__lll_timedwait_tid): Likewise.
22361         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22362         (__lll_robust_timedlock_wait): Likewise.
22363         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22364         (lll_cond_trylock): Likewise.
22365         (__lll_lock): Likewise.
22366         (__lll_robust_lock): Likewise.
22367         (__lll_cond_lock): Likewise.
22368         (lll_robust_cond_lock): Likewise.
22369         (__lll_timedlock): Likewise.
22370         (__lll_robust_timedlock): Likewise.
22371         (__lll_unlock): Likewise.
22372         (__lll_robust_unlock): Likewise.
22373         (lll_wait_tid): Likewise.
22374         (lll_timedwait_tid): Likewise.
22376 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22378         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22380 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22382         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22384 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22386         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22387         * stdio-common/tst-sprintf.c: Likewise.
22389 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22391         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22393 2014-12-15  Jeff Law  <law@redhat.com>
22395         [BZ #16617]
22396         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22397         on the heap.  (CVE-2012-3406)
22398         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22399         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22400         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22402 2014-12-15  Will Newton  <will.newton@linaro.org>
22404         * manual/install.texi: Bump required version of texinfo
22405         to 4.7 from 4.5.
22406         * INSTALL: Regenerated.
22407         * configure.ac: Check for makeinfo version 4.7 and above.
22408         * configure: Regenerated.
22410 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22412         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22413         PREFIX, string constant to insert between directory and name.
22414         * sysdeps/posix/shm_open.c: Update caller.
22415         * sysdeps/posix/shm_unlink.c: Likewise.
22416         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22417         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22418         (SEM_SHM_PREFIX): New macro.
22419         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22420         [$(have-thread-library) = no].
22421         * nptl/Makefile (libpthread-routines): Add shm-directory.
22422         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22423         * sysdeps/nptl/shm-directory.h: New file.
22424         * sysdeps/posix/shm-directory.c
22425         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22426         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22427         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22428         INTERNAL_SYSCALL.
22429         (__where_is_shmfs): Function removed.
22430         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22431         Variables removed.
22432         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22433         Use SHM_GET_NAME.
22434         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22436         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22437         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22438         unconditional for use inside libpthread.
22439         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22441 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22443         * nptl/pthread_getaffinity.c: New file.
22444         * nptl/pthread_setaffinity.c: New file.
22445         * nptl/pthread_getname.c: New file.
22446         * nptl/pthread_setname.c: New file.
22448         * nptl/pthread_create.c (START_THREAD_DEFN)
22449         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22451 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22452             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22454         * resolv/res_send.c (send_vc): Disable warning resplen may
22455         be used uninitialized.
22457 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22459         * nptl/tst-mutex6.c
22460         (ATTR_NULL): New define checks ATTR against NULL.
22461         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22462         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22464 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22466         [BZ #17581]
22467         * malloc/hooks.c
22468         (mem2mem_check): Revert my previous change.
22469         (malloc_check_get_size): Revert my previous change.
22470         (mem2chunk_check): Revert my previous change.
22472 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22474         * sysdeps/posix/shm-directory.c: New file.
22475         * sysdeps/posix/shm-directory.h: New file.
22476         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22477         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22478         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22479         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22480         Transmute EPERM to EACCES.
22481         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22482         from ...
22483         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22484         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22486 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22488         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22489         pointer and cast to uintptr_t.
22490         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22491         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22492         Add cast to avoid warning.
22493         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22495 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22497         * nptl/semaphore.h: Move to ...
22498         * sysdeps/pthread/semaphore.h: ... here.
22499         * Makefile (installed-headers): Change nptl/semaphore.h to
22500         sysdeps/pthread/semaphore.h.
22502 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22504         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22505         generated error format strings.
22507         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22508         -Wformat-extra-args warnings for scanf formats.
22509         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22510         test of zero-length format (duh).
22511         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22512         corner-case scanf format test.
22513         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22514         generated fprintf format string.
22515         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22516         corner-case sprintf format tests.
22517         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22518         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22519         -Wformat-extra-args warnings throughout.
22520         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22521         (CFLAGS-scanf4.c): Likewise.
22522         (CFLAGS-scanf7.c): Likewise.
22523         (CFLAGS-tst-sprintf.c): Likewise.
22524         (CFLAGS-tst-printf.c): Likewise.
22525         (CFLAGS-tst-printfsz.c): Likewise.
22527 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22529         * include/cpio.h: New file.
22530         * include/fmtmsg.h: Likewise.
22532         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22533         corresponding format argument to size_t.
22534         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22535         arguments.
22536         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22537         corresponding format argument to size_t.
22538         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22539         arguments.
22540         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22541         corresponding format argument to size_t.
22542         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22543         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22544         (CFLAGS-tst-mbswcs2.c): Likewise.
22545         (CFLAGS-tst-mbswcs3.c): Likewise.
22546         (CFLAGS-tst-mbswcs4.c): Likewise.
22547         (CFLAGS-tst-mbswcs5.c): Likewise.
22548         (CFLAGS-tst-trans.c): Likewise.
22550 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22552         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22553         rather than assuming they won't contain any '%'s.
22555 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22557         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22558         inhibit_loop_to_libcall to avoid recursive calls.
22559         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22560         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22562 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22564         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22565         prototype.
22567 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22569         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22570         integer value instead of boolean.
22572 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22574         * malloc/malloc.c: Fix powerof2 check.
22576 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22578         * locale/programs/locfile.h (maybe_swap_uint32):
22579         Remove inline and add unused attribute.
22581 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22583         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22584         Truncating assembler expression to a .long expression.
22586 2014-12-11  Andreas Schwab  <schwab@suse.de>
22588         * elf/rtld.c (struct map_args): Constify str member.
22589         (do_preload): Constify fname argument.
22591 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22593         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22594         constants definition.
22596 2014-12-11  Andreas Schwab  <schwab@suse.de>
22598         [BZ #16657]
22599         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22600         FORCE_ELISION instead of DO_ELISION.
22601         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22602         Remove.
22603         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22604         Likewise.
22606         * iconvdata/gconv-modules: Remove duplicate entry.
22608 2014-12-11  Will Newton  <will.newton@linaro.org>
22610         Merge gettext 0.19.3 into intl/.
22612         This involves a number of cosmetic changes to comments
22613         and ANSI function definitions and prototypes throughout
22614         all the files. The gettext copyright header is used but
22615         with the date ranges taken from the glibc copy.
22617         * NEWS: Add gettext merge to 2.21.
22618         * intl/bindtextdom.c: Switch to gettext copyright.
22619         Use ANSI definitions and prototypes.
22620         Use gl_* locking primitives rather than __libc_* ones.
22621         Use __builtin_expect rather than __glibc_likely/unlikely.
22622         * intl/dcgettext.c: Switch to gettext copyright.
22623         Use ANSI definitions and prototypes.
22624         * intl/dcigettext.c: Switch to gettext copyright.
22625         Use ANSI definitions and prototypes.
22626         (INTDIV0_RAISES_SIGFPE): New define.
22627         Use gl_* locking primitives rather than __libc_* ones.
22628         Include eval-plural.h instead of plural-eval.c.
22629         Use __builtin_expect rather than __glibc_likely/unlikely.
22630         * intl/dcngettext.c: Switch to gettext copyright.
22631         Use ANSI definitions and prototypes.
22632         * intl/dgettext.c: Likewise.
22633         * intl/dngettext.c: Likewise.
22634         * intl/plural-eval.c: Renamed to...
22635         * intl/eval-plural.h: ...this.
22636         * intl/explodename.c: Switch to gettext copyright.
22637         Use ANSI definitions and prototypes.
22638         (_nl_explode_name): Use strchr instead of __rawmemchr.
22639         * intl/finddomain.c: Switch to gettext copyright.
22640         Use ANSI definitions and prototypes.
22641         Use gl_* locking primitives rather than __libc_* ones.
22642         (_nl_find_domain): Use malloc rather than alloca for
22643         allocation of temporary locale name.
22644         * intl/gettext.c: Switch to gettext copyright.
22645         Use ANSI definitions and prototypes.
22646         * intl/gettextP.h: Switch to gettext copyright.
22647         Use ANSI definitions and prototypes.
22648         Use gl_* locking primitives rather than __libc_* ones.
22649         * intl/gmo.h: Switch to gettext copyright.
22650         (struct sysdep_string): Move struct segment_pair outside of
22651         struct definition.
22652         * intl/hash-string.c: Use ANSI definitions and prototypes.
22653         * intl/hash-string.h: Switch to gettext copyright.
22654         Use ANSI definitions and prototypes.
22655         * intl/l10nflist.c: Switch to gettext copyright.
22656         Use ANSI definitions and prototypes.
22657         (_nl_normalize_codeset): Avoid integer overflow.
22658         * intl/loadinfo.h: Switch to gettext copyright.
22659         Use ANSI definitions and prototypes.
22660         (LIBINTL_DLL_EXPORTED): New define.
22661         (PATH_SEPARATOR): New define.
22662         * intl/loadmsgcat.c: Switch to gettext copyright.
22663         * intl/localealias.c: Switch to gettext copyright.
22664         Use ANSI definitions and prototypes.
22665         (_nl_expand_alias): Use PATH_SEPARATOR.
22666         * intl/ngettext.c: Switch to gettext copyright.
22667         Use ANSI definitions and prototypes.
22668         * intl/plural-exp.c: Likewise.
22669         * intl/plural-exp.h: Switch to gettext copyright.
22670         Use ANSI definitions and prototypes.
22671         (struct expression): Move definition of enum operator outside
22672         of struct definition.
22673         * intl/plural.c: Regenerate.
22674         * intl/plural.y: Switch to gettext copyright.
22675         Use ANSI definitions and prototypes.
22676         Port to bison 3.0.
22677         * intl/textdomain.c: Switch to gettext copyright.
22678         Use ANSI definitions and prototypes.
22679         Use gl_* locking primitives rather than __libc_* ones.
22681 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22683         * debug/warning-nop.c: Add used atrribute.
22685 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22687         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22689         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22690         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22691         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22693 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22694             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22696         [BZ #17634]
22697         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22698         Undefine after defining function.  Define as weak alias of
22699         __wcschr.  Use libc_hidden_weak.
22700         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22701         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22702         (libc_hidden_def): Also define __GI___wcschr alias.
22703         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22704         __wcschr and define as weak alias of __wcschr.
22705         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22706         __wcschr.
22707         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22708         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22709         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22710         libc_hidden_weak.  Do not use libc_hidden_def.
22711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22712         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22713         __GI___wcschr alias.
22714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22715         [IS_IN (libc)] (wcschr): Define as macro expanding to
22716         __redirect_wcschr.
22717         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22718         [IS_IN (libc)] (__wcschr_power6): Likewise.
22719         [IS_IN (libc)] (__wcschr_power7): Likewise.
22720         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22721         instead of wcschr.
22722         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22723         __libc_wcschr.
22724         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22725         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22726         __wcschr and define as weak alias of __wcschr.  Use
22727         libc_hidden_builtin_def.
22728         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22729         as weak alias of __wcschr.  Use libc_hidden_weak.
22730         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22731         wcschr.
22732         * time/era.c (_nl_init_era_entries): Likewise.
22733         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22734         variable.
22735         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22736         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22738 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22740         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22741         format for long int variable.
22743 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22745         [BZ #10672]
22746         * manual/search.texi: (Array Sort Function): Remove claim how to make
22747         qsort stable.
22749 2014-12-10  Andreas Schwab  <schwab@suse.de>
22751         [BZ #12847]
22752         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22753         user-controlled locks.
22755 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22757         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22758         register.
22760 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22762         * configure.ac (--disable-werror): New configure option.
22763         (enable_werror): New AC_SUBST.
22764         * configure: Regenerated.
22765         * config.make.in (enable-werror): New variable.
22766         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22767         -Wno-error=undef.
22768         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22769         * manual/install.texi (Configuring and compiling): Document
22770         --disable-werror.
22771         * INSTALL: Regenerated.
22772         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22773         (CFLAGS-tst-chk2.c): Likewise.
22774         (CFLAGS-tst-chk3.c): Likewise.
22775         (CFLAGS-tst-chk4.cc): Likewise.
22776         (CFLAGS-tst-chk5.cc): Likewise.
22777         (CFLAGS-tst-chk6.cc): Likewise.
22778         (CFLAGS-tst-lfschk1.c): Likewise.
22779         (CFLAGS-tst-lfschk2.c): Likewise.
22780         (CFLAGS-tst-lfschk3.c): Likewise.
22781         (CFLAGS-tst-lfschk4.cc): Likewise.
22782         (CFLAGS-tst-lfschk5.cc): Likewise.
22783         (CFLAGS-tst-lfschk6.cc): Likewise.
22785         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22786         (main): Disable -Wdeprecated-declarations around calls to
22787         register_printf_function.
22789         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22790         (do_test): Disable -Wdiv-by-zero around some calls to
22791         fwrite_unlocked and fread_unlocked.
22793         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22794         (DIAG_POP_NEEDS_COMMENT): Likewise.
22795         (_DIAG_STR1): Likewise.
22796         (_DIAG_STR): Likewise.
22797         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22798         * stdio-common/bug21.c: Include <libc-internal.h>.
22799         (do_test): Disable -Wformat around call to sscanf.
22800         * stdio-common/scanf14.c: Include <libc-internal.h>.
22801         (main): Disable -Wformat around some calls to scanf functions.
22803 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22805         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22807 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22809         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22810         stack variable alignment.
22812 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22814         [BZ #17682]
22815         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22816         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22817         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22818         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22819         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22820         __getrlimit instead of getrlimit.
22821         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22822         __gettimeofday instead of gettimeofday.
22823         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22824         Likewise.
22825         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22826         Likewise.
22827         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22828         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22829         Remove variable.
22830         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22831         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22833 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22835         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22836         for wide-character tests.
22838 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22840         * io/openat64.c: #include <libc-internal.h>
22841         (__openat64): Prototypify.  Use ignore_value on MODE.
22842         * io/openat.c: Likewise.
22843         * misc/reboot.c: #include <libc-internal.h>
22844         (reboot): Prototypify.  Use ignore_value on HOWTO.
22845         * misc/ptrace.c: #include <libc-internal.h>
22846         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22848 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22850         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22851         XPG4, UNIX98 and XOPEN2K.
22852         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22853         Remove variable.
22854         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22856 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22858         * libio/fileops.c: Use ISO C style for function definitions.
22859         * libio/iofopen.c: Likewise.
22860         * libio/wfileops.c: Likewise.
22862         [BZ #17653]
22863         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22864         offset on EOF.
22865         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22866         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22867         (fgets_func): Function pointer to fgets and fgetws.
22868         (do_ftell_test): Add test to verify ftell value after read
22869         EOF.
22870         (do_test): Set fgets_func.
22872         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22873         O_TRUNC flag for w and w+ modes.
22874         (do_rewind_test): Likewise.
22875         (do_ftell_test): Likewise.
22876         (do_write_test): Likewise.
22878         [BZ #17647]
22879         * libio/fileops.c (do_ftell): Seek only when there are
22880         unflushed writes.
22881         * libio/wfileops.c (do_ftell_wide): Likewise.
22882         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22883         test case.
22884         (do_one_test): Call it.
22886 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22888         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22889         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22890         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22891         Remove variable.
22892         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22893         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22894         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22896 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22898         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22899         Remove variable.
22900         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22902         [BZ #17668]
22903         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22904         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22905         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22906         __freeifaddrs.  Use libc_hidden_weak.
22907         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22908         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22909         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22910         __freeifaddrs.  Use libc_hidden_weak.
22911         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22912         __getifaddrs and define as weak alias of __getifaddrs.  Use
22913         libc_hidden_weak.
22914         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22915         __freeifaddrs.  Use libc_hidden_weak.
22916         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22917         Remove variable.
22918         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22919         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22921 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22923         [BZ #17601]
22924         * sysdeps/mips/start.S (__start): Use indirect jump to call
22925         __libc_start_main.
22927 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22929         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22931         * nptl/tst-mutex1.c: Include <stdbool.h>.
22932         [!ATTR] (ATTR_NULL): New macro.
22933         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22934         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22935         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22937         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22938         to char *.
22940         [BZ #17665]
22941         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22942         Change conditional to [__USE_MISC].
22944         [BZ #17664]
22945         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22946         fgets_unlocked.
22947         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22948         __fgets_unlocked.
22949         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22950         fgets_unlocked.
22951         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22952         Remove variable.
22953         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22954         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22955         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22956         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22957         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22958         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22959         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22960         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22961         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22963         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22965 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22968         Remove strpbrk objects.
22969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22970         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22971         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22972         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22973         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22974         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22976         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22977         Remove strcspn objects.
22978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22979         (__libc_ifunc_impl_list): Remove strcspn implementation.
22980         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22981         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22982         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22983         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22985         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22986         Remove strspn objetcs.
22987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22988         (__libc_ifunc_impl_list): Remove strspn implementation.
22989         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22990         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22991         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22992         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22994 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22996         [BZ #17581]
22997         * malloc/hooks.c
22998         (mem2mem_check): Add a terminator to the chain of checking blocks.
22999         (malloc_check_get_size): Use it here.
23000         (mem2chunk_check): Ditto.
23002 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23004         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23005         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23007 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23009         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23011         * nptl/nptl-init.c: Include libc-internal.h.
23012         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23014         * elf/ldconfig.c (search_dir): Expand comment.
23016 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23018         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23019         variable.
23020         (linknamespace-symlist-stdlibs-tests): Likewise.
23021         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23022         instead of $(objpfx)symlist-stdlibs.
23023         (linknamespace-libs-isoc): New variable.
23024         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23025         (linknamespace-libs-ISO): New variable.
23026         (linknamespace-libs-ISO99): Likewise.
23027         (linknamespace-libs-ISO11): Likewise.
23028         (linknamespace-libs-XPG3): Likewise.
23029         (linknamespace-libs-XPG4): Likewise.
23030         (linknamespace-libs-POSIX): Likewise.
23031         (linknamespace-libs-UNIX98): Likewise.
23032         (linknamespace-libs-XOPEN2K): Likewise.
23033         (linknamespace-libs-POSIX2008): Likewise.
23034         (linknamespace-libs-XOPEN2K8): Likewise.
23035         ($(objpfx)symlist-stdlibs): Replace by
23036         $(linknamespace-symlist-stdlibs-tests).  Use
23037         $(linknamespace-libs-$*) as set of libraries.
23038         ($(linknamespace-header-tests)): Update dependencies.  Use
23039         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23040         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23041         * conform/linknamespace.pl: Remove comment about considering
23042         definitions of symbols from irrelevant libraries.
23044 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23046         [BZ #13862]
23047         * elf/dl-tls.c: Include <atomic.h>.
23048         (oom): Remove #ifdef SHARED/#endif.
23049         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23050         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23051         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23052         big enough.
23053         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23054         * nptl/Makefile (tests): Add tst-stack4.
23055         (modules-names): Add tst-stack4mod.
23056         ($(objpfx)tst-stack4): New.
23057         (tst-stack4mod.sos): Likewise.
23058         ($(objpfx)tst-stack4.out): Likewise.
23059         ($(tst-stack4mod.sos)): Likewise.
23060         (clean): Likewise.
23061         * nptl/tst-stack4.c: New file.
23062         * nptl/tst-stack4mod.c: Likewise.
23064 2014-11-27  J. Brown  <jb999@gmx.de>
23066         * sysdeps/x86/bits/string.h: Add recent CPUs.
23068 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23070         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23071         sigblock.
23073         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23074         feof.
23076         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23077         variable.
23079 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23081         * nscd/connections.c: Include libc-internal.h because of macro
23082         usage ignore_value.
23084 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23086         * string/bits/string3.h (__warn_memset_zero_len): Don't
23087         declare for gcc newer than 5.0.
23088         (memset): Don't test for zero-length __LEN for gcc newer than
23089         5.0.
23091 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23093         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23094         size_t for %zu format.
23096         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23097         difference, not %ju.
23099 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23101         * include/libc-internal.h (ignore_value): New macro.
23102         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23103         with ignore_value.
23105         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23106         definition.
23108         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23109         pthread_cleanup_push to void *.
23111         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23112         Undefine.
23114         [BZ #16619]
23115         [BZ #16740]
23116         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23117         instead of 1L << 52.
23119         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23120         * libio/bug-rewind2.c (do_test): Likewise.
23122         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23123         * debug/test-strcpy_chk-ifunc.c: Likewise.
23124         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23125         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23126         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23127         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23128         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23129         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23130         * Rules [$(multi-arch) = no] (tests): Do not filter out
23131         $(tests-ifunc).
23132         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23133         * debug/Makefile (tests-ifunc): Remove variable.
23134         (tests): Do not add $(tests-ifunc).
23135         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23136         (tests): Do not add $(tests-ifunc).
23137         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23138         [TEST_IFUNC]: Remove conditionals.
23139         * string/test-string.h (TEST_IFUNC): Remove macro.
23140         [TEST_IFUNC]: Remove conditionals.
23142         * string/test-strchr.c [!WIDE] (L): New macro.
23143         [WIDE] (L): Likewise.
23144         (check1): Use CHAR instead of char.  Use L on string and character
23145         constants.
23147 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23149         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23150         tests.
23151         * sysdeps/powerpc/bits/atomic.h
23152         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23153         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23154         (atomic_exchange_and_add_acq): Likewise.
23155         (atomic_exchange_and_add_rel): Likewise.
23156         * sysdeps/powerpc/powerpc32/bits/atomic.h
23157         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23158         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23159         * sysdeps/powerpc/powerpc64/bits/atomic.h
23160         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23161         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23163 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23165         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23166         Change synchronization of __sched_fifo_min_prio and
23167         __sched_fifo_max_prio.
23168         * nptl/pthread_mutexattr_getprioceiling.c
23169         (pthread_mutexattr_getprioceiling): Likewise.
23170         * nptl/pthread_mutexattr_setprioceiling.c
23171         (pthread_mutexattr_setprioceiling): Likewise.
23172         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23173         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23174         Likewise.
23176 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23178         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23179         void.
23181 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23183         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23184         third argument const.
23186 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23188         fnmatch: work around GCC compiler warning bug with uninit var
23189         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23190         This works around a bug with x86-64 GCC 4.9.2 and earlier
23191         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23192         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23193         used uninitialized in this function [-Wmaybe-uninitialized]".
23195 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23197         * posix/bug-regex31.c (main): Return RES not 0.
23199 2014-11-25  Anton Blanchard <anton@samba.org>
23201         * sysdeps/powerpc/bits/atomic.h
23202         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23204 2014-11-24  Sterling Augustine  <saugustine@google.com>
23206         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23208 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23210         [BZ #17608]
23211         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23213 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23215         [BZ #17633]
23216         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23217         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23218         variable.
23219         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23220         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23222 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23224         * string/strncpy.c (strncpy): Improve performance by using memset.
23226 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23228         * string/strcpy.c (strcpy):
23229         Improve performance by using strlen and memcpy.
23231 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23233         * string/strcoll_l.c (get_next_seq): __always_inline.
23234         * string/strcoll_l.c (do_compare): __always_inline.
23236 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23238         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23239         defined.
23240         * include/mqueue.h: Likewise.
23241         * include/stdlib.h: Likewise.
23243         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23244         (get_null_defines): Adjust.
23245         * sunrpc/Makefile: Adjust comment.
23246         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23247         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23248         (CFLAGS-interp.c): Likewise.
23249         (CFLAGS-ldconfig.c): Likewise.
23250         (CPPFLAGS-.os): Likewise.
23251         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23252         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23253         * extra-modules.mk (extra-modules.mk): Likewise.
23254         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23255         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23256         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23257         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23258         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23259         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23260         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23261         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23262         * iconvdata/Makefile (CPPFLAGS): Likewise.
23263         (cpp-srcs-left): Add libof for all iconvdata routines.
23264         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23265         * include/assert.h: Likewise.
23266         * include/ctype.h: Likewise.
23267         * include/errno.h: Likewise.
23268         * include/libc-symbols.h: Likewise.
23269         * include/math.h: Likewise.
23270         * include/netdb.h: Likewise.
23271         * include/resolv.h: Likewise.
23272         * include/stdio.h: Likewise.
23273         * include/stdlib.h: Likewise.
23274         * include/string.h: Likewise.
23275         * include/sys/stat.h: Likewise.
23276         * include/wctype.h: Likewise.
23277         * intl/l10nflist.c: Likewise.
23278         * libidn/idn-stub.c: Likewise.
23279         * libio/libioP.h: Likewise.
23280         * nptl/libc_multiple_threads.c: Likewise.
23281         * nptl/pthreadP.h: Likewise.
23282         * posix/regex_internal.h: Likewise.
23283         * resolv/res_hconf.c: Likewise.
23284         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23285         * sysdeps/arm/memmove.S: Likewise.
23286         * sysdeps/arm/sysdep.h: Likewise.
23287         * sysdeps/generic/_itoa.h: Likewise.
23288         * sysdeps/generic/symbol-hacks.h: Likewise.
23289         * sysdeps/gnu/errlist.awk: Likewise.
23290         * sysdeps/gnu/errlist.c: Likewise.
23291         * sysdeps/i386/i586/memcpy.S: Likewise.
23292         * sysdeps/i386/i586/memset.S: Likewise.
23293         * sysdeps/i386/i686/memcpy.S: Likewise.
23294         * sysdeps/i386/i686/memmove.S: Likewise.
23295         * sysdeps/i386/i686/mempcpy.S: Likewise.
23296         * sysdeps/i386/i686/memset.S: Likewise.
23297         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23298         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23299         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23300         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23301         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23302         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23303         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23304         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23305         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23307         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23308         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23309         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23310         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23311         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23312         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23313         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23314         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23315         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23316         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23317         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23318         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23319         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23320         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23321         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23322         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23323         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23324         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23325         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23326         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23327         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23328         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23330         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23331         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23333         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23334         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23335         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23336         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23337         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23338         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23339         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23340         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23341         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23342         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23343         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23344         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23345         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23346         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23347         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23348         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23349         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23350         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23351         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23352         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23353         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23354         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23355         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23356         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23357         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23358         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23359         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23360         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23361         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23362         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23363         * sysdeps/posix/closedir.c: Likewise.
23364         * sysdeps/posix/opendir.c: Likewise.
23365         * sysdeps/posix/readdir.c: Likewise.
23366         * sysdeps/posix/rewinddir.c: Likewise.
23367         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23368         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23369         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23370         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23371         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23372         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23374         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23375         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23376         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23377         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23378         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23380         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23381         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23382         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23383         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23384         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23385         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23386         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23387         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23388         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23389         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23390         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23391         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23392         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23393         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23394         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23395         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23398         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23400         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23402         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23403         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23404         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23405         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23406         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23407         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23408         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23409         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23410         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23412         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23413         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23414         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23415         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23416         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23417         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23418         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23419         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23421         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23422         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23423         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23424         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23425         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23426         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23427         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23428         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23429         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23430         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23431         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23432         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23433         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23434         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23435         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23436         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23437         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23438         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23439         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23440         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23441         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23442         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23443         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23444         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23445         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23446         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23447         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23448         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23449         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23450         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23451         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23452         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23453         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23454         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23455         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23456         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23457         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23458         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23459         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23460         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23461         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23462         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23463         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23465         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23466         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23467         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23468         * sysdeps/unix/alpha/sysdep.S: Likewise.
23469         * sysdeps/unix/alpha/sysdep.h: Likewise.
23470         * sysdeps/unix/make-syscalls.sh: Likewise.
23471         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23473         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23474         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23475         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23476         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23477         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23478         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23479         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23480         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23482         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23483         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23484         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23485         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23486         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23487         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23489         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23490         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23491         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23492         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23493         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23494         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23495         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23496         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23497         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23500         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23501         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23505         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23506         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23508         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23509         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23510         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23511         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23512         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23513         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23514         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23515         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23520         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23521         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23522         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23523         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23524         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23525         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23526         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23527         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23528         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23529         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23530         * sysdeps/x86_64/memcpy.S: Likewise.
23531         * sysdeps/x86_64/memmove.c: Likewise.
23532         * sysdeps/x86_64/memset.S: Likewise.
23533         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23534         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23535         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23536         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23537         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23538         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23539         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23540         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23541         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23542         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23543         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23544         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23545         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23546         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23547         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23548         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23549         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23550         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23551         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23552         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23553         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23554         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23555         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23556         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23557         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23558         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23559         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23560         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23561         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23562         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23563         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23564         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23565         * sysdeps/x86_64/strcmp.S: Likewise.
23567         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23569         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23570         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23571         * elf/rtld-Rules: Likewise.
23572         * elf/setup-vdso.h: Likewise.
23573         * include/assert.h: Likewise.
23574         * include/bits/stdlib-float.h: Likewise.
23575         * include/errno.h: Likewise.
23576         * include/sys/stat.h: Likewise.
23577         * include/unistd.h: Likewise.
23578         * sysdeps/aarch64/setjmp.S: Likewise.
23579         * sysdeps/alpha/setjmp.S: Likewise.
23580         * sysdeps/arm/__longjmp.S: Likewise.
23581         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23582         * sysdeps/arm/setjmp.S: Likewise.
23583         * sysdeps/arm/sysdep.h: Likewise.
23584         * sysdeps/generic/_itoa.h: Likewise.
23585         * sysdeps/generic/dl-sysdep.h: Likewise.
23586         * sysdeps/generic/ldsodefs.h: Likewise.
23587         * sysdeps/i386/dl-tls.h: Likewise.
23588         * sysdeps/i386/setjmp.S: Likewise.
23589         * sysdeps/m68k/setjmp.c: Likewise.
23590         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23591         * sysdeps/mach/hurd/opendir.c: Likewise.
23592         * sysdeps/posix/getcwd.c: Likewise.
23593         * sysdeps/posix/opendir.c: Likewise.
23594         * sysdeps/posix/profil.c: Likewise.
23595         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23596         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23597         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23598         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23599         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23600         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23601         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23602         * sysdeps/s390/dl-tls.h: Likewise.
23603         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23604         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23605         * sysdeps/sh/sh3/setjmp.S: Likewise.
23606         * sysdeps/sh/sh4/setjmp.S: Likewise.
23607         * sysdeps/unix/alpha/sysdep.h: Likewise.
23608         * sysdeps/unix/arm/sysdep.S: Likewise.
23609         * sysdeps/unix/i386/sysdep.S: Likewise.
23610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23611         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23612         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23613         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23614         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23615         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23616         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23617         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23618         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23619         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23620         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23621         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23622         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23625         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23628         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23629         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23630         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23631         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23633         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23634         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23637         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23638         * sysdeps/x86_64/setjmp.S: Likewise.
23640         * include/math.h: Use IS_IN instead of IS_IN_libm.
23641         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23642         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23643         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23644         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23646         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23647         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23648         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23649         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23650         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23651         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23652         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23653         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23654         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23655         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23656         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23657         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23658         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23659         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23660         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23661         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23662         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23663         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23664         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23665         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23666         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23667         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23668         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23669         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23670         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23671         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23672         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23673         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23675         Likewise.
23676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23677         Likewise.
23678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23679         Likewise.
23680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23681         Likewise.
23682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23683         Likewise.
23684         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23685         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23686         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23687         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23688         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23689         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23695         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23696         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23697         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23698         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23699         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23700         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23701         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23702         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23703         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23704         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23705         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23707         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23708         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23710         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23712         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23713         * nptl/pthreadP.h: Likewise.
23714         * nptl_db/structs.def: Likewise.
23715         * sysdeps/arm/sysdep.h: Likewise.
23716         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23717         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23718         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23719         * sysdeps/unix/alpha/sysdep.h: Likewise.
23720         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23722         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23723         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23724         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23725         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23726         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23727         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23728         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23729         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23730         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23731         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23732         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23733         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23736         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23737         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23738         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23739         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23740         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23741         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23742         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23743         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23744         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23745         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23747         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23748         * nptl/pthreadP.h: Likewise.
23749         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23750         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23751         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23752         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23753         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23754         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23755         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23756         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23757         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23758         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23759         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23760         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23762         Likewise.
23763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23764         Likewise.
23765         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23766         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23767         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23770         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23771         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23772         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23774         * dlfcn/dladdr.c: Use IS_IN.
23775         * dlfcn/dladdr1.c: Likewise.
23776         * dlfcn/dlclose.c: Likewise.
23777         * dlfcn/dlerror.c: Likewise.
23778         * dlfcn/dlinfo.c: Likewise.
23779         * dlfcn/dlmopen.c: Likewise.
23780         * dlfcn/dlopen.c: Likewise.
23781         * dlfcn/dlsym.c: Likewise.
23782         * dlfcn/dlvsym.c: Likewise.
23784         * include/ifaddrs.h: Use IS_IN.
23785         * inet/check_pf.c: Likewise.
23786         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23787         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23789         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23790         IS_IN_ldconfig.
23791         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23792         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23794         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23795         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23796         IS_IN (libc).
23798         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23800         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23801         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23802         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23803         * include/libc-symbols.h (IS_IN_LIB): New macro.
23804         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23805         * include/netdb.h: Likewise.
23806         * include/stap-probe.h: Remove all uses of IN_LIB.
23808         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23809         instead of IN_MODULE.
23810         * include/libc-symbols.h (IN_MODULE): Define using
23811         MODULE_NAME.
23812         (PASTE_NAME, PASTE_NAME1): New macros.
23813         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23814         of IN_LIB.
23815         (STAP_PROBE_ASM): Likewise.
23817 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23819         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23820         __mach_init in dlopened libc.
23822 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23824         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23825         * sysdeps/arm/preconfigure: Regenerate.
23827 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23829         * nptl/pthread_create.c (__pthread_create_2_1): Set
23830         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23831         when copying values from IATTR into PD.
23833 2014-11-21  Will Newton  <will.newton@linaro.org>
23834             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23836         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23837         Refactor inline-asm.  Also add comment.
23839         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23840         ElfW macro instead of hardcoded Elf64 types.
23841         (la_aarch64_gnu_pltenter): Likewise.
23842         * sysdeps/aarch64/dl-machine.h
23843         (elf_machine_runtime_setup): Use ElfW(Addr).
23845         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23846         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23847         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23848         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23849         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23850         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23851         (R_AARCH64_TLS_DTPMOD): This.
23852         (R_AARCH64_TLS_DTPREL64): Rename to ...
23853         (R_AARCH64_TLS_DTPREL): This.
23854         (R_AARCH64_TLS_TPREL64): Rename to ...
23855         (R_AARCH64_TLS_TPREL): This.
23856         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23857         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23858         R_AARCH64_TLS_TPREL64.
23859         (elf_machine_rela): Likewise.
23861 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23863         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23864         by setting it to 0.  64b atomics are not supported currently.
23866 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23868         [BZ #16469]
23869         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23870         search domain names.
23872 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23874         [BZ #16469]
23875         * NEWS: Update.
23876         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23877         trailing dot.
23878         * posix/tst-getaddrinfo5.c: New.
23879         * posix/Makefile (tests): Add it.
23881 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23883         [BZ #14498]
23884         * NEWS: Fixed.
23885         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23886         after parsing line but before break_if_match.
23887         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23888         if there is a protocol mismatch.
23890 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23892         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23893         because the potential race is on the user-supplied stream.
23895 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23897         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23898         string literal if not passed a buffer.
23899         * manual/job.texi (ctermid): Update reasoning, note deviation
23900         from posix, suggest mtasurace when not passed a buffer, for
23901         future non-preliminary safety notes.
23903 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23905         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23906         of not passing it a buffer.
23907         Reported by Peng Haitao.
23909 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23911         * manual/Makefile ($(objpfx)stamp-summary): Require
23912         check-safety.sh to pass.
23913         * manual/check-safety.sh: Wish for verification that every
23914         @deftypefn and @deftypefun is followed by a @safety remark.
23916 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23918         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23920         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23921         PTHREAD_CANCEL_ASYNCHRONOUS.
23922         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23923         send SIGCANCEL.
23925         * nptl/default-sched.h: New file.
23926         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23927         * nptl/pthread_create.c: Include it.
23928         (__pthread_create_2_1): Use collect_default_sched instead of making
23929         Linux syscalls here directly.
23931 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23933         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23934         __pthread_once): Use C11 atomics.
23936 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23938         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23940 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23942         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23943         atomic_thread_fence_acquire, atomic_thread_fence_release,
23944         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23945         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23946         atomic_compare_exchange_weak_relaxed,
23947         atomic_compare_exchange_weak_acquire,
23948         atomic_compare_exchange_weak_release,
23949         atomic_exchange_acquire, atomic_exchange_release,
23950         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23951         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23952         atomic_fetch_and_acquire,
23953         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23955 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23957         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23958         USE_ATOMIC_COMPILER_BUILTINS): Define.
23959         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23961         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23962         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23963         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23965         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23967         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23969         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23971         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23973         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23975         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23977         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23979         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23981         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23983         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23985         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23987         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23988         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23989         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23991         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23993         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23994         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23995         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23997         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24000 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24002         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24003         the sched_priority value here.  It was already checked when the user
24004         called pthread_attr_setschedparam.
24006         * nptl/tst-bad-schedattr.c: New file.
24007         * nptl/Makefile (tests): Add it.
24009 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24010             Florian Weimer  <fweimer@redhat.com>
24011             Joseph Myers  <joseph@codesourcery.com>
24012             Adam Conrad  <adconrad@0c3.net>
24013             Andreas Schwab  <schwab@suse.de>
24014             Brooks  <bmoses@google.com>
24016         [BZ #17625]
24017         * wordexp-test.c (__dso_handle): Add prototype.
24018         (__register_atfork): Likewise.
24019         (__app_register_atfork): New function.
24020         (registered_forks): New global.
24021         (register_fork): New function.
24022         (test_case): Add 3 new tests for WRDE_CMDSUB.
24023         (main): Call __app_register_atfork.
24024         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24025         fork count is non-zero fail the test.
24026         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24027         is set.
24028         (parse_dollars): Remove check for WRDE_NOCMD.
24029         (parse_dquote): Likewise.
24031 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24033         * Makeconfig (built-modules): List non-library modules to be
24034         built.
24035         (module-cppflags): Include libc-modules.h for
24036         everything except shlib-versions.v.i.
24037         (CPPFLAGS): Use it.
24038         (before-compile): Add libc-modules.h.
24039         ($(common-objpfx)libc-modules.h,
24040         $(common-objpfx)libc-modules.stmp): New targets.
24041         (common-generated): Add libc-modules.h and libc-modules.stmp.
24042         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24043         * include/libc-symbols.h: Don't include libc-modules.h.
24044         * include/libc-modules.h: Remove file.
24045         * scripts/gen-libc-modules.awk: New script to generate
24046         libc-modules.h.
24047         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24048         Depend on libc-modules.stmp.
24050         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24052         * Makeconfig (in-module): Get value of libof set for the
24053         translation unit.
24054         (CPPFLAGS): Use $(in-module).
24055         * Makerules: Don't suffix routine names for nonlib.
24056         * include/libc-modules.h: New file.
24057         * include/libc-symbols.h: Include libc-modules.h
24058         (IS_IN): New macro to replace IS_IN_* macros.
24059         * elf/Makefile: Set libof-* for each routine.
24060         * elf/rtld-Rules: Likewise.
24061         * extra-modules.mk: Likewise.
24062         * iconv/Makefile: Likewise.
24063         * iconvdata/Makefile: Likewise.
24064         * locale/Makefile: Likewise.
24065         * malloc/Makefile: Likewise.
24066         * nss/Makefile: Likewise.
24067         * sysdeps/gnu/Makefile: Likewise.
24068         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24069         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24070         * sysdeps/s390/s390-64/Makefile: Likewise.
24071         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24072         CPPFLAGS for nscd instead of nonlib.
24074 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24076         * nptl/createthread.c: New file.
24078         * nptl/createthread.c: Moved ...
24079         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24081         * nptl/createthread.c: Add proper top-line comment.
24082         (do_clone): Folded into ...
24083         (create_thread): ... here.  Take new arguments STOPPED_START and
24084         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24085         increment __nptl_threads, do event-reporting logic, do
24086         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24087         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24088         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24089         just send SIGCANCEL.
24090         * nptl/pthread_create.c: Forward-declare create_thread before
24091         including createthread.c.
24092         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24093         declaration, and new macro START_THREAD_SELF to replace argument.
24094         Remove return statement.
24095         (report_thread_creation): New function.
24096         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24097         synchronization logic, and __nptl_nthreads increment here, around
24098         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24099         PD->parent_cancelhandling here, before create_thread.  When
24100         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24101         __deallocate_stack, and ENOMEM translation here.
24103 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24105         [BZ #17616]
24106         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24107         (mptwo): Rename to __mptwo.
24108         (__inv): Use __mptwo instead of mptwo.
24109         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24110         (mptwo): Rename to __mptwo.
24111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24112         of mpone and __mptwo instead of mptwo.
24113         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24114         instead of mpone.
24115         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24116         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24117         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24118         of mpone and __mptwo instead of mptwo.
24119         (__mpranred): Use __mpone instead of mpone.
24120         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24121         variable.
24122         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24123         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24124         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24125         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24126         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24127         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24128         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24129         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24130         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24131         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24132         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24133         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24134         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24135         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24136         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24137         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24138         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24139         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24140         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24142 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24144         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24145         replace BSD Handler xref with BSD Signal Handling.
24147 2014-11-17  Richard Henderson  <rth@redhat.com>
24149         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24150         (_FP_PACK_RAW_2): Remove.
24151         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24152         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24153         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24154         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24155         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24156         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24157         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24158         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24159         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24160         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24161         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24162         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24163         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24164         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24165         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24166         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24168 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24170         * signal/signal.h [__USE_MISC]
24171         (struct sigvec): Remove type.
24172         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24173         (sigvec): Remove declaration.
24174         * sysdeps/posix/sigvec.c: Moved ...
24175         * signal/sigvec.c: ... here, replacing old file.
24176         (struct sigvec): New type, copied from old signal.h definition.
24177         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24178         (__sigvec): Convert definition to prototype.
24179         (sigvec): Replace weak_alias with compat_symbol.
24180         * signal/Versions (libc: GLIBC_2.21): New version set.
24181         * include/signal.h: Remove __sigvec declaration.
24182         * sysdeps/unix/bsd/sigvec.c: Remove file.
24183         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24184         * manual/signal.texi (BSD Handler): Remove subsection.
24185         Move siginterrupt up to ...
24186         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24187         (Blocking in BSD): Fold subsection into its parent.
24188         * NEWS: Mention sigvec removal.
24190 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24192         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24193         (DLA_FMS): Make definition conditional only on [__FMA4__].
24194         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24195         definition.
24197         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24198         Make definition conditional only on [PROF].
24199         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24200         definition.
24201         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24202         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24204         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24205         !__GNUC__].
24206         * include/signal.h (__sigpause): Move declaration above call to
24207         libc_hidden_proto.
24208         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24209         variable.
24210         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24211         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24213 2014-11-14  David S. Miller  <davem@davemloft.net>
24215         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24216         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24218 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24220         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24221         * configure: Regenerated.
24222         * manual/install.texi (Tools for Compilation): Document a
24223         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24224         compiler verified to work.
24225         * INSTALL: Regenerated.
24227         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24228         redeclare with asm name.
24229         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24230         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24231         including <string.h>.
24232         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24233         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24234         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24235         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24236         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24238         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24240 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24242         * stdlib/strtol.c (__strtol): Use prototype definition.
24244         [BZ #17594]
24245         * stdlib/strtol.c (SYM__): New macro.
24246         (SYM__1): Likewise.
24247         (__strtol): Likewise.
24248         (strtol): Rename to __strtol and define as weak alias of
24249         __strtol.  Use libc_hidden_weak.
24251 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24253         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24254         Use numbered labels in inline assembly.
24256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24258         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24259         Add setjmp LIBC_PROBE.
24260         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24261         Likewise.
24262         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24263         Add longjmp, longjmp_target LIBC_PROBE.
24264         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24265         Likewise.
24267 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24269         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24270         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24271         to get rid of unused variable warning.
24273 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24275         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24276         Check for unwind_backtrace ==  NULL only in SHARED case.
24277         (__backchain_backtrace): Compile only in SHARED case.
24278         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24279         Likewise.
24280         (__backchain_backtrace): Declare as static.
24282 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24284         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24285         (__libc_multiple_threads_ptr): Variable moved ...
24286         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24288 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24290         * conform/GlibcConform.pm: New file.
24291         * conform/conformtest.pl: Use GlibcConform module.
24292         * conform/linknamespace.pl: New file.
24293         * conform/list-header-symbols.pl: Likewise.
24294         * conform/Makefile (linknamespace-symlists-base): New variable.
24295         (linknamespace-symlists-tests): Likewise.
24296         (linknamespace-header-base): Likewise.
24297         (linknamespace-header-tests): Likewise.
24298         (tests-special): Add new tests.
24299         ($(linknamespace-symlists-tests)): New rule.
24300         (linknamespace-libs): New variable.
24301         ($(objpfx)symlist-stdlibs): New rule.
24302         ($(linknamespace-header-tests)): Likewise.
24303         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24304         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24305         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24306         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24307         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24308         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24309         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24310         (test-xfail-ISO/math.h/linknamespace): Likewise.
24311         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24312         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24313         (test-xfail-ISO/time.h/linknamespace): Likewise.
24314         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24315         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24316         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24317         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24318         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24319         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24320         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24321         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24322         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24323         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24324         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24325         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24326         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24327         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24328         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24329         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24330         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24331         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24332         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24333         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24334         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24335         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24336         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24337         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24338         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24339         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24340         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24341         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24342         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24343         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24344         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24345         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24346         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24347         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24348         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24349         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24350         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24351         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24352         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24353         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24354         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24355         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24356         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24357         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24358         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24359         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24360         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24361         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24362         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24363         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24364         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24365         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24366         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24367         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24368         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24369         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24370         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24371         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24372         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24373         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24374         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24375         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24376         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24377         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24378         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24379         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24380         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24381         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24382         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24383         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24384         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24385         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24386         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24387         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24388         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24389         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24390         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24391         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24392         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24393         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24394         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24395         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24396         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24397         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24398         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24399         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24400         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24401         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24402         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24403         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24404         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24405         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24406         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24407         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24408         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24409         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24410         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24411         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24412         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24413         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24414         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24415         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24416         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24417         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24418         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24419         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24420         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24421         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24422         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24423         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24424         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24425         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24426         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24427         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24428         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24429         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24430         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24431         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24432         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24433         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24434         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24435         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24436         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24437         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24438         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24439         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24440         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24441         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24442         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24443         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24444         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24445         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24446         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24447         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24448         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24449         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24450         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24451         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24452         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24453         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24454         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24455         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24456         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24457         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24458         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24459         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24460         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24461         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24462         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24463         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24465         [BZ #17589]
24466         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24467         of fgets_unlocked.
24469         [BZ #17585]
24470         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24471         (memmem): Rename to __memmem and define as weak alias of
24472         __memmem.  Use libc_hidden_weak.
24473         (__memmem): Use libc_hidden_def.
24474         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24475         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24476         memmem.
24478         [BZ #17582]
24479         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24480         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24481         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24482         and define as weak alias of __fgets_unlocked.  Use
24483         libc_hidden_weak.
24484         (__fgets_unlocked): Use libc_hidden_def.
24485         * include/stdio.h (__fgets_unlocked): Declare.  Use
24486         libc_hidden_proto.
24487         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24488         __fgets_unlocked instead of fgets_unlocked.
24489         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24490         (GET_NPROCS_CONF_PARSER): Likewise.
24491         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24492         (GET_NPROCS_CONF_PARSER): Likewise.
24494         [BZ #17574]
24495         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24496         weak alias of __wmemset.  Use libc_hidden_weak.
24497         (__wmemset): Use libc_hidden_def.
24498         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24499         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24500         of wmemset.
24502         [BZ #17573]
24503         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24504         with asm name __mempcpy.
24505         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24507         [BZ #17572]
24508         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24509         and define as weak alias of __rawmemchr.
24510         (__rawmemchr): Do not define as strong alias of rawmemchr.
24512         [BZ #17571]
24513         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24514         alias of __qsort_r.
24515         (qsort): Call __qsort_r instead of qsort_r.
24516         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24517         (__qsort_r): Declare.  Call libc_hidden_proto.
24518         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24519         instead of qsort_r.
24520         * nscd/gai.c (__qsort_r): Define to qsort_r.
24521         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24522         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24523         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24525         [BZ #17570]
24526         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24527         define as weak alias of __malloc_info.
24529         [BZ #17584]
24530         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24531         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24532         (__rewinddir): Use libc_hidden_def.
24533         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24534         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24535         (__rewinddir): Use libc_hidden_def.
24536         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24537         weak alias of __rewinddir.  Don't use libc_hidden_def.
24538         (__rewinddir): Use libc_hidden_def.
24539         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24540         (__rewinddir): Use libc_hidden_proto.
24541         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24542         rewinddir.
24543         (__getcwd): Use __rewinddir instead of rewinddir.
24545         [BZ #17583]
24546         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24547         alias of __fileno.  Use libc_hidden_weak.
24548         (__fileno): Use libc_hidden_def.
24549         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24550         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24551         alias of __ftello.
24552         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24553         __ftello.
24554         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24555         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24556         libc_hidden_def.
24557         (fread_unlocked): Don't use libc_hidden_ver.
24558         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24559         and define as weak alias of __fread_unlocked.  Don't use
24560         libc_hidden_def.
24561         (__fread_unlocked): Use libc_hidden_def.
24562         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24563         (ftello): Don't use libc_hidden_proto.
24564         (__ftello): Declare.  Use libc_hidden_proto.
24565         (fread_unlocked): Don't use libc_hidden_proto.
24566         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24567         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24568         and __ftello instead of fileno, fread_unlocked and ftello.
24570 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24572         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24573         GOT12.
24574         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24575         Likewise.
24576         (_dl_start_user): Likewise.
24577         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24579 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24580             Siddhesh Poyarekar  <siddhesh@redhat.com>
24582         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24583         Move argv and envp down instead of moving argc up.
24584         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24586 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24588         [BZ #17506]
24589         * test-skeleton.c (main): Return successful if one of
24590         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24591         * string/tst-strcoll-overflow.c: Define expected status.
24593 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24595         [BZ #17475]
24596         * locale/iso-639.def: Define Bhili and Tulu language codes.
24598 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24600         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24602 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24604         [BZ #17555]
24605         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24607 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24609         * configure.ac: Updated check of minimal required version to
24610         2.22.
24611         * manual/install.texi (Tools for Compilation): Updated version
24612         number.
24613         * configure: Regenerated.
24614         * INSTALL: Likewise.
24616 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24618         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24619         __tls_get_addr.
24621 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24623         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24624         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24625         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24626         libc_hidden_weak.
24627         (waitpid): Define as alias of __waitpid.
24628         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24629         __waitpid.
24630         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24631         libc_hidden_weak.
24632         (waitpid): Define as alias of __waitpid.
24633         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24634         __libc_waitpid alias.
24635         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24636         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24637         Likewise.
24638         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24639         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24640         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24641         alias.
24642         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24643         __waitpid.
24644         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24645         libc_hidden_weak.
24646         (waitpid): Define as alias of __waitpid.
24648 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24650         * manual/llio.texi: Add comment that write safety has been
24651         fixed in Linux.
24653         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24654         (localplt-build-dso): Add elf/ld.so.
24655         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24656         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24657         and free for ld.so.
24658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24659         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24661         Likewise.
24662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24663         Likewise.
24664         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24665         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24666         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24667         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24668         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24669         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24670         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24671         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24672         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24673         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24674         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24676 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24678         [BZ #14132]
24679         * include/libc-symbols.h (INTUSE): Remove macro.
24680         (INTDEF): Likewise.
24681         (INTVARDEF): Likewise.
24682         (_INTVARDEF): Likewise.
24683         (INTDEF2): Likewise.
24684         (INTVARDEF2): Likewise.
24685         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24686         rtld_hidden_def instead of INTVARDEF.
24687         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24688         (_dl_starting_up_internal): Remove declaration.
24689         (_dl_starting_up): Use rtld_hidden_proto.
24690         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24691         declaration.
24692         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24693         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24694         _dl_starting_up.
24695         * elf/dl-writev.h (_dl_writev): Likewise.
24696         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24697         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24698         _dl_starting_up_internal.
24700 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24702         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24703         test-skeleton.c.
24705 2014-11-05  Will Newton  <will.newton@linaro.org>
24707         * benchtests/Makefile: (bench-malloc): Add malloc thread
24708         scalability benchmark.
24709         * benchtests/bench-malloc-threads.c: New file.
24711 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24713         * sysdeps/aarch64/strchrnul.S: New file.
24715 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24717         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24718         definition.
24719         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24720         Likwise.
24721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24722         Likewise.
24723         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24724         Likewise.
24725         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24726         Likewise.
24727         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24728         Likewise.
24730 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24732         * catgets/test-gencat.c: Use test-skeleton.c.
24733         * catgets/tst-catgets.c: Likewise.
24734         * csu/tst-empty.c: Likewise.
24735         * elf/tst-audit2.c: Likewise.
24736         * elf/tst-global1.c: Likewise.
24737         * elf/tst-pathopt.c: Likewise.
24738         * elf/tst-piemod1.c: Likewise.
24739         * elf/tst-tls10.c: Likewise.
24740         * elf/tst-tls11.c: Likewise.
24741         * elf/tst-tls12.c: Likewise.
24742         * gnulib/tst-gcc.c: Likewise.
24743         * iconvdata/tst-e2big.c: Likewise.
24744         * iconvdata/tst-loading.c: Likewise.
24745         * iconv/tst-iconv1.c: Likewise.
24746         * iconv/tst-iconv2.c: Likewise.
24747         * inet/test-inet6_opt.c: Likewise.
24748         * inet/tst-gethnm.c: Likewise.
24749         * inet/tst-network.c: Likewise.
24750         * inet/tst-ntoa.c: Likewise.
24751         * intl/tst-codeset.c: Likewise.
24752         * intl/tst-gettext2.c: Likewise.
24753         * intl/tst-gettext3.c: Likewise.
24754         * intl/tst-ngettext.c: Likewise.
24755         * intl/tst-translit.c: Likewise.
24756         * io/test-stat.c: Likewise.
24757         * libio/test-fmemopen.c: Likewise.
24758         * libio/tst-freopen.c: Likewise.
24759         * libio/tst-sscanf.c: Likewise.
24760         * libio/tst-ungetwc1.c: Likewise.
24761         * libio/tst-ungetwc2.c: Likewise.
24762         * libio/tst-widetext.c: Likewise.
24763         * localedata/tst-ctype.c: Likewise.
24764         * localedata/tst-digits.c: Likewise.
24765         * localedata/tst-leaks.c: Likewise.
24766         * localedata/tst-mbswcs1.c: Likewise.
24767         * localedata/tst-mbswcs2.c: Likewise.
24768         * localedata/tst-mbswcs3.c: Likewise.
24769         * localedata/tst-mbswcs4.c: Likewise.
24770         * localedata/tst-mbswcs5.c: Likewise.
24771         * localedata/tst-setlocale.c: Likewise.
24772         * localedata/tst-trans.c: Likewise.
24773         * localedata/tst-wctype.c: Likewise.
24774         * localedata/tst-xlocale1.c: Likewise.
24775         * login/tst-grantpt.c: Likewise.
24776         * malloc/tst-calloc.c: Likewise.
24777         * malloc/tst-malloc.c: Likewise.
24778         * malloc/tst-mallocstate.c: Likewise.
24779         * malloc/tst-mcheck.c: Likewise.
24780         * malloc/tst-mtrace.c: Likewise.
24781         * malloc/tst-obstack.c: Likewise.
24782         * math/atest-exp2.c: Likewise.
24783         * math/atest-exp.c: Likewise.
24784         * math/atest-sincos.c: Likewise.
24785         * math/test-matherr.c: Likewise.
24786         * math/test-misc.c: Likewise.
24787         * math/test-powl.c: Likewise.
24788         * math/tst-definitions.c: Likewise.
24789         * misc/tst-dirname.c: Likewise.
24790         * misc/tst-efgcvt.c: Likewise.
24791         * misc/tst-fdset.c: Likewise.
24792         * misc/tst-hsearch.c: Likewise.
24793         * misc/tst-mntent2.c: Likewise.
24794         * nptl/tst-sem7.c: Likewise.
24795         * nptl/tst-sem8.c: Likewise.
24796         * nptl/tst-sem9.c: Likewise.
24797         * nss/test-netdb.c: Likewise.
24798         * posix/tst-fnmatch.c: Likewise.
24799         * posix/tst-getlogin.c: Likewise.
24800         * posix/tst-gnuglob.c: Likewise.
24801         * posix/tst-mmap.c: Likewise.
24802         * pwd/tst-getpw.c: Likewise.
24803         * resolv/tst-inet_ntop.c: Likewise.
24804         * rt/tst-timer.c: Likewise.
24805         * stdio-common/test-fseek.c: Likewise.
24806         * stdio-common/test-popen.c: Likewise.
24807         * stdio-common/test-vfprintf.c: Likewise.
24808         * stdio-common/tst-cookie.c: Likewise.
24809         * stdio-common/tst-fileno.c: Likewise.
24810         * stdio-common/tst-gets.c: Likewise.
24811         * stdio-common/tst-obprintf.c: Likewise.
24812         * stdio-common/tst-perror.c: Likewise.
24813         * stdio-common/tst-sprintf2.c: Likewise.
24814         * stdio-common/tst-sprintf3.c: Likewise.
24815         * stdio-common/tst-sprintf.c: Likewise.
24816         * stdio-common/tst-swprintf.c: Likewise.
24817         * stdio-common/tst-tmpnam.c: Likewise.
24818         * stdio-common/tst-unbputc.c: Likewise.
24819         * stdio-common/tst-wc-printf.c: Likewise.
24820         * stdlib/tst-environ.c: Likewise.
24821         * stdlib/tst-fmtmsg.c: Likewise.
24822         * stdlib/tst-limits.c: Likewise.
24823         * stdlib/tst-rand48-2.c: Likewise.
24824         * stdlib/tst-rand48.c: Likewise.
24825         * stdlib/tst-random2.c: Likewise.
24826         * stdlib/tst-random.c: Likewise.
24827         * stdlib/tst-strtol.c: Likewise.
24828         * stdlib/tst-strtoll.c: Likewise.
24829         * stdlib/tst-tls-atexit.c: Likewise.
24830         * stdlib/tst-xpg-basename.c: Likewise.
24831         * string/test-ffs.c: Likewise.
24832         * string/tst-bswap.c: Likewise.
24833         * string/tst-inlcall.c: Likewise.
24834         * string/tst-strtok.c: Likewise.
24835         * string/tst-strxfrm.c: Likewise.
24836         * sysdeps/x86_64/tst-audit10.c: Likewise.
24837         * sysdeps/x86_64/tst-audit3.c: Likewise.
24838         * sysdeps/x86_64/tst-audit4.c: Likewise.
24839         * sysdeps/x86_64/tst-audit5.c: Likewise.
24840         * time/tst-ftime_l.c: Likewise.
24841         * time/tst-getdate.c: Likewise.
24842         * time/tst-mktime3.c: Likewise.
24843         * time/tst-mktime.c: Likewise.
24844         * time/tst-posixtz.c: Likewise.
24845         * time/tst-strptime2.c: Likewise.
24846         * time/tst-strptime3.c: Likewise.
24847         * wcsmbs/tst-btowc.c: Likewise.
24848         * wcsmbs/tst-mbrtowc.c: Likewise.
24849         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24850         * wcsmbs/tst-wchar-h.c: Likewise.
24851         * wcsmbs/tst-wcpncpy.c: Likewise.
24852         * wcsmbs/tst-wcrtomb.c: Likewise.
24853         * wcsmbs/tst-wcsnlen.c: Likewise.
24854         * wcsmbs/tst-wcstof.c: Likewise.
24856 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24858         [BZ #14132]
24859         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24860         INTDEF.
24861         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24862         declaration.
24863         (_dl_mcount): Use rtld_hidden_proto.
24864         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24865         _dl_mcount.
24866         * elf/rtld.c (_rtld_global_ro): Likewise.
24868         [BZ #14132]
24869         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24870         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24871         of _dl_init_internal.
24872         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24873         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24874         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24875         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24876         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24877         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24878         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24879         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24880         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24881         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24882         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24883         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24884         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24885         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24886         * sysdeps/tile/dl-start.S (_start): Likewise.
24887         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24888         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24890         [BZ #14132]
24891         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24892         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24893         (rtld_progname): Make macro definition unconditional.
24894         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24895         INTDEF.
24896         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24897         (dl_main): Likewise.
24898         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24899         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24900         instead of _dl_argv_internal.
24901         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24902         __GI__dl_argv instead of INTUSE(_dl_argv).
24903         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24904         __GI__dl_argv instead of _dl_argv_internal.
24906         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24907         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24908         macro.
24909         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24910         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24911         New macro.
24912         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24913         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24914         macro.
24915         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24916         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24918 2014-11-04  Andreas Schwab  <schwab@suse.de>
24920         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24922 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24925         mtvsrd instruction in binary form.
24927 2014-11-03  Andreas Schwab  <schwab@suse.de>
24929         [BZ #17522]
24930         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24931         for less than MB_LEN_MAX use a local buffer of that size.
24932         * libio/tst-fputws.c: New file.
24933         * libio/Makefile (tests): Add tst-fputws.
24935 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24937         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24938         the size of the fpu_fr.fpu_dregs[] array.
24940 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24942         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24943         (__nanosleep): Do not define as alias.
24944         (nanosleep): Define as alias of __nanosleep.
24945         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24946         __libc_nanosleep name.
24948 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24950         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24951         install.texi in comment.
24953 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24955         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24956         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24957         ... add here and use lwsync or sync ...
24958         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24959         ... and add here using lwsync.
24961 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24963         * elf/dl-machine-reject-phdr.h: New file.
24964         * elf/dl-load.c: #include that.
24965         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24966         if that returned true.
24968 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24970         [BZ #17496]
24971         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24972         gen-as-const-headers chunk.  Add a big scare comment after the last
24973         safe place to touch before-compile.
24975 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24977         * manual/install.texi (Tools for Compilation): Update autoconf
24978         version requirements.
24979         * INSTALL: Regenerated.
24981         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24982         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24983         (__libc_pselect): Likewise.
24985         [BZ #14138]
24986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24991 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24993         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24994         correct barrier instruction.
24995         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24996         Likewise.
24997         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24998         Likewise.
25000 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25002         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25003         after defining inlines.  Instead, just use parens to defeat macro
25004         expansion of __isctype in its declaration.
25006 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25008         * include/sys/uio.h (__libc_readv): Remove declaration.
25009         (__libc_writev): Likewise.
25010         * misc/readv.c (__libc_readv): Rename to __readv.
25011         (__readv): Do not define as alias.
25012         (readv): Define as alias of __readv.
25013         * misc/writev.c (__libc_writev): Rename to __writev.
25014         (__writev): Do not define as alias.
25015         (writev): Define as alias of __writev.
25016         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25017         (__readv): Do not define as alias.
25018         (readv): Define unconditionally as alias of __readv.
25019         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25020         (__writev): Do not define as alias.
25021         (writev): Define unconditionally as alias of __writev.
25022         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25023         name.
25024         (writev): Do not define __libc_writev name.
25026 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25028         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25029         (convert_charseq): New function, broken out of ...
25030         (use_from_charmap): ... here.  Call it.
25031         (use_to_charmap): Use convert_charseq and free instead of duplicating
25032         its code with a variable-length stack struct.
25034 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25036         * include/fcntl.h (__libc_creat): Remove declaration.
25037         * io/creat.c (__libc_creat): Rename to creat.
25038         (creat): Do not define as alias.
25039         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25040         of creat instead of __libc_creat.
25041         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25042         to creat.
25043         (creat): Do not define as alias.
25044         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25045         __libc_creat.
25046         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25047         __libc_creat name.
25048         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25049         Likewise.
25051 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25053         * manual/llio.texi: Add comments discussing why write() may be
25054         considered MT-unsafe on Linux.
25056 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25058         * dl-load.c (local_strdup): Remove.
25059         (expand_dynamic_string_token): Use __strdup.
25060         (decompose_rpath): Likewise.
25061         (_dl_map_object): Likewise.
25063 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25065         [BZ #14132]
25066         * sysdeps/generic/unwind-dw2-fde.c
25067         (__register_frame_info_bases_internal): Do not declare.
25068         (__register_frame_info_table_bases_internal): Likewise.
25069         (__deregister_frame_info_bases_internal): Likewise.
25070         (__register_frame_info_bases): Declare and use hidden_proto before
25071         definition.  Use hidden_def instead of INTDEF.
25072         (__register_frame_info_table_bases): Likewise.
25073         (__deregister_frame_info_bases): Likewise.
25074         (__register_frame_info): Do not use INTUSE.
25075         (__register_frame): Likewise.
25076         (__register_frame_info_table): Likewise.
25077         (__register_frame_table): Likewise.
25078         (__deregister_frame_info): Likewise.
25079         (__deregister_frame): Likewise.
25081 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25083         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25084         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25085         not undefine.
25086         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25087         Likewise.
25088         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25089         Likewise.
25091 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25093         [BZ #14138]
25094         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25095         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25096         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25097         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25098         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25099         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25100         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25101         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25102         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25103         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25104         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25105         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25106         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25107         syscall.
25108         (setfsuid): Likewise.
25109         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25110         (setfsuid): Likewise.
25111         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25112         (setfsuid): Likewise.
25113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25114         Likewise.
25115         (setfsuid): Likewise.
25116         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25117         (setfsuid): Likewise.
25118         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25119         Likewise.
25120         (setfsuid): Likewise.
25122 2014-10-27  Andreas Schwab  <schwab@suse.de>
25124         [BZ #17501]
25125         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25126         check for Slow_SSE4_2 feature bit.
25127         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25128         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25129         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25130         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25132 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25134         * configure.ac: Validate compiler version with a empirical test of
25135         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25136         $CC -v output.
25137         * configure: Regenerated.
25139         * inet/htons.c (htons): Prototypify.
25140         * inet/htonl.c (htonl): Likewise.
25142 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25144         * string/strncat.c (strncat): Improve performance by using strlen.
25146 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25148         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25150 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25152         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25153         Call libc_fetestexcept_aarch64.
25155 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25157         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25158         Call libc_feholdexcept_aarch64.
25160 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25162         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25163         Call get_rounding_mode.
25165 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25167         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25168         Simplify logic.
25170 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25172         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25173         Simplify logic.
25175 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25177         [BZ #14138]
25178         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25179         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25180         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25181         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25182         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25183         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25184         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25185         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25186         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25187         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25188         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25189         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25190         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25191         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25192         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25193         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25194         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25195         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25196         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25197         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25198         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25199         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25200         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25201         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25202         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25203         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25204         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25205         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25206         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25207         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25208         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25209         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25210         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25211         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25212         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25213         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25214         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25215         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25216         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25217         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25218         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25219         syscall.
25220         (geteuid): Likewise.
25221         (getgid): Likewise.
25222         (getuid): Likewise.
25223         (getresgid): Likewise.
25224         (getresuid): Likewise.
25225         (getgroups): Likewise.
25226         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25227         (geteuid): Likewise.
25228         (getgid): Likewise.
25229         (getuid): Likewise.
25230         (getresgid): Likewise.
25231         (getresuid): Likewise.
25232         (getgroups): Likewise.
25233         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25234         (geteuid): Likewise.
25235         (getgid): Likewise.
25236         (getuid): Likewise.
25237         (getresgid): Likewise.
25238         (getresuid): Likewise.
25239         (getgroups): Likewise.
25240         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25241         Likewise.
25242         (geteuid): Likewise.
25243         (getgid): Likewise.
25244         (getuid): Likewise.
25245         (getresgid): Likewise.
25246         (getresuid): Likewise.
25247         (getgroups): Likewise.
25248         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25249         (geteuid): Likewise.
25250         (getgid): Likewise.
25251         (getuid): Likewise.
25252         (getresgid): Likewise.
25253         (getresuid): Likewise.
25254         (getgroups): Likewise.
25255         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25256         Likewise.
25257         (geteuid): Likewise.
25258         (getgid): Likewise.
25259         (getuid): Likewise.
25260         (getgroups): Likewise.
25262         [BZ #14138]
25263         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25264         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25265         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25266         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25267         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25268         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25269         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25270         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25271         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25272         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25273         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25274         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25275         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25276         __chown.
25277         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25278         (lchown): Likewise.
25279         (fchown): Likewise.
25280         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25281         Likewise.
25282         (lchown): Likewise.
25283         (fchown): Likewise.
25284         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25285         (lchown): Likewise.
25286         (fchown): Likewise.
25287         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25288         Likewise.
25289         (lchown): Likewise.
25290         (fchown): Likewise.
25292 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25294         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25295         Simplify logic.
25297 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25299         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25300         Cleanup logic.
25302 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25304         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25305         Remove unused include.
25307 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25309         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25310         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25311         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25312         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25314 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25315             Helge Deller <deller@gmx.de>
25317         [BZ #17508]
25318         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25319         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25320         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25322 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25324         [BZ #14132]
25325         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25326         Remove macro definition.
25327         (__ashrdi3_v_glibc20): Likewise.
25328         (__lshrdi3_v_glibc20): Likewise.
25329         (__cmpdi2_v_glibc20): Likewise.
25330         (__ucmpdi2_v_glibc20): Likewise.
25331         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25332         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25333         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25334         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25335         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25336         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25338 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25340         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25341         old GNU extension [0] syntax.
25342         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25343         alloca rather than an array member with variable length.
25344         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25345         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25346         (parse_opt): ... here.  Likewise use alloca there.
25347         Validate the -i argument before checking for rootness.
25348         (send_shutdown): New function, broken out of ...
25349         (parse_opt): ... here.
25351 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25353         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25354         macro to get at the _rt_local_ro field.
25355         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25356         ([PIC] case) or _dl_hwcap ([!PIC] case).
25357         * sysdeps/arm/setjmp.S: Likewise.
25359         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25360         * sysdeps/arm/configure.ac: New check to define it.
25361         * sysdeps/arm/configure: Regenerated.
25362         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25363         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25364         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25365         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25366         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25367         Use move/movt pair instead of a load.
25368         (LDST_GLOBAL): Macro removed.
25369         (LDR_GLOBAL): New macro replaces it.
25370         (LDR_HIDDEN): New macro.
25371         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25372         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25374         * setjmp/tst-setjmp-static.c: New file.
25375         * setjmp/Makefile (tests): Add it.
25376         (tests-static): New variable.
25378 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25380         [BZ #17485]
25381         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25383 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25385         [BZ #14132]
25386         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25388 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25390         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25392 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25394         * io/fts.c (dirent_not_directory): New function.
25395         (fts_build): Call it.
25397 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25399         * nptl/version.c (__nptl_main): Use normal __write rather than
25400         INTERNAL_SYSCALL.
25401         (banner): Update copyright years.
25403         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25404         gettimeofday.
25405         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25406         * nptl/pthread_cond_timedwait.c: Likewise.
25407         * nptl/pthread_mutex_timedlock.c: Likewise.
25408         * nptl/sem_timedwait.c: Likewise.
25410         * sysdeps/nptl/bits/libc-lock.h
25411         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25412         (__libc_lock_init_recursive): Return void, not 0.
25413         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25414         (__libc_rwlock_init): Likewise.
25415         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25417 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25419         [BZ #15215]
25420         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25421         (__pthread_once_slow): ... here.
25422         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25423         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25425 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25427         [BZ #15215]
25428         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25429         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25430         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25431         * nptl/pthread_once.c (__pthread_once): Likewise.
25432         Update comments.
25434 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25436         [BZ #14138]
25437         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25438         name.
25439         (writev): Use __libc_writev as strong name.
25440         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25441         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25443 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25445         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25447         * sysdeps/i386/nptl/tls.h
25448         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25449         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25450         New macros.
25451         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25452         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25453         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25454         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25455         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25456         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25458         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25459         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25460         on [__NR_futex].
25461         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25462         broken out of ...
25463         (__pthread_mutex_init): ... here.  Call it.
25464         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25465         Conditionalize PI cases on [__NR_futex].
25466         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25467         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25468         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25470         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25471         conditional on [SIGSETXID].
25472         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25473         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25474         is defined.  Likewise for SIGSETXID.
25475         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25476         Conditionalize definitions on [SIGSETXID].
25477         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25478         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25479         unblocking on [SIGCANCEL].
25481         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25482         [__NR_set_robust_list].
25484 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25486         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25487         (do_compare): Likewise.
25489 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25491         [BZ #15884]
25492         * string/strcoll_l.c: Don't include stdio.h.
25493         (coll_seq): Remove members idxarr and rulearr.
25494         (get_next_seq_cached): Remove function.
25495         (get_next_seq): Likewise.
25496         (get_next_seq_nocache): Rename to get_next_seq.
25497         (do_compare): Remove function.
25498         (do_compare_nocache): Rename to do_compare.
25499         (STRCOLL): Remove weight and rules cache.
25501 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25503         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25504         * sysdeps/arm/sfp-machine.h: ... to here.
25505         * sysdeps/arm/Implies: Remove arm/soft-fp.
25507 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25509         * conform/data/sys/utsname.h-data (*_t): Allow.
25510         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25511         [POSIX] (WEXITED): Do not expect constant.
25512         [POSIX] (WSTOPPED): Likewise.
25513         [POSIX] (WNOHANG): Likewise.
25514         [POSIX] (WNOWAIT): Likewise.
25515         [POSIX] (siginfo_t): Do not expect type or elements.
25516         [POSIX] (pid_t): Do not expect type.
25517         [POSIX] (signal.h): Do not allow header.
25518         [POSIX] (sys/resource.h): Likewise.
25519         [POSIX] (si_*): Do not allow pattern.
25520         [POSIX] (W*): Likewise.
25521         [POSIX] (P_*): Likewise.
25522         [POSIX] (BUS_*): Likewise.
25523         [POSIX] (CLD_*): Likewise.
25524         [POSIX] (FPE_*): Likewise.
25525         [POSIX] (ILL_*): Likewise.
25526         [POSIX] (POLL_*): Likewise.
25527         [POSIX] (SEGV_*): Likewise.
25528         [POSIX] (SI_*): Likewise.
25529         [POSIX] (TRAP_*): Likewise.
25530         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25531         variable.
25533 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25535         [BZ #12926]
25536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25537         infinite loop when __recvmsg returns 0.
25539 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25541         * CANCEL-FCT-WAIVE: Remove file.
25542         * CANCEL-FILE-WAIVE: Likewise.
25544         [BZ #14132]
25545         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25546         instead of INTVARDEF.
25547         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25548         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25549         rtld_hidden_data_def instead of INTVARDEF.
25550         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25551         * elf/dl-deps.c (expand_dst): Likewise.
25552         * elf/dl-load.c (_dl_dst_count): Likewise.
25553         (_dl_dst_substitute): Likewise.
25554         (decompose_rpath): Likewise.
25555         (_dl_init_paths): Likewise.
25556         (open_path): Likewise.
25557         (_dl_map_object): Likewise.
25558         * elf/rtld.c (dl_main): Likewise.
25559         (process_dl_audit): Likewise.
25560         (process_envvars): Likewise.
25561         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25562         Remove declaration.
25563         (__libc_enable_secure): Use rtld_hidden_proto.
25565 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25567         * elf/dl-load.c
25568         (add_path): New function broken out of _dl_rtld_di_serinfo.
25569         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25571 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25573         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25574         parentheses around macro arguments.
25575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25578         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25579         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25580         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25581         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25582         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25583         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25586         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25587         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25588         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25589         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25590         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25591         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25596         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25597         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25598         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25599         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25600         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25601         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25603         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25604         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25605         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25606         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25607         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25608         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25609         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25610         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25611         Likewise.
25612         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25613         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25614         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25615         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25619         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25620         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25621         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25622         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25623         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25624         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25626         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25629         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25630         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25633         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25634         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25635         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25637         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25638         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25639         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25640         (_FP_FRAC_SRS_1): Likewise.
25641         (_FP_FRAC_CLZ_1): Likewise.
25642         (_FP_MUL_MEAT_1_imm): Likewise.
25643         (_FP_MUL_MEAT_1_wide): Likewise.
25644         (_FP_MUL_MEAT_1_hard): Likewise.
25645         (_FP_SQRT_MEAT_1): Likewise.
25646         (_FP_FRAC_ASSEMBLE_1): Likewise.
25647         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25648         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25649         (__FP_CLZ_2): Likewise.
25650         (_FP_MUL_MEAT_2_wide): Likewise.
25651         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25652         (_FP_MUL_MEAT_2_gmp): Likewise.
25653         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25654         (_FP_SQRT_MEAT_2): Likewise.
25655         (_FP_FRAC_ASSEMBLE_2): Likewise.
25656         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25657         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25658         (_FP_FRAC_CLZ_4): Likewise.
25659         (_FP_MUL_MEAT_4_wide): Likewise.
25660         (_FP_MUL_MEAT_4_gmp): Likewise.
25661         (_FP_SQRT_MEAT_4): Likewise.
25662         (_FP_FRAC_ASSEMBLE_4): Likewise.
25663         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25664         * soft-fp/op-common.h (_FP_CMP): Likewise.
25665         (_FP_CMP_EQ): Likewise.
25666         (_FP_CMP_UNORD): Likewise.
25667         (_FP_TO_INT): Likewise.
25668         (_FP_FROM_INT): Likewise.
25669         [!__FP_CLZ] (__FP_CLZ): Likewise.
25670         (_FP_DIV_HELP_imm): Likewise.
25671         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25672         Likewise.
25673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25676         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25684         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25685         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25688         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25689         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25697         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25698         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25699         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25700         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25701         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25702         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25703         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25704         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25705         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25706         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25707         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25708         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25709         (FP_UNPACK_RAW_SP): Likewise.
25710         (FP_PACK_RAW_S): Likewise.
25711         (FP_PACK_RAW_SP): Likewise.
25712         (FP_UNPACK_S): Likewise.
25713         (FP_UNPACK_SP): Likewise.
25714         (FP_UNPACK_SEMIRAW_S): Likewise.
25715         (FP_UNPACK_SEMIRAW_SP): Likewise.
25716         (FP_PACK_S): Likewise.
25717         (FP_PACK_SP): Likewise.
25718         (FP_PACK_SEMIRAW_S): Likewise.
25719         (FP_PACK_SEMIRAW_SP): Likewise.
25720         (_FP_SQRT_MEAT_S): Likewise.
25721         (FP_CMP_S): Likewise.
25722         (FP_CMP_EQ_S): Likewise.
25723         (FP_CMP_UNORD_S): Likewise.
25724         (FP_TO_INT_S): Likewise.
25725         (FP_FROM_INT_S): Likewise.
25727         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25729         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25730         (FP_EX_INVALID_IMZ): Likewise.
25731         (FP_EX_INVALID_IMZ_FMA): Likewise.
25732         (FP_EX_INVALID_ISI): Likewise.
25733         (FP_EX_INVALID_ZDZ): Likewise.
25734         (FP_EX_INVALID_IDI): Likewise.
25735         (FP_EX_INVALID_SQRT): Likewise.
25736         (FP_EX_INVALID_CVI): Likewise.
25737         (FP_EX_INVALID_VC): Likewise.
25738         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25739         "invalid" exceptions.
25740         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25741         (_FP_ADD_INTERNAL): Likewise.
25742         (_FP_MUL): Likewise.
25743         (_FP_FMA): Likewise.
25744         (_FP_DIV): Likewise.
25745         (_FP_CMP_CHECK_NAN): Likewise.
25746         (_FP_SQRT): Likewise.
25747         (_FP_TO_INT): Likewise.
25748         (FP_EXTEND): Likewise.
25750 2014-10-09  Allan McRae  <allan@archlinux.org>
25752         * po/fr.po: Update French translation from translation project.
25754 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25756         [BZ #14132]
25757         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25758         of INTDEF.
25759         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25760         (__cxa_atexit): Use libc_hidden_proto.
25761         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25763         [BZ #14132]
25764         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25765         declaration.
25766         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25767         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25768         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25769         [!_ISOMAC] (__iswctype_internal): Likewise.
25770         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25771         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25772         alias.
25773         (fcntl): Remove __fcntl_internal alias.
25774         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25775         __connect_internal alias.
25776         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25777         Likewise.
25779         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25780         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25781         FP_DENORM_ZERO.
25782         (_FP_CHECK_FLUSH_ZERO): New macro.
25783         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25784         (_FP_CMP): Likewise.
25785         (_FP_CMP_EQ): Likewise.
25786         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25787         FP_DENORM_ZERO.
25788         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25789         (FP_TRUNC): Likewise.
25791         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25792         treated as invalid conversion, not as normal exponent.
25794         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25795         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25796         (_FP_CMP_EQ): Likewise.
25797         (_FP_CMP_UNORD): Likewise.
25798         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25799         (FP_CMP_EQ_D): Likewise.
25800         (FP_CMP_UNORD_D): Likewise.
25801         * soft-fp/extended.h (FP_CMP_E): Likewise.
25802         (FP_CMP_EQ_E): Likewise.
25803         (FP_CMP_UNORD_E): Likewise.
25804         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25805         (FP_CMP_EQ_Q): Likewise.
25806         (FP_CMP_UNORD_Q): Likewise.
25807         * soft-fp/single.h (FP_CMP_S): Likewise.
25808         (FP_CMP_EQ_S): Likewise.
25809         (FP_CMP_UNORD_S): Likewise.
25810         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25811         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25812         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25813         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25814         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25815         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25816         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25817         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25818         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25819         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25820         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25821         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25822         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25823         to FP_CMP_Q.
25824         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25825         FP_CMP_Q.
25826         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25827         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25828         FP_CMP_EQ_Q.
25829         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25830         FP_CMP_Q.
25831         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25832         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25833         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25834         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25835         FP_CMP_EQ_Q.
25836         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25837         FP_CMP_Q.
25838         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25839         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25840         FP_CMP_EQ_Q.
25841         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25842         FP_CMP_Q.
25843         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25844         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25845         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25846         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25847         FP_CMP_EQ_Q.
25849         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25850         a subnormal result, set the underflow exception if trapping on
25851         underflow is enabled.
25852         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25853         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25854         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25855         redefine to 0.
25856         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25857         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25858         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25859         * soft-fp/extendxftf2.c (__extendxftf2): Use
25860         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25862         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25863         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25864         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25865         FP_HANDLE_EXCEPTIONS.
25866         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25867         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25868         FP_HANDLE_EXCEPTIONS.
25869         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25870         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25871         FP_HANDLE_EXCEPTIONS.
25872         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25873         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25874         FP_HANDLE_EXCEPTIONS.
25876 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25878         [BZ #14132]
25879         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25880         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25881         use INTUSE.
25882         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25883         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25884         Remove alias.
25885         (__adjtimex): Define using libc_hidden_ver.
25886         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25887         Remove declaration.
25888         (ntp_gettime): Call __adjtimex directly.
25889         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25890         Remove declaration.
25891         (ntp_gettimex): Call __adjtimex directly.
25892         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25893         __adjtimex_internal alias.
25895 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25897         [BZ #17460]
25898         * nscd/nscd.c (more_help): Rewrite list of tables collection
25899         using xstrdup and asprintf.
25901         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25903 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25904             Roland McGrath  <roland@hack.frob.com>
25906         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25907         (do_lookup_unique): ... local function 'enter' here; update callers.
25909 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25911         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25912         compat_symbol calls on [SHARED].
25913         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25914         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25915         Remove.
25916         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25917         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25918         (oldsetrlimit): Remove.
25919         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25921         (lchown): New syscall entry.
25922         (oldsetrlimit): Remove.
25923         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25924         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25925         (oldsetrlimit): Remove.
25926         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25928         [BZ #14138]
25929         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25930         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25931         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25932         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25933         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25934         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25935         (fchown): Likewise.
25936         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25937         (fchown): Likewise.
25938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25939         Likewise.
25941 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25944         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25945         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25946         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25947         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25948         Likewise.
25949         (__old_sem_post): Likewise.
25951 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25953         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25954         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25955         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25956         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25957         Use INLINE_VSYSCALL macro.
25958         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25959         __vdso_clock_gettime.
25960         * sysdeps/unix/sysv/linux/tile/init-first.c
25961         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25962         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25963         __vdso_clock_gettime.
25965         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25966         to set up frame more cleanly.
25968         * sysdeps/tile/memcmp.c: New file.
25970         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25972         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25973         * sysdeps/tile/tilegx/strcasestr.c: New file.
25974         * sysdeps/tile/tilegx/strnlen.c: New file.
25975         * sysdeps/tile/tilegx/strstr.c: New file.
25977         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25979 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25981         * nptl/tst-setuid3.c: Write errors to stdout.
25983 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25985         * elf/dl-deps.c
25986         (preload): New functions broken out of _dl_map_object_deps.
25987         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25989 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25991         [BZ #14138]
25992         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25993         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25995 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25997         * sysdeps/mips/strcmp.S: New.
25999 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #14138]
26002         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26003         (linkat): Likewise.
26004         (mkdirat): Likewise.
26005         (readlinkat): Likewise.
26006         (renameat): Likewise.
26007         (symlinkat): Likewise.
26008         (unlinkat): Likewise.
26009         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26010         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26011         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26012         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26013         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26014         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26015         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26017 2014-09-30  Will Newton  <will.newton@linaro.org>
26019         * math/math.h: Define long double math functions if
26020         _LIBC_TEST is defined.
26021         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26023         * localedata/Makefile: Move assignment to tests-special
26024         into an ifdef testing run-built-tests.
26025         * timezone/Makefile: Likewise.
26027 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26029         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26030         with $(BASH) not $(SHELL).
26032 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26033             Matthew LeGendre  <legendre1@llnl.gov>
26035         [BZ #17411]
26036         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26037         l_reloc_result.
26039 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26041         * stdio-common/printf_fp.c
26042         (hack_digit): New function, broken out of ...
26043         (__printf_fp): ... local function here.  Update call sites.
26044         hack_digit now takes an additional parameter that is a pointer
26045         to a struct of the referenced locals.  Those locals moved inside
26046         the struct and references updated.
26048 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26050         * aclocal.m4: Require autoconf 2.69.
26051         * configure: Regenerated.
26052         * sysdeps/aarch64/configure: Likewise.
26053         * sysdeps/alpha/configure: Likewise.
26054         * sysdeps/arm/armv7/configure: Likewise.
26055         * sysdeps/arm/configure: Likewise.
26056         * sysdeps/ia64/configure: Likewise.
26057         * sysdeps/mach/configure: Likewise.
26058         * sysdeps/mips/configure: Likewise.
26059         * sysdeps/s390/configure: Likewise.
26060         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26063         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26064         file.
26065         * sysdeps/ia64/configure.ac: Likewise.
26067 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26070         specify symbol version for ld.so.  Do not include entry for
26071         libpthread.
26072         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26073         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26074         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26076         [BZ #14171]
26077         * Makeconfig [$(build-shared) = yes]
26078         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26079         makefiles.
26080         [$(build-shared) = yes && $(soversions.mk-done) = t]
26081         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26082         [$(build-shared) = yes && $(soversions.mk-done) = t]
26083         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26084         to Makerules.
26085         [$(build-shared) = yes && $(soversions.mk-done) = t]
26086         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26087         here.
26088         [$(build-shared) = yes && $(soversions.mk-done) = t]
26089         (common-generated): Don't append gnu/lib-names.h and
26090         gnu/lib-names.stmp here.
26091         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26092         (lib-names-h-abi): New variable.
26093         [$(build-shared) = yes && $(soversions.mk-done) = t]
26094         (lib-names-stmp-abi): Likewise.
26095         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26096         abi-variants] (before-compile): Append
26097         $(common-objpfx)$(lib-names-h-abi).
26098         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26099         abi-variants] (common-generated): Append gnu/lib-names.h.
26100         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26101         abi-variants] (install-others-nosubdir): Depend on
26102         $(inst_includedir)/$(lib-names-h-abi).
26103         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26104         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26105         [$(build-shared) = yes && $(soversions.mk-done) = t]
26106         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26107         [$(build-shared) = yes && $(soversions.mk-done) = t]
26108         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26109         [$(build-shared) = yes && $(soversions.mk-done) = t]
26110         (common-generated): Append $(lib-names-h-abi) and
26111         $(lib-names-stmp-abi).
26112         * scripts/lib-names.awk: Do not handle multi being set.
26113         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26114         Remove variable.
26115         (abi-lp64_be-ld-soname): Likewise.
26116         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26117         Likewise.
26118         (abi-hard-ld-soname): Likewise.
26119         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26120         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26121         Remove variable.
26122         (abi-o32_hard-ld-soname): Likewise.
26123         (abi-o32_soft_2008-ld-soname): Likewise.
26124         (abi-o32_hard_2008-ld-soname): Likewise.
26125         (abi-n32_soft-ld-soname): Likewise.
26126         (abi-n32_hard-ld-soname): Likewise.
26127         (abi-n32_soft_2008-ld-soname): Likewise.
26128         (abi-n32_hard_2008-ld-soname): Likewise.
26129         (abi-n64_soft-ld-soname): Likewise.
26130         (abi-n64_hard-ld-soname): Likewise.
26131         (abi-n64_soft_2008-ld-soname): Likewise.
26132         (abi-n64_hard_2008-ld-soname): Likewise.
26133         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26134         Likewise.
26135         (abi-64-v2-ld-soname): Likewise.
26136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26137         ld.so entries.
26138         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26139         variable.
26140         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26141         entry.
26142         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26143         variable.
26144         (abi-64-ld-soname): Likewise.
26145         (abi-x32-ld-soname): Likewise.
26146         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26147         entry.
26148         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26150 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26152         [BZ #14138]
26153         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26154         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26155         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26156         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26157         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26158         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26159         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26160         syscall entry for GLIBC_2.2 symbol version.
26161         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26162         Likewise.
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26164         (setrlimit): Likewise.
26165         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26166         Likewise.
26168 2014-09-23  Will Newton  <will.newton@linaro.org>
26170         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26171         _LINUX_ARM_SYSDEP_H include guard too.
26172         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26173         define.
26175 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26177         * sysdeps/unix/sysv/linux/eventfd.c:
26178         Make first argument unsigned.
26179         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26180         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26182 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26184         [BZ #16852]
26185         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26186         * socket/sys/socket.h: Likewise.
26187         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26189 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26191         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26193 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26195         * time/tst-ftime.c: New test.
26196         * time/Makefile (tests): Add tst-ftime.
26198 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26200         * soft-fp/extended.h: Fix comment formatting.
26201         * soft-fp/op-1.h: Likewise.
26202         * soft-fp/op-2.h: Likewise.
26203         * soft-fp/op-4.h: Likewise.
26204         * soft-fp/op-8.h: Likewise.
26205         * soft-fp/op-common.h: Likewise.
26206         * soft-fp/soft-fp.h: Likewise.
26208         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26210 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26212         [BZ #6652]
26213         * Makeconfig (soversions-default-setname): Remove variable.
26214         ($(common-objpfx)soversions.i): Don't pass default_setname to
26215         soversions.awk.
26216         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26217         oldest_abi to abi-versions.awk.
26218         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26219         * config.make.in (oldest-abi): Remove variable.
26220         * configure.ac (--enable-oldest-abi): Remove configure option.
26221         * configure: Regenerated.
26222         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26223         text.
26224         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26225         * scripts/soversions.awk: Do not handle default_setname variable.
26226         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26227         variable.
26228         * sysdeps/mach/hurd/configure: Regenerated.
26229         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26230         variable.
26231         * sysdeps/unix/sysv/linux/configure: Regenerated.
26233 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26235         * elf/Makefile (CFLAGS-interp.c): Remove.
26236         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26237         path string.
26238         * elf/interp.c: Include generated runtime-linker.h
26240         * Makerules (lib%.so): Don't include $(+interp) in
26241         prerequisites.
26242         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26243         * dlfcn/eval.c: Remove file.
26245         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26246         macros.
26248         [BZ #17266]
26249         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26250         4.2 and newer.
26252         [BZ #17370]
26253         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26255 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26256             Jakub Jelinek  <jakub@redhat.com>
26258         [BZ #17266]
26259         * libio/stdio.h: Check definition of __fortify_function
26260         instead of __extern_always_inline to include bits/stdio2.h.
26261         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26262         check if __extern_always_inline is defined.
26263         [__USE_MISC || __USE_XOPEN]: Likewise.
26264         [__USE_ISOC99] Likewise.
26265         * misc/sys/cdefs.h (__fortify_function): Define only if
26266         __extern_always_inline is defined.
26267         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26268         __extern_always_inline and __extern_inline only for g++-4.3
26269         and newer or a compatible gcc.
26271 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26273         [BZ #17371]
26274         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26275         last change to handle zero prefix length.
26277 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26279         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26280         _SC_REGEX_VERSION.
26282         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26283         _POSIX_RAW_SOCKETS.
26285 2014-09-13  Allan McRae  <allan@archlinux.org>
26287         * po/ru.po: Update Russian translation from translation project.
26289 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26291         * locale/programs/locale.c (show_locale_vars): Inline local function
26292         into its sole call site.  Clean up some style nits.
26293         (print_item): New function, broken out of ...
26294         (show_info): ... local function here.  Clean up style nits.
26296         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26297         out of ...
26298         (set_class_defaults): ... local function set_default here.
26299         Define set_default as a macro locally to pass constant parameters.
26300         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26301         rather than a shared local.
26303         * stdlib/rpmatch.c (try): New function, broken out of ...
26304         (rpmatch): ... local function here.  Also, prototypify definition.
26306 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26308         * scripts/soversions.awk: Do not handle configuration names.
26309         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26310         vendor and os variables to soversions.awk.
26311         * configure.ac: Do not modify gnu-* host_os.
26312         * configure: Regenerated
26313         * shlib-versions: Remove first column with configuration names.
26314         * nptl/shlib-versions: Likewise.
26315         * nptl_db/shlib-versions: Likewise.
26316         * sysdeps/hppa/shlib-versions: Likewise.
26317         * sysdeps/m68k/shlib-versions: Likewise.
26318         * sysdeps/mach/hurd/shlib-versions: Likewise.
26319         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26320         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26321         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26322         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26323         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26324         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26325         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26326         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26328         Likewise.
26329         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26330         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26331         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26332         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26333         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26334         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26335         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26336         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26339         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26341         Regenerated.
26342         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26344         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26346         * shlib-versions: Remove OS-specific entries.  Moved to files in
26347         sysdeps.
26348         * sysdeps/mach/hurd/shlib-versions: New file.
26349         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26351         * nptl/shlib-versions: Remove architecture-specific entries.
26352         Moved to files in sysdeps.
26353         * shlib-versions: Likewise.
26354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26355         file.
26356         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26357         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26358         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26359         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26361         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26362         (UDP_NO_CHECK6_RX): Likewise.
26364 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26366         * sysdeps/posix/sysconf.c (__sysconf): Spell
26367         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26369 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26371         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26372         loading.
26373         * iconv/Versions (__gconv_transliterate): Export for use from
26374         gconv modules.
26375         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26376         (struct __gconv_trans_data, __gconv_trans_fct,
26377         __gconv_trans_context_fct, __gconv_trans_query_fct,
26378         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26379         definitions.
26380         (struct __gconv_step_data): Remove __trans member.
26381         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26382         longer hidden.  Remove unused trans_data argument.
26383         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26384         (__gconv_translit_find): Remove declaration.
26385         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26386         prototype.
26387         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26388         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26389         trans_data argument.  Add hidden definition.
26390         (__gconv_translit_find): Remove.
26391         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26392         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26393         * iconv/skeleton.c: Remove transliteration initialization.
26394         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26395         __gconv_step_data initialization.
26396         * libio/iofwide.c (__libio_translit_): Remove.
26397         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26398         * wcsmbs/btowc.c (__btowc): Likewise.
26399         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26400         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26401         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26402         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26403         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26404         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26405         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26406         * wcsmbs/wctob.c (wctob): Likewise.
26408 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26410         [BZ #16194]
26411         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26412         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26413         register usage.
26414         * sysdeps/x86/Makefile: Adjust.
26416 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26417             Roland McGrath  <roland@hack.frob.com>
26419         * locale/weight.h: Add include guard.
26420         (findidx): Make static rather than auto; take new parameters
26421         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26422         * locale/weightwc.h: Likewise.
26423         * posix/fnmatch_loop.c
26424         (FCT): Change type of EXTRA from int32_t to wint_t.
26425         Don't include either header inside the function.
26426         Call FINDIDX rather than findidx, and pass new arguments.
26427         #undef FINDIDX at the end of the file.
26428         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26429         FINDIDX before including fnmatch_loop.c for the non-wide version.
26430         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26431         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26432         for the wide version.
26433         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26434         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26435         Pass new arguments to findidx.
26436         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26437         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26438         Don't #include it inside the function.  Pass new arguments to findidx.
26439         * posix/regex_internal.h
26440         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26441         (re_string_elem_size_at): Don't #include it inside the function.
26442         Pass new arguments to findidx.
26443         * string/strcoll_l.c: #include WEIGHT_H at top level.
26444         (get_next_seq): Don't #include it inside the function.
26445         Pass new arguments to findidx.
26446         (get_next_seq_nocache): Likewise.
26447         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26448         (STRXFRM): Don't #include it inside the function.
26449         Pass new arguments to findidx.
26451 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26453         [BZ #17344]
26454         * malloc/malloc.c (unlink): Turn asserts into a call to
26455         malloc_printerr.
26457 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26459         [BZ #17370]
26460         * libio/wfileops (do_ftell_wide): Free OUT.
26462 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26464         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26466 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26468         [BZ #17363]
26469         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26470         group if the current group is empty.
26472 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26474         * benchtests/bench-memset.c (test_main): Add more test from size
26475         from 32 to 512 bytes.
26476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26477         Add POWER8 memset object.
26478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26479         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26480         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26481         implementation.
26482         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26483         Likewise.
26484         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26485         multiarch POWER8 memset optimization.
26486         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26487         POWER8 memset optimization.
26489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26490         Remove bzero multiarch objects.
26491         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26492         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26493         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26494         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26495         Remove define.
26496         [__bzero]: Redefine to specific name.
26497         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26498         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26499         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26500         define.
26501         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26502         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26504 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26506         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26507         warnings into errors.
26509         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26510         __cxa_thread_atexit_impl prototype.
26512 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26514         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26515         Fix capitalization of error message.
26517 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26519         * sysdeps/mips/preconfigure: Modify ABI tests.
26521 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26523         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26525 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26526             Carlos O'Donell  <carlos@systemhalted.org>
26528         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26529         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26530         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26531         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26532         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26533         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26534         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26535         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26536         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26537         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26538         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26539         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26540         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26541         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26543         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26544         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26545         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26546         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26547         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26548         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26549         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26550         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26551         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26552         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26553         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26554         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26555         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26556         Deconditionalize the code that was previously under [RESET_PID].
26557         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26558         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26559         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26560         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26561         include sysdep.h.
26563 2014-09-08  Allan McRae  <allan@archlinux.org>
26565         * version.h (RELEASE): Set to "development".
26566         (VERSION): Set to "2.20.90"
26568 2014-09-07  Allan McRae  <allan@archlinux.org
26570         * version.h (RELEASE): Set to "stable".
26571         (VERSION): Set to "2.20"
26572         * include/features.h (__GLIBC_MINOR__): Set to 20.
26574         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26575         Liebler.
26577         * po/ko.po: Update Korean translation from translation project.
26579 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26581         [BZ #17354]
26582         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26583         macro for handling signed relocations.
26585 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26587         [BZ #17325]
26588         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26589         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26590         assert.
26591         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26592         * iconvdata/ibm935.c (BODY): Likewise.
26593         * iconvdata/ibm937.c (BODY): Likewise.
26594         * iconvdata/ibm939.c (BODY): Likewise.
26595         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26596         assert.
26597         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26598         script.
26599         * iconvdata/run-iconv-test.sh: New test loop for checking for
26600         decoder crashers.
26602 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26605         libm_hidden_ver.
26607 2014-09-01  Allan McRae  <allan@archlinux.org>
26609         * po/eo.po: Update Esperanto translation from translation project.
26611         * po/ca.po: Update Catalan translation from translation project.
26613 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26615         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26616         __proc_dostop call.
26618 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26620         [BZ #17319]
26621         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26622         to call set_thread_area instead of hand written asm.
26623         (__NR_set_thread_area): Removed define.
26624         (TLS_FLAG_WRITABLE): Likewise.
26625         (__ASSUME_SET_THREAD_AREA): Remove check.
26626         (TLS_EBX_ARG): Remove define.
26627         (TLS_LOAD_EBX): Likewise.
26629 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26631         Simplify atomicity of socket creation in bind.
26633         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26634         looking up the name after linking the file.
26636 2014-08-27  Allan McRae  <allan@archlinux.org>
26638         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26640 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26642         [BZ #17187]
26643         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26644         trans_compare, open_translit, __gconv_translit_find):
26645         Remove module loading code.
26647 2014-08-26  Allan McRae  <allan@archlinux.org>
26649         * po/vi.po: Update Vietnamese translation from translation project.
26651         * po/uk.po: Update Ukrainian translation from translation project.
26653         * po/fr.po: Update French translation from translation project.
26655         * po/ru.po: Update Russian translation from translation project.
26657         * po/pl.po: Update Polish translation from translation project.
26659         * po/cs.po: Update Czech translation from translation project.
26661         * po/de.po: Update German translation from translation project.
26663         * po/bg.po: Update Bulgarian translation from translation project.
26665         * po/sv.po: Update Sweedish translation from translation project.
26667         * po/nl.po: Update Dutch translation from translation project.
26669         * po/es.po: Update Spanish translation from translation project.
26671 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26673         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26675         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26676         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26677         (CPPFLAGS-iconvconfig): Likewise.
26678         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26680         * include/libc-symbols.h: Remove unnecessary check for
26681         NOT_IN_libc.
26682         * nptl/pthreadP.h: Likewise.
26683         * sysdeps/aarch64/setjmp.S: Likewise.
26684         * sysdeps/alpha/setjmp.S: Likewise.
26685         * sysdeps/arm/sysdep.h: Likewise.
26686         * sysdeps/i386/setjmp.S: Likewise.
26687         * sysdeps/m68k/setjmp.c: Likewise.
26688         * sysdeps/posix/getcwd.c: Likewise.
26689         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26690         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26691         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26692         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26693         * sysdeps/sh/sh3/setjmp.S: Likewise.
26694         * sysdeps/sh/sh4/setjmp.S: Likewise.
26695         * sysdeps/unix/alpha/sysdep.h: Likewise.
26696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26697         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26698         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26699         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26704         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26706         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26707         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26709         * sysdeps/x86_64/setjmp.S: Likewise.
26711 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26713         [BZ #17263]
26714         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26715         <stdint.h>.
26716         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26717         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26719 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26721         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26723         [BZ #17262]
26724         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26725         and __x86_64__ when disabling x87 inline functions.
26727 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26729         [BZ #17259]
26730         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26731         asm statement with __cpuid_count.
26733 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26735         * configure.ac: Change __ehdr_start code to dereference the struct.
26736         Run readelf on the output to look for relocations.
26737         * configure: Regenerated.
26739 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26741         [BZ #17261]
26742         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26743         value to 0.
26744         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26746 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26748         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26750 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26752         [BZ #16892]
26753         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26754         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26756 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26758         * malloc/malloc.c: Fix typo in comment.
26760 2014-08-09  Allan McRae  <allan@archlinux.org>
26762         * Regenerate libc.po.
26764 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26766         * intl/tst-gettext2.sh: Check every lang file for creation.
26768 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26770         * sysdeps/aarch64/fpu/math_private.h
26771         (libc_feholdsetround_noex_aarch64_ctx): New function.
26773 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26775         * sysdeps/arm/armv6/strcpy.S (strcpy):
26776         Fix performance issue in misaligned cases.
26778 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26780         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26781         Move definition from termios.h.
26782         (struct termio): Likewise.
26783         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26784         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26785         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26786         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26787         Likewise.
26788         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26789         Move definition to ioctl-types.h
26790         (struct termio): Likewise.
26791         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26792         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26793         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26794         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26795         Likewise.
26797 2014-08-05  Richard Henderson  <rth@redhat.com>
26799         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26800         exceptions.
26801         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26802         Add fraiseexcpt.
26803         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26804         Use __feraiseexcept.
26805         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26806         Protect libm symbols with IS_IN_libm.
26808         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26810 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26812         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26814 2014-08-04  Will Newton  <will.newton@linaro.org>
26816         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26817         file.
26819 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26821         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26822         variants for each function.
26824 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26826         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26827         appended ...
26828         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26829         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26830         appended ...
26831         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26832         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26833         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26834         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26835         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26836         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26837         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26838         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26839         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26840         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26841         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26842         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26843         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26844         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26845         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26847         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26848         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26849         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26850         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26851         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26852         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26853         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26855         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26857         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26858         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26859         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26860         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26861         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26862         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26863         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26864         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26865         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26866         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26867         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26868         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26869         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26870         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26871         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26872         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26873         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26874         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26875         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26876         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26877         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26878         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26879         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26880         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26881         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26882         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26883         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26884         Update #include.
26885         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26886         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26888 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26890         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26891         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26892         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26893         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26894         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26895         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26897 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26899         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26900         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26901         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26902         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26904 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26906         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26907         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26908         (__libc_vfork): Define function under this name.
26909         (__vfork): Define as an alias.
26910         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26911         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26913 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26915         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26916         that was previously under [RESET_PID].
26917         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26919 2014-08-04  Andreas Schwab  <schwab@suse.de>
26921         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26923 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26925         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26926         (main): Likewise.
26928 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26930         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26932 2014-08-01  Richard Henderon  <rth@redhat.com>
26934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26935         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26936         typo in exact zero test.
26937         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26938         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26939         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26941 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26943         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26944         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26945         * sysdeps/arm/sysdep.h: ... here.
26946         [!__ASSEMBLER__]: Include <stdint.h>.
26948 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26950         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26951         (HAVE_WCTYPE_H): Likewise.
26952         (HAVE_ISWCTYPE): Likewise.
26953         (ENABLE_NLS): Likewise.
26954         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26955         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26957         * posix/regex_internal.c: Check if DEBUG is defined and is
26958         set.
26960         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26961         (HAVE_MBSRTOWCS): Likewise.
26962         * posix/fnmatch.c: Include string.h unconditionally.
26964 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26966         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26967         reversal.
26969 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26971         * sysdeps/generic/safe-fatal.h: New file.
26972         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26973         * nptl/forward.c: Include it.
26974         (__pthread_unwind): Use __safe_fatal as default action, rather
26975         than a bogus use of INTERNAL_SYSCALL that could never work.
26977         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26978         * configure.ac (libc_cv_builtin_trap): New test.
26979         * configure: Regenerated.
26980         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26981         (ABORT_INSTRUCTION): Define using __builtin_trap.
26983         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26984         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26985         * sysdeps/nptl/nptl-signals.h: New file.
26986         * nptl/pthreadP.h: Include <nptl-signals.h>.
26988 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26990         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26991         (ONE_DIRECTION): Define.
26992         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26993         (ONE_DIRECTION): Define.
26994         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26995         (ONE_DIRECTION): Define.
26997 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26999         * sysdeps/s390/Makefile: Delete file.
27000         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27001         * sysdeps/s390/__longjmp.c: Delete file.
27002         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27003         Remove fields __flags and __reserved.
27004         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27005         and add versioning.
27006         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27007         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27008         * sysdeps/s390/rtld-setjmp.S: Likewise.
27009         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27010         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27011         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27012         * sysdeps/s390/s390-32/setjmp.S: ... here.
27013         Add versioning.
27014         (__sigsetjmp): Remove setting __flags field.
27015         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27016         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27017         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27018         * sysdeps/s390/s390-64/setjmp.S: ... here.
27019         Add versioning.
27020         (__sigsetjmp): Remove setting __flags field.
27021         * sysdeps/s390/setjmp.S: Delete file.
27022         * sysdeps/s390/sigjmp.c: Likewise.
27023         * sysdeps/s390/v1-longjmp.c: Likewise.
27024         * sysdeps/s390/v1-setjmp.h: Likewise.
27025         * sysdeps/s390/v1-sigjmp.c: Likewise.
27026         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27027         Remove v1-longjmp_chk.
27028         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27029         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27030         Include debug/longjmp_chk.c and add versioning.
27031         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27032         Include nptl/pt-longjmp.c and add versioning.
27033         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27034         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27035         Include __longjmp.c.
27036         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27037         Move to ...
27038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27039         (__getcontext): Remove setting __flags field.
27040         Add versioning.
27041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27042         Don't restore upper high grps.
27043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27044         Likewise.
27045         (__swapcontext): Remove setting uc_flags field.
27046         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27047         Delete file.
27048         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27049         Include __longjmp.c.
27050         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27051         Move to ...
27052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27053         (__getcontext): Remove setting __flags field.
27054         Add versioning.
27055         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27056         (__swapcontext): Remove setting uc_flags field.
27057         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27058         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27059         Remove fields uc_high_gprs and __reserved.
27060         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27061         New file with reverted content.
27062         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27063         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27064         Regenerated.
27065         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27066         Regenerated.
27068 2014-07-31  Andreas Schwab  <schwab@suse.de>
27070         * config.h.in (HAVE_IFUNC): Define to 0.
27071         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27072         definedness.
27074 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27077         memmove-avx-unaligned, memcpy-avx-unaligned and
27078         mempcpy-avx-unaligned.
27079         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27080         Add tests for AVX memcpy functions.
27081         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27082         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27083         memcpy_chk.
27084         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27085         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27086         memmove_chk.
27087         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27088         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27089         mempcpy_chk.
27090         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27091         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27092         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27094 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27096         [BZ #17213]
27097         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27098         powerpc64le.
27100 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27102         [BZ #16839]
27103         * manual/llio.texi: Add section about open file description locks.
27104         * manual/examples/ofdlocks.c: Example of open file description
27105         lock usage.
27106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27107         F_OFD_SETLK, and F_OFD_SETLKW.
27109 2014-07-23  Allan McRae  <allan@archlinux.org>
27111         * po/es.po: Update Spanish translation from translation project.
27113 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27115         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27117 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27119         [BZ #17078]
27120         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27121         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27122         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27124 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27126         [BZ #17088]
27127         * math/fesetenv.c (__fesetenv)
27128         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27129         * math/feupdateenv.c (__feupdateenv)
27130         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27132         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27133         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27134         (__ASSUME_SOCKETCALL): Do not define.
27136         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27137         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27138         (__ASSUME_SOCKETCALL): Do not define.
27139         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27140         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27141         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27142         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27144         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27145         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27146         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27149         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27150         (__ASSUME_SOCKETCALL): Do not define.
27151         (__ASSUME_IPC64): Define unconditionally.
27152         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27153         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27154         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27156         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27157         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27158         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27159         Likewise.
27161         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27162         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27163         (__ASSUME_SOCKETCALL): Do not define.
27164         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27165         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27166         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27167         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27168         (__ASSUME_REQUEUE_PI): Define unconditionally.
27169         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27170         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27171         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27172         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27173         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27174         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27176         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27177         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27178         (__ASSUME_SOCKETCALL): Do not define.
27179         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27180         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27181         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27182         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27183         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27184         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27186         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27187         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27188         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27189         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27190         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27191         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27192         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27193         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27194         (__ASSUME_GETCPU_SYSCALL): Likewise.
27196         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27197         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27198         cases for individual architectures.
27199         * sysdeps/gnu/configure: Regenerated.
27200         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27201         LIBC_SLIBDIR_RTLDDIR.
27202         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27203         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27204         LIBC_SLIBDIR_RTLDDIR.
27205         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27207         LIBC_SLIBDIR_RTLDDIR.
27208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27209         Regenerated.
27210         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27211         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27212         file.
27213         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27214         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27215         file.
27216         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27217         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27218         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27219         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27221         * sysdeps/aarch64/shlib-versions: Move to ...
27222         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27223         * sysdeps/alpha/shlib-versions: Move to ...
27224         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27225         * sysdeps/arm/shlib-versions: Move to ...
27226         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27227         * sysdeps/hppa/shlib-versions: Move all contents except for
27228         libgcc_s entry to ...
27229         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27230         entry from ...
27231         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27232         * sysdeps/ia64/shlib-versions: Move to ...
27233         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27234         entry from ...
27235         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27236         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27237         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27238         * sysdeps/microblaze/shlib-versions: Move to ...
27239         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27240         * sysdeps/mips/shlib-versions: Move to ...
27241         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27242         entry from ...
27243         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27244         * sysdeps/tile/shlib-versions: Move to ...
27245         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27246         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27247         from ...
27248         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27249         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27250         entry from ...
27251         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27253 2014-07-17  Will Newton  <will.newton@linaro.org>
27255         * sysdeps/arm/bits/atomic.h
27256         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27257         (__arch_compare_and_exchange_bool_16_int): Likewise.
27258         (__arch_compare_and_exchange_bool_64_int): Likewise.
27260         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27261         into an #else block.
27263 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27265         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27266         just Linux configurations.  Test empirically that the compiler sets
27267         __ARM_EABI__, rather than using the tuple to decide.
27268         * sysdeps/arm/preconfigure: Regenerated.
27269         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27270         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27271         contents appended ...
27272         * sysdeps/arm/configure.ac: ... here.
27273         * sysdeps/arm/configure: Regenerated.
27275 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27277         * nptl/pthread_kill.c: New file.
27278         * nptl/pthread_sigmask.c: New file.
27279         * nptl/pthread_sigqueue.c: New file.
27281         * sysdeps/nptl/lowlevellock.h: New file.
27282         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27283         * sysdeps/nptl/lowlevellock-futex.h: New file.
27285         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27286         Remove dead declarations.
27288 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27290         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27291         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27292         config-cflags-avx2.
27293         * sysdeps/x86_64/configure.ac: Likewise.
27294         * sysdeps/i386/configure: Regenerated.
27295         * sysdeps/x86_64/configure: Likewise.
27296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27297         memset-avx2 only if config-cflags-avx2 is yes.
27298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27299         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27300         defined.
27301         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27302         only if HAVE_AVX2_SUPPORT is defined.
27303         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27305 2014-07-14  Alan Modra  <amodra@gmail.com>
27307         [BZ #17153]
27308         * elf/elf.h (DT_PPC64_NUM): Correct value.
27309         * NEWS: Add to fixed bug list.
27311 2014-07-13  Jim Meyering  <meyering@fb.com>
27313         [BZ 17150]
27314         regex: don't deref NULL upon heap allocation failure
27315         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27316         failure in one more place.
27317         To trigger the segfault, configure grep -with-included-regex,
27318         build it, and run these commands:
27319         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27321 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27323         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27325 2014-07-11  Richard Henderson  <rth@redhat.com>
27327         * sysdeps/aarch64/libm-test-ulps: Update.
27329 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27331         [BZ #17135]
27332         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27333         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27334         (__nptl_setxid): Initialize error member.  Call
27335         __nptl_setxid_error.
27336         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27337         * nptl/descr.h (struct xid_command): Add error member.
27338         * nptl/tst-setuid3.c: New file.
27339         * nptl/Makefile (tests): Add it.
27341 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27344         New define.
27345         (__lll_trylock): Use __lll_base_trylock.
27346         (__lll_cond_trylock): Likewise.
27348 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27350         * nptl/pthread_create.c (start_thread): Use atomic_or and
27351         lll_futex_wake directly rather than lll_robust_dead.
27352         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27353         (lll_robust_dead): Macro removed.
27354         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27355         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27356         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27357         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27359         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27360         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27361         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27362         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27363         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27364         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27365         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27366         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27367         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27368         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27370         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27371         Use atomic_compare_and_exchange_val_acq directly rather than
27372         lll_robust_trylock.
27373         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27374         (__lll_robust_trylock, lll_robust_trylock): Removed.
27375         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27376         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27377         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27379         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27380         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27382         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27384         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27385         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27387         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27388         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27390 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27392         * manual/locale.texi (Locale Names): New section documenting
27393         locale name syntax.  Adjust menu and node chaining accordingly.
27394         (Choosing Locale): Reference Locale Names, Locale Categories.
27395         Mention setting LC_ALL=C.  Reflect that name syntax is now
27396         documented.
27397         (Locale Categories): New section title.  Reference Locale Names.
27398         LC_ALL is an environment variable, but not a category.
27399         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27400         description, now in Locale Name.  Reference that section.  Locale
27401         name syntax is now documented.
27403 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27405         [BZ #17137]
27406         * locale/findlocale.c (name_present, valid_locale_name): New
27407         functions.
27408         (_nl_find_locale): Use the loc_name variable to store name
27409         candidates.  Call name_present and valid_locale_name to check and
27410         validate locale names.  Return an error if the locale is invalid.
27412 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27414         * locale/setlocale.c (setlocale): Use strdup for allocating
27415         composite name copy.
27417 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27419         Sync up with gnulib.
27420         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27421         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27422         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27423         and _GL_ARG_NONNULL.
27424         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27425         [!_LIBC]: Include code for Windows and Cygwin.
27426         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27427         Include prototype for int strerror_r.
27428         [!_LIBC] (is_open): New function.
27429         (flush_stdout): New function.
27430         (print_errno_message): Use it.
27431         (error): Likewise.
27432         (error_at_line): Likewise.
27433         (error_tail) Add function attribute macros.  Use
27434         __builtin_expect.
27436         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27438         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27440         * io/ftw.c: Include sys/param.h unconditionally.
27442         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27444         [BZ #17125]
27445         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27446         libc_freeres_ptr.
27447         (freecache): New function to free CACHE on exit.
27449         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27450         initialization.
27452 2014-07-09  David S. Miller  <davem@davemloft.net>
27454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27456         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27457         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27458         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27459         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27460         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27461         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27462         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27463         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27464         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27465         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27466         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27467         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27468         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27470 2014-07-09  Andreas Schwab  <schwab@suse.de>
27472         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27473         output.
27474         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27475         (do_test): Likewise.
27477         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27479 2014-07-09  Will Newton  <will.newton@linaro.org>
27481         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27482         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27483         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27484         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27485         * sysdeps/hppa/start.S (_start): Likewise.
27487 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27489         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27491         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27492         defined.
27494 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27496         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27497         after checking that it is non-NULL.
27499         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27501 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27503         * sysdeps/powerpc/memmove.c: Remove file.
27504         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27505         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27506         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27507         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27508         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27509         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27510         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27511         string memmove instead of removed powerpc one.
27513         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27514         [weak_alias]: Fix compiler warning due trailing data.
27515         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27516         [weak_alias]: Likewise.
27517         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27518         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27521         (__libc_ifunc_impl_list): Add memmove functions.
27523 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27525         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27526         Remove code.
27527         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27528         Likewise.
27529         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27530         Likewise.
27531         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27532         Likewise.
27533         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27534         Likewise.
27535         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27536         Likewise.
27537         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27538         Likewise.
27539         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27540         Likewise.
27541         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27542         Likewise.
27543         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27544         Likewise.
27545         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27546         Likewise.
27547         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27548         Likewise.
27549         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27550         Likewise.
27551         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27552         Likewise.
27553         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27554         Likewise.
27555         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27556         Likewise.
27557         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27558         Likewise.
27560 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27562         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27563         to avoid alignment traps in non-cacheable memory.
27564         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27567         multiarch objects.
27568         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27569         file: multiarch power7 memmove.
27570         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27571         multiarch default memmove.
27572         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27573         multiarch memove for powerpc32/power4.
27575         * string/bcopy.c: Use full path to include memmove.c.
27576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27577         multiarch objects.
27578         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27579         bcopy for powerpc64.
27580         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27581         bcopy for powerpc64.
27582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27583         and memmove implementations.
27584         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27585         optimized multiarch memmove for POWER7/powerpc64.
27586         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27587         default multiarch memmove for powerpc64.
27588         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27589         multiarch for powerpc64.
27590         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27591         for POWER7/powerpc64.
27592         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27593         memmove for POWER7/powerpc64.
27595         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27596         glibc default one.
27598         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27599         __ELF_NATIVE_CLASS equal to 64.
27601 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27603         * sysdeps/nptl/lowlevellock.h: File removed.
27605         * NEWS: NPTL is no longer an add-on!
27606         * nptl/internaltypes.h: Moved ...
27607         * sysdeps/nptl/internaltypes.h: ... here.
27608         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27609         * sysdeps/nptl/fork.c: Likewise.
27610         * sysdeps/nptl/gai_misc.h: Likewise.
27611         * sysdeps/nptl/librt-cancellation.c: Likewise.
27612         * sysdeps/nptl/jmp-unwind.c: Likewise.
27613         * sysdeps/nptl/setxid.h: Likewise.
27614         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27615         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27616         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27617         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27618         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27619         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27620         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27621         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27622         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27623         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27624         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27625         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27626         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27627         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27628         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27629         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27630         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27631         * nptl/Makeconfig: Moved ...
27632         * sysdeps/nptl/Makeconfig: ... here.
27633         * nptl/configure: File removed.
27634         * nptl/ANNOUNCE: File removed.
27635         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27636         * sysdeps/unix/sysv/linux/configure: Regenerated.
27638         * nptl/Makefile (routines): Add libc_pthread_init,
27639         libc_multiple_threads, register-atfork and unregister-atfork.
27640         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27641         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27642         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27643         pthread-pi-defines.sym, structsem.sym.
27644         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27645         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27646         [$(subdir) = nptl] (tests): Add tst-setgetname.
27647         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27648         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27649         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27650         [!LIBC_SIGACTION]: Remove aliases.
27651         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27652         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27653         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27654         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27655         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27656         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27658         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27659         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27660         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27661         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27662         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27663         __libc_allocate_rtsig_private.
27664         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27665         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27666         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27667         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27668         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27669         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27670         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27671         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27672         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27673         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27674         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27675         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27676         * nptl/internaltypes.h: ... here.
27677         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27678         * sysdeps/nptl/jmp-unwind.c: ... here.
27679         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27680         * nptl/libc-lowlevellock.c: ... here.
27681         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27682         * nptl/libc_multiple_threads.c: ... here.
27683         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27684         * nptl/libc_pthread_init.c: ... here.
27685         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27686         * nptl/lowlevelbarrier.sym: ... here.
27687         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27688         * nptl/lowlevelcond.sym: ... here.
27689         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27690         * nptl/lowlevellock.c: ... here.
27691         * nptl/lowlevellock.h: Moved ...
27692         * sysdeps/nptl/lowlevellock.h: ... here.
27693         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27694         * nptl/lowlevelrobustlock.c: ... here.
27695         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27696         * nptl/lowlevelrobustlock.sym: ... here.
27697         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27698         * nptl/lowlevelrwlock.sym: ... here.
27699         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27700         * nptl/pt-fork.c: ... here.
27701         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27702         * nptl/pthread-pi-defines.sym: ... here.
27703         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27704         * nptl/pthread_attr_getaffinity.c: ... here.
27705         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27706         * nptl/pthread_attr_setaffinity.c: ... here.
27707         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27708         * nptl/pthread_mutex_cond_lock.c: ... here.
27709         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27710         Update #include.
27711         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27712         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27713         * nptl/pthread_once.c: ... here, replacing old file.
27714         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27715         * nptl/pthread_yield.c: ... here.
27716         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27717         * nptl/register-atfork.c: ... here.
27718         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27719         * nptl/sem_post.c: ... here.
27720         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27721         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27722         * nptl/sem_timedwait.c: ... here.
27723         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27724         * nptl/sem_trywait.c: ... here.
27725         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27726         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27727         * nptl/sem_wait.c: ... here.
27728         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27729         * nptl/structsem.sym: ... here.
27730         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27731         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27732         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27733         * nptl/unregister-atfork.c: ... here.
27734         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27735         * nptl/unwindbuf.sym: ... here.
27736         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27737         * sysdeps/nptl/fork.c: ... here.
27738         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27739         * sysdeps/nptl/fork.h: ... here.
27740         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27741         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27742         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27743         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27744         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27745         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27746         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27748         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27749         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27750         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27751         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27752         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27753         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27754         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27755         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27756         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27757         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27758         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27759         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27760         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27761         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27762         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27763         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27764         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27765         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27766         * sysdeps/unix/sysv/linux/raise.c: ... here.
27767         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27768         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27769         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27770         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27772         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27774         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27775         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27776         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27777         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27778         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27779         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27780         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27781         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27783 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27785         * sysdeps/generic/memcopy.h: Add comment for
27786         MEMCPY_OK_FOR_FWD_MEMMOVE.
27788 2014-07-04  Will Newton  <will.newton@linaro.org>
27790         * string/memchr.c: Merge from gnulib.
27791         [_LIBC]: Remove conditionals.
27792         (__ptr_t): Remove define.
27793         (LONG_MAX_32_BITS): Likewise.
27794         (LONG_MAX): Likewise.
27795         (MEMCHR): Use ANSI prototype and optimize algorithm.
27797         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27799 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27801         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27802         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27804         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27805         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27806         in a bare environment with no <stdlib.h> installed.
27807         * sysdeps/nptl/configure: Regenerated.
27809         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27811         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27812         AC_EGREP_CPP for kernel header checks, so they only succeed if
27813         including <linux/version.h> actually works right.
27814         * sysdeps/unix/sysv/linux/configure: Regenerated.
27816         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27817         value so it's not diagnosed as unused.
27819         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27820         thing) with "ifeq ($(subdir),rt)".
27822 2014-07-03  Richard Henderson  <rth@redhat.com>
27824         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27825         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27826         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27828         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27829         (math_force_eval): New.
27831         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27832         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27834         * sysdeps/alpha/fpu/s_round.c: Remove file.
27835         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27837         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27838         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27839         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27840         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27841         (_dl_start, print_statistics): Likewise.
27842         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27843         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27845         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27846         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27847         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27848         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27849         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27850         (HP_SMALL_TIMING_AVAIL): Define.
27851         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27852         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27853         (HP_SMALL_TIMING_AVAIL): Define.
27854         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27855         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27857         * sysdeps/aarch64/hp-timing.h: New file.
27859         * sysdeps/generic/hp-timing.h: Remove dead comment.
27860         * sysdeps/generic/hp-timing-common.h: New file.
27861         * sysdeps/alpha/hp-timing.h: Include it.
27862         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27863         * sysdeps/i386/i686/hp-timing.h: Likewise.
27864         * sysdeps/ia64/hp-timing.h: Likewise.
27865         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27866         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27867         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27868         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27869         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27870         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27871         (hp_timing_t): New.
27873         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27874         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27875         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27876         * elf/rtld.c (_dl_start_final): Likewise.
27877         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27878         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27879         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27880         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27881         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27882         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27883         (HP_TIMING_DIFF_INIT): Remove.
27884         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27885         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27886         (HP_TIMING_DIFF_INIT): Remove.
27887         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27888         * sysdeps/i386/i686/hp-timing.c: Remove file.
27889         * sysdeps/x86_64/hp-timing.c: Remove file.
27890         * sysdeps/ia64/hp-timing.c: Remove file.
27891         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27892         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27893         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27894         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27896         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27897         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27898         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27899         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27900         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27901         (HP_TIMING_ACCUM): Remove.
27902         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27903         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27904         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27906         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27907         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27908         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27909         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27910         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27911         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27913         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27915         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27917 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27919         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27921 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27923         Sync up with gettext.
27924         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27925         [_MSC_VER]: Include malloc.h
27926         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27927         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27928         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27929         TEMP_FAILURE_RETRY.  Cast return of alloca.
27930         [!_LIBC] Call gl_rwlock_init.
27931         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27933 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27935         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27936         before checking its value.
27938 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27940         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27942         * debug/memcpy_chk.c: Don't include pagecopy.h.
27943         * debug/mempcpy_chk.c: Likewise.
27944         * string/memcpy.c: Likewise.
27945         * string/memmove.c: Likewise.
27946         * sysdeps/powerpc/memmove.c: Likewise.
27947         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27948         definition of PAGE_COPY_FWD_MAYBE here...
27949         * sysdeps/generic/pagecopy.h: ... from here.
27950         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27952 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27953             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27955         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27957         optimizations.
27958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27959         (__libc_ifunc_impl_list): Likewise.
27960         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27961         multiarch strcat for PPC64.
27962         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27963         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27965 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27967         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27969 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27971         * intl/loadmsgcat.c: Remove declaration of
27972         get_sysdep_segment_value.
27973         (get_sysdep_segment_value): Use ISO C style.
27974         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27975         semicolon.  Fix typo and formatting in comment.
27976         (_nl_unload_domain): Use ISO C style.
27978         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27980 2014-07-02  Will Newton  <will.newton@linaro.org>
27982         * malloc/obstack.c: Merge from gnulib master.
27983         [HAVE_CONFIG_H]: Remove conditional code.
27984         [!_LIBC]: Include config.h.
27985         [!ELIDE_CODE]: Don't include inttypes.h, include
27986         stdint.h unconditionally.
27987         (print_and_abort): Mark as _Noreturn.
27988         (_obstack_allocated_p): Mark as __attribute_pure__.
27989         (obstack_free): Rename to __obstack_free.
27990         [!__attribute__]: Remove conditional code.
27991         * malloc/obstack.h: Merge from gnulib master.
27992         [__cplusplus]: Move conditional down.
27993         [!__attribute_pure__]: Define __attribute_pure__ here
27994         if it is not already defined.
27995         (_obstack_memory_used): Mark as __attribute_pure__.
27996         [!__obstack_free]: Define as obstack_free.
27997         [__GNUC__]: Remove check for ancient NeXT gcc.
27999 2014-07-02  Will Newton  <will.newton@linaro.org>
28000             Paul Eggert  <eggert@cs.ucla.edu>
28002         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28004 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28006         * resolv/gethnamaddr.c: Add comment warning that the file is
28007         not maintained.
28009 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28011         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28012         entries.
28014         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28015         entry for aio_cancel and aio_cancel64.
28016         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28017         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28018         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28019         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28020         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28021         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28022         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28023         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28024         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28025         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28026         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28027         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28028         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28030 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28032         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28033         * nptl/pthread_mutex_lock.c: Likewise.
28034         * nptl/pthread_mutex_timedlock.c: Likewise.
28035         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28037 2014-07-01  Richard henderson  <rth@redhat.com>
28039         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28040         (__isnan, __isnanl): Remove.
28041         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28043         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28045 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28047         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28049 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28051         * resolv/nss_dns/dns-host.c (getanswer_r)
28052         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28054 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28056         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28057         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28058         undefine.
28059         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28060         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28062 2014-07-01  Roland McGrath <roland@hack.frob.com>
28064         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28065         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28067         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28068         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28070         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28071         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28072         ... here.
28073         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28074         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28076         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28077         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28078         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28079         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28081         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28082         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28083         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28084         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28086         Moved ...
28087         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28088         ... here.
28089         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28090         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28092         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28094         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28098         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28102         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28103         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28104         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28105         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28106         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28107         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28108         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28109         ... here.
28110         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28111         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28112         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28113         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28114         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28115         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28116         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28117         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28119 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28121         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28122         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28123         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28124         Add sysdep.
28126 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28130 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28132         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28133         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28135         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28137         * sysdeps/arm/libm-test-ulps: Regenerated.
28139 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28140             Roland McGrath <roland@hack.frob.com>
28142         * test-skeleton.c (signal_handler): Kill the whole process group
28143         before killing the child individually.
28144         (main): Report any failure on `setpgid'.
28146 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28148         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28149         from _TLS_H to _ARM_NPTL_TLS_H.
28150         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28151         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28153 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28155         [BZ #16539]
28156         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28157         (__expm1l): Return argument unchanged when small but not
28158         subnormal.
28160         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28161         include macro name.
28162         (_FP_UNPACK_RAW_1_P): Likewise.
28163         (_FP_PACK_RAW_1): Likewise.
28164         (_FP_PACK_RAW_1_P): Likewise.
28165         (_FP_MUL_MEAT_1_wide): Likewise.
28166         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28167         (_FP_MUL_MEAT_1_hard): Likewise.
28168         (_FP_DIV_MEAT_1_imm): Likewise.
28169         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28170         (_FP_DIV_MEAT_1_udiv): Likewise.
28171         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28172         (_FP_UNPACK_RAW_2): Likewise.
28173         (_FP_UNPACK_RAW_2_P): Likewise.
28174         (_FP_PACK_RAW_2): Likewise.
28175         (_FP_PACK_RAW_2_P): Likewise.
28176         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28177         (_FP_MUL_MEAT_2_wide): Likewise.
28178         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28179         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28180         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28181         (_FP_MUL_MEAT_2_gmp): Likewise.
28182         (_FP_DIV_MEAT_2_udiv): Likewise.
28183         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28184         (_FP_FRAC_SRL_4): Likewise.
28185         (_FP_FRAC_SRST_4): Likewise.
28186         (_FP_FRAC_SRS_4): Likewise.
28187         (_FP_UNPACK_RAW_4): Likewise.
28188         (_FP_UNPACK_RAW_4_P): Likewise.
28189         (_FP_PACK_RAW_4): Likewise.
28190         (_FP_PACK_RAW_4_P): Likewise.
28191         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28192         (_FP_MUL_MEAT_4_wide): Likewise.
28193         (_FP_MUL_MEAT_4_gmp): Likewise.
28194         (umul_ppppmnnn): Likewise.
28195         (_FP_DIV_MEAT_4_udiv): Likewise.
28196         (__FP_FRAC_ADD_4): Likewise.
28197         (__FP_FRAC_SUB_3): Likewise.
28198         (__FP_FRAC_SUB_4): Likewise.
28199         (__FP_FRAC_DEC_3): Likewise.
28200         (__FP_FRAC_DEC_4): Likewise.
28201         (__FP_FRAC_ADDI_4): Likewise.
28202         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28203         (_FP_FRAC_SRL_8): Likewise.
28204         (_FP_FRAC_SRS_8): Likewise.
28206         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28207         include macro name.
28208         (FP_UNPACK_RAW_EP): Likewise.
28209         (FP_PACK_RAW_E): Likewise.
28210         (FP_PACK_RAW_EP): Likewise.
28211         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28212         (_FP_ISSIGNAN): Likewise.
28213         (_FP_ADD_INTERNAL): Likewise.
28214         (_FP_FMA): Likewise.
28215         (_FP_CMP): Likewise.
28216         (_FP_SQRT): Likewise.
28217         (_FP_TO_INT): Likewise.
28218         (_FP_FROM_INT): Likewise.
28219         (FP_EXTEND): Likewise.
28220         (_FP_DIV_MEAT_N_loop): Likewise.
28222 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28224         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28225         throughout.
28227 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28229         [BZ #17097]
28230         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28231         result with correct sign in case of exponents that produce
28232         overflow except for X very close to 1.
28234 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28236         mktime: merge #if/#ifdef usage from glibc
28237         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28238         as that works with both Glibc's and Gnulib's style.
28239         See thread starting at Siddhesh Poyarekar's bug report at:
28240         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28242 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28244         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28245         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28246         * sysdeps/tile/tilegx/memmove.c: Remove file.
28248 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28250         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28251         abi-name definition.
28252         * scripts/soversions.awk: Do not handle or generate ABI lines.
28253         * shlib-versions: Remove ABI entries.
28254         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28255         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28257 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28260         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28262         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28264         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28266         Moved ...
28267         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28268         ... here.
28269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28270         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28272         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28276         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28278         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28280         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28282         Moved ...
28283         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28285         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28289         Moved ...
28290         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28292         Moved ...
28293         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28295         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28297         Moved ...
28298         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28300         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28302         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28304         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28306         Moved ...
28307         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28309         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28310         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28311         Moved ...
28312         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28314         Moved ...
28315         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28317         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28319         Moved ...
28320         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28321         ... here.
28322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28323         Identical file removed.
28324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28325         Moved ...
28326         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28328         Identical file removed.
28329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28332         Moved ...
28333         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28335         Identical file removed.
28336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28337         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28339         Identical file removed.
28340         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28341         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28343         Identical file removed.
28344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28345         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28347         Identical file removed.
28348         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28349         Moved ...
28350         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28352         Identical file removed.
28353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28354         Moved ...
28355         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28357         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28359         Identical file removed.
28360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28361         Moved ...
28362         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28363         ... here.
28364         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28365         Identical file removed.
28366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28367         Moved ...
28368         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28370         Identical file removed.
28371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28372         Moved ...
28373         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28375         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28377         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28378         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28379         Moved ...
28380         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28381         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28382         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28384         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28385         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28386         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28387         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28388         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28390 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28392         [BZ #17092]
28393         * nscd/nscd.c (monitor_child): Return exit status of child
28394         instead of return value from wait syscall.
28396 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28398         * configure.ac (libc_commonpagesize): Remove variable.
28399         (libc_relro_required): Likewise.
28400         (libc_cv_z_relro): Remove configure test.
28401         * configure: Regenerated.
28402         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28403         variable.
28404         (libc_relro_required): Likewise.
28405         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28406         (libc_relro_required): Likewise.
28407         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28408         (libc_relro_required): Likewise.
28409         * sysdeps/arm/preconfigure: Regenerated.
28410         * sysdeps/ia64/preconfigure: Remove file.
28411         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28412         variable.
28413         (libc_relro_required): Likewise.
28415         [BZ #16561]
28416         [BZ #16562]
28417         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28418         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28419         recompute overflowing results in original rounding mode.
28420         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28421         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28422         recompute overflowing results in original rounding mode.
28423         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28424         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28425         recompute overflowing results in original rounding mode.
28426         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28427         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28428         recompute overflowing results in original rounding mode.
28429         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28430         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28431         recompute overflowing results in original rounding mode.
28432         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28433         (libc_feholdsetround_ctx): New macro.
28434         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28435         * sysdeps/i386/fpu/libm-test-ulps: Update.
28436         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28438 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28440         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28441         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28442         corresponding .cpsetup call.
28444 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28446         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28447         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28448         * sysdeps/arm/Makefile [$(subdir) = csu]
28449         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28450         (static-only-routines): Add aeabi_read_tp here.
28451         (shared-only-routines): Add libc-aeabi_read_tp here.
28452         (CFLAGS-libc-start.c): Add -fexceptions here.
28453         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28454         (sysdep_routines, static-only-routines, shared-only-routines):
28455         Don't add to these here.
28456         (CFLAGS-libc-start.c): Likewise.
28458         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28459         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28460         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28461         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28462         * sysdeps/arm/Makefile [$(subdir) = rt]
28463         (librt-sysdep_routines, librt-shared-only-routines):
28464         Append rt-aeabi_unwind_cpp_pr1 here.
28465         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28466         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28467         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28468         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28469         Append nptl-aeabi_unwind_cpp_pr1 here.
28470         (tests): Filter out tst-cleanupx4 here.
28471         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28472         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28473         Don't do those here.
28475 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28477         * scripts/list-sources.sh: Do not handle ports specially.
28479 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28481         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28482         * sysdeps/arm/feupdateenv.c: Likewise.
28484         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28486 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28488         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28489         trailing whitespace removed.
28490         * scripts/config.guess: Update to version 2014-03-23.
28491         * scripts/config.sub: Update to version 2014-05-01
28492         * scripts/install-sh: Update to version 2013-12-25.23.
28493         * scripts/move-if-change: Update from gnulib.
28495 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28497         * debug/memmove_chk.c: Remove pagecopy.h include.
28499 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28501         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28502         identical to gnulib mktime.
28504 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28506         * configure.ac: Do not test for machine being rs6000.  Do not test
28507         for powerpc*-*soft.
28508         * configure: Regenerated.
28510         [BZ #11505]
28511         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28512         test.
28513         * configure: Regenerated.
28514         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28515         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28516         Remove configure test.
28517         * sysdeps/arm/configure: Regenerated.
28518         * sysdeps/nptl/configure.ac: Do not check
28519         libc_cv_asm_cfi_directives.
28520         * sysdeps/nptl/configure: Regenerated.
28521         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28522         * sysdeps/x86_64/nptl/configure: Remove generated file.
28523         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28524         unconditional.
28525         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28527 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28529         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28530         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28531         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28532         it is defined.
28534         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28535         instead of whether it is defined.
28536         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28537         * sysdeps/hppa/dl-machine.h: Likewise.
28538         * sysdeps/ia64/dl-machine.h: Likewise.
28539         * sysdeps/m68k/dl-machine.h: Likewise.
28540         * sysdeps/microblaze/dl-machine.h: Likewise.
28541         * sysdeps/mips/dl-machine.: Likewise.
28542         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28543         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28544         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28545         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28546         * sysdeps/sh/dl-machine.h: Likewise.
28547         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28548         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28549         * sysdeps/tile/dl-machine.h: Likewise.
28550         * sysdeps/x86_64/dl-machine.h: Likewise.
28552         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28553         code.
28554         (verify_persistent_db): Likewise.
28556 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28559         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28561         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28563         Moved ...
28564         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28565         ... here.
28566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28567         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28569         Identical file removed.
28570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28571         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28573         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28575         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28577         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28579         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28581         Moved ...
28582         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28584         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28586         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28588         Moved ...
28589         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28591         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28593         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28595         Identical file removed.
28596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28597         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28599         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28601         Moved ...
28602         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28603         ... here.
28604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28605         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28607         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28609         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28611         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28613         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28615         Moved ...
28616         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28618         Moved ...
28619         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28621         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28623         Moved ...
28624         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28626         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28628         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28629         folded into ...
28630         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28631         * sysdeps/unix/sysv/linux/s390/Versions
28632         (libpthread: GLIBC_2.19): New version set.
28633         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28634         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28635         (librt: GLIBC_2.3.3): New version set.
28636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28637         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28638         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28639         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28640         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28641         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28642         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28643         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28644         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28645         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28646         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28647         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28648         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28649         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28650         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28651         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28652         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28653         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28654         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28655         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28656         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28658         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28660         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28661         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28662         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28663         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28664         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28665         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28666         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28667         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28668         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28672         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28674         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28676         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28677         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28678         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28680         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28683         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28684         (__libc_vfork): Define the function under this name.
28685         [!NOT_IN_libc] (__vfork): Make this an alias.
28686         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28688         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28689         (__libc_vfork): Define the function under this name.
28690         [!NOT_IN_libc] (__vfork): Make this an alias.
28691         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28692         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28693         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28696         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28698         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28699         code that was previously under [RESET_PID].
28700         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28701         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28704         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28705         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28706         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28707         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28708         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28709         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28710         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28711         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28712         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28713         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28714         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28715         Moved ...
28716         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28722         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28728         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28729         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28730         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28731         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28732         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28733         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28734         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28735         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28736         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28738         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28739         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28740         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28741         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28742         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28744         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28746 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28748         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28749         that was previously under [RESET_PID].
28750         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28752 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28754         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28755         not undefine and redefine.
28756         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28757         [O_CLOEXEC]: Make code unconditional.
28758         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28759         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28760         <kernel-features.h>.
28761         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28762         conditional variable definition.
28763         (shm_open) [O_CLOEXEC]: Make code unconditional.
28764         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28765         code.
28767         * configure.ac (USE_REGPARMS): Don't define here.
28768         * configure: Regenerated.
28769         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28770         * sysdeps/i386/configure: Regenerated.
28772         * nptl/createthread.c: Don't include kernel-features.h.
28773         * nptl/pthread_cancel.c: Likewise.
28774         * nptl/pthread_condattr_setclock.c: Likewise.
28775         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28776         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28777         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28778         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28779         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28780         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28781         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28783         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28784         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28785         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28786         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28787         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28788         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28789         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28790         * nscd/gai.c: Likewise.
28791         * nss/nss_db/db-open.c: Likewise.
28792         * sysdeps/generic/ldsodefs.h: Likewise.
28793         * sysdeps/sh/nptl/tls.h: Likewise.
28794         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28795         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28796         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28797         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28798         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28799         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28800         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28801         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28802         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28803         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28804         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28805         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28806         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28807         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28808         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28809         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28810         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28811         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28812         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28813         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28816         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28817         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28822         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28823         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28824         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28826         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28827         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28828         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28829         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28830         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28831         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28832         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28833         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28834         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28835         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28836         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28837         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28838         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28839         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28840         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28841         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28842         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28843         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28844         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28845         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28846         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28847         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28848         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28849         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28850         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28851         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28874         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28875         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28876         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28877         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28878         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28879         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28880         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28881         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28882         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28883         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28884         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28885         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28886         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28887         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28888         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28889         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28890         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28891         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28892         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28893         * sysdeps/unix/sysv/linux/system.c: Likewise.
28894         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28895         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28896         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28897         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28898         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28899         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28900         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28902         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28903         * configure: Regenerated.
28904         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28906         * configure.ac (base_machine): Do not set specially for particular
28907         machines here.
28908         * configure: Regenerated.
28909         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28910         settings from configure.ac.
28911         * sysdeps/i386/preconfigure: New file.
28912         * sysdeps/s390/preconfigure: Likewise.
28913         * sysdeps/sh/preconfigure: Likewise.
28914         * sysdeps/sparc/preconfigure: Likewise.
28916 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28918         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28919         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28920         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28921         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28922         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28923         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28924         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28925         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28926         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28927         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28928         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28929         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28930         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28931         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28932         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28933         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28935         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28936         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28938         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28939         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28940         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28941         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28942         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28943         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28944         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28945         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28946         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28947         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28948         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28949         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28950         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28951         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28952         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28953         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28954         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28955         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28956         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28957         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28958         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28959         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28961         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28962         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28963         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28965         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28966         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28967         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28968         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28969         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28970         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28971         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28972         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28973         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28974         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28975         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28978         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28980         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28982         Moved ...
28983         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28984         ... here.
28985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28986         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28988         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28990         Moved ...
28991         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28993         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28995         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28997         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28999         Moved ...
29000         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29002         Moved ...
29003         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29005         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29007         Moved ...
29008         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29010         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29012         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29014         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29018         Moved ...
29019         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29020         ... here.
29021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29022         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29024         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29026         Moved ...
29027         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29029         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29031         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29033         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29035         Moved ...
29036         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29038         Moved ...
29039         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29041         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29043         Moved ...
29044         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29046         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29048         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29050 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29052         * timezone/checktab.awk: Update from tzcode 2014e.
29053         * timezone/private.h: Likewise.
29054         * timezone/tzfile.h: Likewise.
29055         * timezone/zdump.c: Likewise.
29056         * timezone/zic.c: Likewise.
29058         * sysdeps/unix/sysv/linux/kernel-features.h
29059         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29060         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29061         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29062         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29063         Remove conditional code.
29065 2014-06-25  Will Newton  <will.newton@linaro.org>
29067         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29068         (_dl_arm_cap_flags): Add HWCAP2 values.
29069         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29070         (_DL_HWCAP_COUNT): Increase to 37.
29071         (_DL_HWCAP_LAST): New define.
29072         (_DL_HWCAP2_LAST): New define.
29073         (_dl_procinfo): Add support for printing
29074         AT_HWCAP2 entries.
29075         (_dl_string_hwcap): Use _dl_hwcap_string.
29077 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29081 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29083         * README: Do not mention ports directory.
29085         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29086         Remove macro.
29087         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29088         <kernel-features.h>.
29089         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29090         conditional variable definition.
29091         (__futimes): Update comment.
29092         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29093         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29095         [BZ #16560]
29096         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29097         arguments close to 0.
29098         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29099         Likewise.
29100         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29101         Likewise.
29102         * math/auto-libm-test-in: Add more tests of exp10.
29103         * math/auto-libm-test-out: Regenerated.
29104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29106         * sysdeps/unix/sysv/linux/kernel-features.h
29107         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29108         * sysdeps/unix/sysv/linux/readv.c: Do not include
29109         <kernel-features.h>.
29110         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29111         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29112         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29113         unconditional.
29114         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29115         conditional code.
29116         * sysdeps/unix/sysv/linux/writev.c: Do not include
29117         <kernel-features.h>.
29118         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29119         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29120         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29121         unconditional.
29122         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29123         conditional code.
29125 2014-06-25  Will Newton  <will.newton@linaro.org>
29127         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29128         comment changes throughout the file.  Remove checks
29129         for HAVE_*_H definitions that are not required.
29130         (__gen_tempname): Call abort if an unknown kind value is
29131         passed.
29133 2014-06-25  Andreas Schwab  <schwab@suse.de>
29135         [BZ #17086]
29136         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29137         scalbln, scalblnf, scalblnl in libc.
29139 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29141         [BZ #17086]
29142         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29143         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29144         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29146 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29148         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29149         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29150         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29151         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29152         Update #include.
29153         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29154         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29155         Update #include.
29156         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29157         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29158         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29159         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29160         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29161         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29162         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29163         * sysdeps/x86/bits/semaphore.h: ... here.
29164         * sysdeps/x86/nptl/elide.h: Moved ...
29165         * sysdeps/x86/elide.h: ... here.
29166         * sysdeps/x86_64/nptl/Implies: File removed.
29167         * sysdeps/i386/nptl/Implies: File removed.
29169 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29171         [BZ #16539]
29172         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29173         return the argument for normal arguments with exponent below -64.
29174         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29175         Likewise.
29176         * math/auto-libm-test-in: Add another test of expm1.
29177         * math/auto-libm-test-out: Regenerated.
29179         [BZ #16287]
29180         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29181         calling __erfcl for arguments at least 16.
29182         * math/auto-libm-test-in: Add more tests of erf.
29183         * math/auto-libm-test-out: Regenerated.
29185         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29186         individual architectures.
29187         * sysdeps/unix/sysv/linux/configure: Regenerated.
29188         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29189         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29190         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29191         (ldd_rewrite_script): Define variable.
29192         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29194         file.
29195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29196         generated file.
29197         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29198         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29199         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29200         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29201         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29202         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29203         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29204         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29206 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29208         [BZ #17084]
29209         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29210         Rename member __data.d to __data.__elision_data.
29212 2014-06-24  Wilco  <wdijkstr@arm.com>
29214         * NEWS: Add 16918 to fixed bug list.
29216 2014-06-24  Wilco  <wdijkstr@arm.com>
29218         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29220 2014-06-24  Wilco  <wdijkstr@arm.com>
29222         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29223         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29224         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29225         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29226         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29227         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29228         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29229         Use _FPU_MASK_RM.
29231 2014-06-24  Wilco  <wdijkstr@arm.com>
29233         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29235 2014-06-24  Wilco  <wdijkstr@arm.com>
29237         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29238         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29239         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29240         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29242 2014-06-24  Wilco  <wdijkstr@arm.com>
29244         [BZ #16918]
29245         * sysdeps/arm/feupdateenv.c (feupdateenv):
29246         Rewrite to reduce FPSCR accesses and fix return value.
29248 2014-06-24  Wilco  <wdijkstr@arm.com>
29250         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29251         Optimize to avoid unnecessary FPSCR writes.
29252         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29253         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29254         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29255         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29257 2014-06-24  Wilco  <wdijkstr@arm.com>
29259         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29260         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29261         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29262         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29263         Call libc_fetestexcept_vfp.
29264         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29265         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29266         __SOFTFP__ ifdef so that they can be built for softfp.
29268 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29270         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29271         argument type signed char.
29273         * Makerules (check-abi): Dump diff of symlist if the test
29274         fails.
29276 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29278         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29279         using abort.
29281         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29282         Remove unused variable ST.
29284 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29286         [BZ #16354]
29287         [BZ #17061]
29288         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29289         small arguments before calling __expm1.
29290         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29291         small arguments before calling __expm1f.
29292         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29293         small arguments before calling __expm1l.
29294         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29295         Likewise.
29296         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29297         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29298         spurious underflow for some cosh tests.
29299         * math/auto-libm-test-out: Regenerated.
29300         * sysdeps/i386/fpu/libm-test-ulps: Update.
29302         [BZ #17050]
29303         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29304         (__ieee754_y1): Set errno if return value overflows.
29305         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29306         (__ieee754_y1f): Set errno if return value overflows.
29307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29308         (__ieee754_y1l): Set errno if return value overflows.
29309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29310         (__ieee754_y1l): Set errno if return value overflows.
29311         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29312         * math/auto-libm-test-out: Regenerated.
29314         * math/gen-auto-libm-tests.c: Document use of
29315         ignore-zero-inf-sign.
29316         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29317         (input_flags): Add ignore-zero-inf-sign.
29318         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29319         * math/gen-libm-test.pl (generate_testfile): Handle
29320         ignore-zero-inf-sign.
29321         * math/auto-libm-test-in: Mark some cpow tests with
29322         ignore-zero-inf-sign and some with xfail-rounding.
29323         * math/auto-libm-test-out: Regenerated.
29324         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29325         * sysdeps/i386/fpu/libm-test-ulps: Update.
29326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29328         [BZ #16315]
29329         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29330         overflowing or underflowing operations take place with sign of
29331         result.
29332         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29333         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29334         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29335         (__ieee754_pow): Recompute overflowing and underflowing results in
29336         original rounding mode.
29337         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29338         (__powl_helper): Allow negative argument X and scale negated value
29339         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29340         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29341         overflowing or underflowing operations take place with sign of
29342         result.
29343         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29344         Include <math.h>.
29345         * math/auto-libm-test-in: Add more tests of pow.
29346         * math/auto-libm-test-out: Regenerated.
29347         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29348         (pow_tonearest_test_data): Remove.
29349         (pow_test_tonearest): Likewise.
29350         (pow_towardzero_test_data): Likewise.
29351         (pow_test_towardzero): Likewise.
29352         (pow_downward_test_data): Likewise.
29353         (pow_test_downward): Likewise.
29354         (pow_upward_test_data): Likewise.
29355         (pow_test_upward): Likewise.
29356         (main): Don't call removed functions.
29357         * sysdeps/i386/fpu/libm-test-ulps: Update.
29358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29360 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29363         Moved ...
29364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29366         Moved ...
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29369         Moved ...
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29372         Moved ...
29373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29375         File removed.
29376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29377         File removed.
29378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29379         File removed.
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29381         File removed.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29383         File removed.
29384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29385         File removed.
29386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29387         File removed.
29388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29389         File removed.
29390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29391         File removed.
29392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29393         File removed.
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29395         File removed.
29396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29397         File removed.
29398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29399         Moved ...
29400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29402         Moved ...
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29404         ... here.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29406         Moved ...
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29409         Moved ...
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29412         Moved ...
29413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29415         Moved ...
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29418         Moved ...
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29421         Moved ...
29422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29424         Moved ...
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29428         ... here.
29429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29430         Moved ...
29431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29433         Moved ...
29434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29435         ... here.
29436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29437         Moved ...
29438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29439         ... here.
29440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29441         Moved ...
29442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29443         ... here.
29444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29445         Moved ...
29446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29448         Moved ...
29449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29453         Moved ...
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29455         ... here.
29456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29457         Moved ...
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29459         ... here.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29461         Moved ...
29462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29464         Moved ...
29465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29467         Moved ...
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29470         Moved ...
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29473         Moved ...
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29475         ... here.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29477         Moved ...
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29480         Moved ...
29481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29483         Moved ...
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29486         Moved ...
29487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29491         Moved ...
29492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29494         Moved ...
29495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29497         Moved ...
29498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29499         ... here.
29500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29501         Moved ...
29502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29503         ... here.
29504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29505         Moved ...
29506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29507         ... here.
29508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29509         Moved ...
29510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29512         Moved ...
29513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29515         Moved ...
29516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29518         Moved ...
29519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29520         ... here.
29521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29522         Moved ...
29523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29524         ... here.
29525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29526         Moved ...
29527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29528         ... here.
29529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29530         Moved ...
29531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29533         Moved ...
29534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29536 2014-06-23  Will Newton  <will.newton@linaro.org>
29537             Wilco  <wdijkstr@arm.com>
29539         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29540         implementation.  Include get-rounding-mode.h.
29541         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29542         [!libc_feholdsetround_noex_ctx]: Define
29543         libc_feholdsetround_noex_ctx.
29544         [!libc_feholdsetround_noexf_ctx]: Define
29545         libc_feholdsetround_noexf_ctx.
29546         [!libc_feholdsetround_noexl_ctx]: Define
29547         libc_feholdsetround_noexl_ctx.
29548         (libc_feholdsetround_ctx): New function.
29549         (libc_feresetround_ctx): New function.
29550         (libc_feholdsetround_noex_ctx): New function.
29551         (libc_feresetround_noex_ctx): New function.
29553 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29555         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29556         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29557         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29558         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29559         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29560         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29562         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29563         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29564         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29565         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29566         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29567         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29569         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29571         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29573         Moved ...
29574         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29575         ... here.
29576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29577         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29579         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29581         Moved ...
29582         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29584         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29590         Moved ...
29591         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29592         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29593         Moved ...
29594         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29595         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29596         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29597         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29598         Moved ...
29599         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29600         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29601         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29602         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29603         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29604         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29605         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29607         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29608         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29609         Moved ...
29610         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29611         ... here.
29612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29615         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29617         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29619         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29620         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29621         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29623         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29624         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29625         Moved ...
29626         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29627         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29628         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29629         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29630         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29631         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29632         Moved ...
29633         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29635         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29636         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29637         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29639         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29640         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29641         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29642         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29643         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29644         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29645         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29646         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29647         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29648         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29649         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29650         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29651         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29652         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29653         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29654         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29655         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29656         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29657         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29658         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29659         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29660         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29661         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29662         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29663         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29664         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29665         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29666         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29668 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29670         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29671         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29672         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29673         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29674         (IPV6_PMTUDISC_INTERFACE): Likewise.
29675         (IPV6_PMTUDISC_OMIT): Likewise.
29677 2014-06-23  Andreas Schwab  <schwab@suse.de>
29679         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29680         Remove unused errout label.
29682 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29684         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29685         macro: hardware supports Vector Crypto instructions.
29687 2014-06-23  Will Newton  <will.newton@linaro.org>
29689         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29690         rather than __builtin_expect.
29692         * elf/dl-lookup.c (undefined_msg): Remove variable.
29693         (_dl_lookup_symbol_x): Replace undefined_msg with string
29694         literal.
29696         * elf/dl-lookup.c (do_lookup_unique): New function.
29697         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29698         to a separate function.
29700 2014-06-23  Andreas Schwab  <schwab@suse.de>
29702         [BZ #17079]
29703         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29704         before reading the next line.
29706 2014-06-23  Will Newton  <will.newton@linaro.org>
29708         * test-skeleton.c (signal_handler): Use printf and %m
29709         rather than perror.  Use printf rather than fprintf to
29710         stderr.  Use puts rather than fputs to stderr.
29711         (main): Likewise.
29713 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29715         * nscd/nscd.c (thread_info_t): Remove typedef.
29716         (thread_info): Remove variable.
29718 2014-06-21  Allan McRae  <allan@archlinux.org>
29720         * NEWS: Mention CVE-2014-4043.
29722 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29724         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29725         * nptl/smp.h: ... here.
29727         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29729         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29730         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29731         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29732         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29734         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29735         * nptl/stack-aliasing.h: New file.
29736         * sysdeps/i386/i686/stack-aliasing.h: New file.
29737         * sysdeps/i386/i686/nptl/Makefile: File removed.
29738         * sysdeps/x86_64/stack-aliasing.h: New file.
29739         * sysdeps/x86_64/nptl/Makefile
29740         (CFLAGS-pthread_create.c): Variable removed.
29742         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29743         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29744         old file.
29745         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29746         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29747         old file.
29749 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29752         (__ASSUME_SIGFRAME_V2): Remove macro.
29753         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29754         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29755         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29756         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29757         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29758         Declare as function.  Remove conditional macro definitions.
29759         (__default_rt_sa_restorer): Likewise.
29760         (__default_sa_restorer_v1): Remove declaration.
29761         (__default_sa_restorer_v2): Likewise.
29762         (__default_rt_sa_restorer_v1): Likewise.
29763         (__default_rt_sa_restorer_v2): Likewise.
29764         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29765         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29766         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29768 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29770         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29771         (libpthread-routines): Add sysdep.
29772         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29773         * sysdeps/unix/sysv/linux/sparc/Versions
29774         (libpthread: GLIBC_2.3.3): New version set.
29775         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29776         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29777         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29778         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29779         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29780         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29781         Moved ...
29782         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29784         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29785         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29786         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29787         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29788         * sysdeps/sparc/nptl/sem_init.c: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29790         * sysdeps/sparc/nptl/sem_post.c: ... here.
29791         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29792         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29793         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29794         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29795         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29796         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29797         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29798         (libpthread-routines): Add cpu_relax.
29799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29800         File removed.
29801         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29802         (librt: GLIBC_2.3.3): New version set.
29803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29804         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29805         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29806         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29809         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29811         Moved ...
29812         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29814         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29816         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29818         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29820         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29822         Moved ...
29823         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29824         Update #include.
29825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29826         Moved ...
29827         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29828         Update #include.
29829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29830         Moved ...
29831         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29832         Update #include.
29833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29834         Moved ...
29835         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29836         Update #include.
29837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29838         Moved ...
29839         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29840         Update #include.
29841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29842         Moved ...
29843         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29844         Update #include.
29845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29846         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29848         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29852         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29854         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29856         Moved ...
29857         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29859         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29861         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29863 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29865         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29866         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29867         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29868         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29869         * nscd/nscd.c: Likewise.
29870         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29871         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29872         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29873         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29875         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29876         <kernel-features.h>.
29877         (init_mq_netlink): Remove conditional have_sock_cloexec
29878         definitions.  Remove code conditional on have_sock_cloexec < 0.
29879         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29880         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29881         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29882         <kernel-features.h>.
29883         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29884         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29886 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29889         Add tests for memset_chk and memset.
29891         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29892         with AVX2_Usable.
29894 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29896         [BZ #16046]
29897         * elf/tst-dl-iter-static.c: New file.
29898         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29900         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29901         error.
29903 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29905         * sysdeps/unix/sysv/linux/kernel-features.h
29906         (__ASSUME_F_GETOWN_EX): Remove macro.
29907         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29908         <kernel-features.h>.
29909         (miss_F_GETOWN_EX): Remove variable or macro.
29910         (do_fcntl): Do not check miss_F_GETOWN_EX.
29911         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29914         Remove macro.
29915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29916         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29917         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29919         * sysdeps/unix/sysv/linux/kernel-features.h
29920         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29921         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29922         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29923         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29925 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29927         [BZ #17075]
29928         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29929         Fix calculation of the symbol's value.
29930         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29931         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29932         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29933         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29934         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29935         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29936         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29937         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29938         (modules-names): Add `tst-armtlsdescmod',
29939         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29940         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29941         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29942         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29943         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29944         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29945         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29946         ($(objpfx)tst-armtlsdescloc): New dependency.
29947         ($(objpfx)tst-armtlsdescextnow): Likewise.
29948         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29949         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29950         TLS scheme support.
29951         * sysdeps/arm/configure: Regenerate.
29953 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29955         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29956         (__atfct_seterrno_2): Likewise.
29957         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29958         <kernel-features.h>.
29959         (__ASSUME_ATFCTS): Do not undefine and redefine.
29960         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29961         (__have_atfcts): Remove conditional definition.
29962         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29963         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29964         unreachable if [__ASSUME_ATFCTS].
29965         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29966         not undefine and redefine.
29967         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29968         <kernel-features.h>.
29969         (faccessat) [__NR_faccessat]: Make code unconditional.
29970         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29971         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29972         <kernel-features.h>.
29973         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29974         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29975         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29976         <kernel-features.h>.
29977         (fchownat) [__NR_fchownat]: Make code unconditional.
29978         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29979         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29980         <kernel-features.h>.
29981         (futimesat) [__NR_futimesat]: Make code unconditional.
29982         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29983         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29984         <kernel-features.h>.
29985         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29987         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29988         <kernel-features.h>.
29989         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29990         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29991         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29992         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29993         <kernel-features.h>.
29994         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29995         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29996         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29997         <kernel-features.h>.
29998         (linkat) [__NR_linkat]: Make code unconditional.
29999         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30000         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30001         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30002         <kernel-features.h>.
30003         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30004         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30005         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30006         <kernel-features.h>.
30007         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30008         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30009         * sysdeps/unix/sysv/linux/openat.c: Do not include
30010         <kernel-features.h>.
30011         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30012         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30013         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30014         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30015         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30016         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30017         <kernel-features.h>.
30018         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30019         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30020         result of INLINE_SYSCALL directly, not via int variable.
30021         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30022         <kernel-features.h>.
30023         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30024         (renameat) [__NR_renameat]: Make code unconditional.
30025         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30026         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30027         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30028         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30029         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30030         (__ASSUME_ATFCTS): Do not undefine and redefine.
30031         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30032         <kernel-features.h>.
30033         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30034         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30035         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30036         <kernel-features.h>.
30037         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30038         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30039         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30040         (__ASSUME_ATFCTS): Do not undefine and redefine.
30041         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30042         <kernel-features.h>.
30043         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30044         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30045         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30046         <kernel-features.h>.
30047         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30048         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30050 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30052         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30054 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30056         [BZ #17069]
30057         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30058         constructed tree before returning error.
30059         * posix/bug-regexp36.c: Expand test case.
30061 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30063         [BZ #6803]
30064         * math/libm-test.inc (scalbln_test_date):
30065         Add errno expectations.
30066         * math/w_scalblnf.c: New File.
30067         Add wrapper which checks for setting errno to ERANGE.
30068         Add weak_alias for corresponding scalbln function.
30069         * math/w_scalbln.c: Likewise.
30070         * math/w_scalblnl.c: Likewise.
30071         * math/Makefile (libm-calls): Add w_scalbln.
30072         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30073         Remove weak_alias for corresponding scalbln function.
30074         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30078         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30079         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30080         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30081         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30082         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30083         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30084         Remove long_double_symbol for scalblnl function in libm, libc.
30085         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30086         Add wrapper which checks for setting errno to ERANGE.
30087         Add long_double_symbol for scalblnl function in libm, libc.
30088         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30089         Remove long_double_symbol for scalblnl in libm.
30090         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30091         Add wrapper which checks for setting errno to ERANGE.
30092         Add long_double_symbol for scalblnl function in libm.
30093         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30094         Do not use wrapper because of own implementation.
30096 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30098         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30099         3 bytes for __pad1 for x32.
30100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30102 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30103             H.J. Lu  <hongjiu.lu@intel.com>
30105         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30106         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30107         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30108         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30109         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30111 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30113         [BZ #17069]
30114         * posix/regcomp.c (parse_expression): Deallocate partially
30115         constructed tree before returning error.
30116         * posix/Makefile.c (tests): Add bug-regex36.
30117         (generated): Add bug-regex36.mtrace.
30118         (tests-special): Add $(objpfx)bug-regex36-mem.out
30119         (bug-regex36-ENV): New variable.
30120         ($(objpfx)bug-regex36-mem.out): New rule.
30121         * posix/bug-regex36.c: New file.
30123 2014-06-19  Will Newton  <will.newton@linaro.org>
30125         * malloc/malloc.c (systrim): If extra is zero then return
30126         early.
30128 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30130         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30132 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30134         * sysdeps/aarch64/strchr.S: New file.
30136 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30138         [BZ #17022]
30139         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30140         from arguments -2 or below.
30141         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30142         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30144 2014-06-18  Andreas Schwab  <schwab@suse.de>
30146         [BZ #17062]
30147         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30148         of a bracket expr not to run off the end of the string.
30149         * posix/Makefile (tests): Add tst-fnmatch3.
30150         * posix/tst-fnmatch3.c: New file.
30152 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30154         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30155         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30156         [$(cross-compiling) = no]: Likewise.
30157         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30158         [$(cross-compiling) = no]: Likewise.
30160 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30162         [BZ #17031]
30163         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30164         double, adjusted for any remainder from the high double.
30165         * math/libm-test.inc (nearbyint): Add tests.
30166         (rint): Likewise.
30168 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30170         * nptl/sysdeps/powerpc/Makefile: Moved ...
30171         * sysdeps/powerpc/nptl/Makefile: ... here.
30172         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30173         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30174         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30175         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30176         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30177         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30178         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30179         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30180         * nptl/sysdeps/powerpc/tls.h: Moved ...
30181         * sysdeps/powerpc/nptl/tls.h: ... here.
30183 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30185         [BZ #16681]
30186         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30187         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30188         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30189         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30190         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30191         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30192         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30193         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30194         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30196 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30198         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30200 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30202         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30203         defined operator.
30205         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30206         $TIMEOUTFACTOR.
30208 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30210         [BZ #17058]
30211         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30212         non-executed part of the test.
30214 2014-06-16  Andreas Schwab  <schwab@suse.de>
30216         * string/bits/string2.h (strdup, strndup): Update feature guard.
30218 2014-06-14  David S. Miller  <davem@davemloft.net>
30220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30222 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30224         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30225         that was previously under [RESET_PID].
30226         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30228         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30229         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30230         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30232         (__libc_vfork): New strong alias.
30233         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30235 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30237         * sysdeps/generic/elide.h: New file.
30239 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30241         * Makefile (installed-headers): Adjust path of pthread.h header.
30243 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30245         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30246         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30247         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30248         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30250         * nptl/sysdeps/s390/Makefile: Moved ...
30251         * sysdeps/s390/nptl/Makefile: ... here.
30252         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30253         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30254         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30255         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30256         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30257         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30258         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30259         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30260         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30261         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30262         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30263         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30264         * nptl/sysdeps/s390/tls.h: Moved ...
30265         * sysdeps/s390/nptl/tls.h: ... here.
30267         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30268         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30270 2014-06-13  David S. Miller  <davem@davemloft.net>
30272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30274         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30275         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30279         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30280         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30281         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30282         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30283         Remove RESET_PID cpp guards.
30284         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30285         Remove RESET_PID cpp guards.
30286         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30288 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30290         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30291         __sp to uintptr_t.
30293 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30295         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30296         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30297         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30299         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30300         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30301         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30302         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30303         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30304         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30307         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30309         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30310         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30312         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30314         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30316         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30317         (pthread_rwlock_rdlock): Add elision.
30318         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30319         (pthread_rwlock_wrlock): Add elision.
30320         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30321         (pthread_rwlock_trywrlock): Add elision.
30322         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30323         (pthread_rwlock_tryrdlock): Add elision.
30324         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30325         (pthread_rwlock_tryrdlock): Add elision unlock.
30326         * nptl/sysdeps/pthread/pthread.h:
30327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30328         (PTHREAD_RWLOCK_INITIALIZER,
30329         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30330         Handle new elision field.
30331         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30332         * sysdeps/arm/nptl/bits/pthreadtypes.h
30333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30334         * sysdeps/sh/nptl/bits/pthreadtypes.h
30335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30336         * sysdeps/tile/nptl/bits/pthreadtypes.h
30337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30338         * sysdeps/a/nptl/bits/pthreadtypes.h
30339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30340         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30342         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30344         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30346         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30348         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30350         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30351         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30352         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30353         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30354         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30355         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30356         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30357         (elision_init): Set try_xbegin to zero when no RTM.
30358         * sysdeps/x86/nptl/bits/pthreadtypes.h
30359         (pthread_rwlock_t): Change __pad1 to __rwelision.
30360         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30362 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30364         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30365         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30366         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30367         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30369 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30371         [BZ #16996]
30372         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30373         that the cached result has been set before returning it.
30375 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30377         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30378         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30379         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30380         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30381         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30382         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30384         * nptl/sysdeps/sparc/Makefile: Moved ...
30385         * sysdeps/sparc/nptl/Makefile: ... here.
30386         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30387         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30388         * nptl/sysdeps/sparc/tls.h: Moved ...
30389         * sysdeps/sparc/nptl/tls.h: ... here.
30390         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30391         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30392         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30393         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30394         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30395         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30396         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30397         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30398         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30399         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30400         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30401         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30402         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30403         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30404         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30405         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30406         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30407         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30408         Update #include.
30409         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30411         Update #include.
30412         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30414         Update #include.
30415         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30416         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30417         Update #include.
30419         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30421         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30422         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30424         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30425         (struct list_links): Type removed.
30426         (struct thread_node, struct timer_node): Replace struct list_links
30427         with struct list_head.
30428         (list_unlink_ip): Likewise.
30429         * sysdeps/pthread/timer_routines.c
30430         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30431         (list_append, list_insbefore): Likewise.
30432         (list_init): Function removed.
30433         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30434         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30435         * sysdeps/pthread/Makefile: ... here, new file.
30437         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30438         * sysdeps/nptl/Implies: ... here.
30439         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30440         * nptl/sysdeps/pthread/list.h: Moved ...
30441         * include/list.h: ... here.
30442         * nptl/sysdeps/pthread/createthread.c: Moved ...
30443         * nptl/createthread.c: ... here.
30444         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30445         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30446         * nptl/pt-longjmp.c: ... here.
30447         * nptl/sysdeps/pthread/Makefile: Moved ...
30448         * sysdeps/nptl/Makefile: ... here.
30449         * nptl/sysdeps/pthread/Subdirs: Moved ...
30450         * sysdeps/nptl/Subdirs: ... here.
30451         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30452         * sysdeps/nptl/aio_misc.h: ... here.
30453         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30454         * sysdeps/nptl/bits/libc-lock.h: ... here.
30455         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30456         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30457         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30458         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30459         * nptl/sysdeps/pthread/configure: Moved ...
30460         * sysdeps/nptl/configure: ... here.
30461         * nptl/sysdeps/pthread/configure.ac: Moved ...
30462         * sysdeps/nptl/configure.ac: ... here.
30463         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30464         * sysdeps/nptl/gai_misc.h: ... here.
30465         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30466         * sysdeps/nptl/librt-cancellation.c: ... here.
30467         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30468         * sysdeps/nptl/malloc-machine.h: ... here.
30469         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30470         * sysdeps/nptl/pthread-functions.h: ... here.
30471         * nptl/sysdeps/pthread/pthread.h: Moved ...
30472         * sysdeps/nptl/pthread.h: ... here.
30473         * nptl/sysdeps/pthread/setxid.h: Moved ...
30474         * sysdeps/nptl/setxid.h: ... here.
30475         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30476         * sysdeps/nptl/sigfillset.c: ... here.
30477         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30478         * sysdeps/nptl/tcb-offsets.h: ... here.
30479         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30480         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30481         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30482         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30483         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30484         * sysdeps/pthread/allocalim.h: ... here.
30485         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30486         * sysdeps/pthread/bits/sigthread.h: ... here.
30487         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30488         * sysdeps/pthread/flockfile.c: ... here.
30489         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30490         * sysdeps/pthread/ftrylockfile.c: ... here.
30491         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30492         * sysdeps/pthread/funlockfile.c: ... here.
30493         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30494         * sysdeps/pthread/posix-timer.h: ... here.
30495         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30496         * sysdeps/pthread/timer_create.c: ... here.
30497         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30498         * sysdeps/pthread/timer_delete.c: ... here.
30499         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30500         * sysdeps/pthread/timer_getoverr.c: ... here.
30501         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30502         * sysdeps/pthread/timer_gettime.c: ... here.
30503         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30504         * sysdeps/pthread/timer_routines.c: ... here.
30505         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30506         * sysdeps/pthread/timer_settime.c: ... here.
30507         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30508         * sysdeps/pthread/tst-timer.c: ... here.
30509         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30510         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30512         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30513         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30515         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30516         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30517         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30518         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30519         Update #include target.
30520         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30521         * sysdeps/i386/i686/nptl/Makefile: ... here.
30522         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30523         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30524         Update #include target.
30525         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30526         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30527         * nptl/sysdeps/i386/Makefile: Moved ...
30528         * sysdeps/i386/nptl/Makefile: ... here.
30529         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30530         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30531         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30532         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30533         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30534         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30535         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30536         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30537         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30538         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30539         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30540         * nptl/sysdeps/i386/tls.h: Moved ...
30541         * sysdeps/i386/nptl/tls.h: ... here.
30543         * sysdeps/sh/Makefile [$(subdir) = csu]
30544         (gen-as-const-headers): Add tcb-offsets.sym.
30545         * nptl/sysdeps/sh/Makefile: File removed.
30546         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30547         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30548         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30549         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30550         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30551         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30552         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30553         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30554         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30555         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30556         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30557         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30558         * nptl/sysdeps/sh/tls.h: Moved ...
30559         * sysdeps/sh/nptl/tls.h: ... here.
30560         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30561         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30562         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30563         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30564         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30565         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30567         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30568         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30569         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30571         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30573         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30575         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30577         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30579         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30581         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30582         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30583         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30585         Moved ...
30586         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30587         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30588         Moved ...
30589         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30591         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30593         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30595         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30597         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30599         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30601         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30602         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30603         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30604         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30605         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30606         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30607         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30609 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30611         * posix/spawn_faction_addopen.c: Include string.h.
30613 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30615         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30616         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30617         * nptl/sysdeps/x86_64/Makefile: Moved ...
30618         * sysdeps/x86_64/nptl/Makefile: ... here.
30619         * nptl/sysdeps/x86_64/configure: Moved ...
30620         * sysdeps/x86_64/nptl/configure: ... here.
30621         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30622         * sysdeps/x86_64/nptl/configure.ac: ... here.
30623         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30624         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30625         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30626         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30627         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30628         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30629         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30630         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30631         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30632         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30633         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30634         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30635         * nptl/sysdeps/x86_64/tls.h: Moved ...
30636         * sysdeps/x86_64/nptl/tls.h: ... here.
30637         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30638         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30639         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30640         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30642         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30644 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30648 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30650         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30651         type.
30652         [POSIX] (off_t): Likewise.
30653         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30654         [POSIX] (S_ISBLK): Require macro.
30655         [POSIX] (S_ISCHR): Likewise.
30656         [POSIX] (S_ISDIR): Likewise.
30657         [POSIX] (S_ISFIFO): Likewise.
30658         [POSIX] (S_ISREG): Likewise.
30659         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30660         optional-macro.
30661         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30662         type.
30663         [POSIX] (time_t): Likewise.
30664         [POSIX] (timer_t): Likewise.
30666 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30668         [BZ #17048]
30669         * posix/spawn_int.h (struct __spawn_action): Make the path string
30670         non-const to support deallocation.
30671         * posix/spawn_faction_addopen.c
30672         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30673         * posix/spawn_faction_destroy.c
30674         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30675         path in all spawn_do_open actions.
30676         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30677         posix_spawn_file_actions_addopen.
30679 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30681         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30682         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30683         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30684         conditional code always true.
30685         (__libc_vfork): New alias.
30687 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30689         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30690         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30692         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30694         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30695         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30697         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30698         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30700         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30701         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30703 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30705         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30706         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30707         multiarch strcmp for PPC64.
30708         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30709         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30711         multiarch optimizations.
30712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30713         (__libc_ifunc_impl_list): Likewise.
30715 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30717         * benchtests/scripts/validate_benchout.py: New script.
30718         * benchtests/Makefile (bench-func): Call it.
30719         * benchtests/scripts/benchout.schema.json: New file.
30721 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30723         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30724         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30725         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30726         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30727         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30728         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30729         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30730         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30731         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30732         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30733         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30734         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30735         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30736         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30737         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30738         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30740         Moved ...
30741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30742         ... here.
30743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30744         Moved ...
30745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30747         Moved ...
30748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30749         ... here.
30750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30751         Moved ...
30752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30753         ... here.
30754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30755         Moved ...
30756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30758         Moved ...
30759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30760         ... here.
30761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30762         Moved ...
30763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30764         ... here.
30765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30766         Moved ...
30767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30769         Moved ...
30770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30771         ... here.
30772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30773         Moved ...
30774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30775         ... here.
30776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30777         Moved ...
30778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30779         ... here.
30780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30781         Moved ...
30782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30784         Moved ...
30785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30786         ... here.
30787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30788         Moved ...
30789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30790         ... here.
30791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30792         Moved ...
30793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30794         ... here.
30795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30796         Moved ...
30797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30799         Moved ...
30800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30801         ... here.
30802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30803         Moved ...
30804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30805         ... here.
30806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30807         Moved ...
30808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30810         Moved ...
30811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30812         ... here.
30813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30814         Moved ...
30815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30817         Moved ...
30818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30820         Moved ...
30821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30822         ... here.
30823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30824         Moved ...
30825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30826         ... here.
30827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30828         Moved ...
30829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30830         ... here.
30831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30832         Moved ...
30833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30835         Moved ...
30836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30837         ... here.
30838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30839         Moved ...
30840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30841         ... here.
30842         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30843         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30845         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30847         Moved ...
30848         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30849         ... here.
30850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30851         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30855         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30857         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30859         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30861         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30863         Moved ...
30864         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30865         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30866         Moved ...
30867         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30868         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30869         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30870         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30874         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30875         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30876         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30877         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30878         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30880 2014-06-10  Wilco  <wdijkstr@arm.com>
30882         * math/test-fenv-return.c: New file.
30883         * math/Makefile: Add new test test-fenv-return.
30885 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30887         [BZ #17042]
30888         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30889         when x - 1 is zero.
30890         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30891         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30892         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30893         0.0L for an argument of 1.0L.
30894         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30895         Likewise.
30896         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30897         value when x - 1 is zero.
30898         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30899         * sysdeps/i386/fpu/libm-test-ulps: Update.
30900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30902 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30904         [BZ #15119]
30905         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30907 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30909         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30910         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30912 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30914         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30915         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30917         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30918         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30920         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30921         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30923         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30924         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30926         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30927         if not already defined.
30928         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30929         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30930         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30931         (TLS_INIT_TP): Use it.
30932         (TLS_DEFINE_INIT_TP): New macro.
30933         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30935 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30937         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30938         constant.
30939         [POSIX] (IXANY): Likewise.
30940         [POSIX] (OLCUC): Likewise.
30941         [POSIX || POSIX2008] (CBAUD): Do not allow.
30942         [POSIX || POSIX2008] (DEFECHO): Likewise.
30943         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30944         [POSIX || POSIX2008] (ECHOKE): Likewise.
30945         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30946         [POSIX || POSIX2008] (EXTA): Likewise.
30947         [POSIX || POSIX2008] (EXTB): Likewise.
30948         [POSIX || POSIX2008] (FLUSHO): Likewise.
30949         [POSIX || POSIX2008] (LOBLK): Likewise.
30950         [POSIX || POSIX2008] (PENDIN): Likewise.
30951         [POSIX || POSIX2008] (SWTCH): Likewise.
30952         [POSIX || POSIX2008] (VDISCARD): Likewise.
30953         [POSIX || POSIX2008] (VDSUSP): Likewise.
30954         [POSIX || POSIX2008] (VLNEXT): Likewise.
30955         [POSIX || POSIX2008] (VREPRINT): Likewise.
30956         [POSIX || POSIX2008] (VSTATUS): Likewise.
30957         [POSIX || POSIX2008] (VWERASE): Likewise.
30958         (B*): Change to B[0123456789]*.
30959         * conform/data/time.h-data [POSIX || UNIX98]
30960         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30961         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30962         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30963         [POSIX] (tm_*): Do not allow.
30965 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30967         * Makefile (install): Don't set LANGUAGE.
30968         * Makefile.in (install): Likewise.
30969         * assert/Makefile (test-assert-ENV): Remove variable.
30970         (test-assert-perr-ENV): Likewise.
30971         * elf/Makefile (neededtest4-ENV): Likewise.
30972         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30973         [$(cross-compiling) = no]: Don't set LANGUAGE.
30974         * io/ftwtest-sh (LANG): Remove variable.
30975         * libio/Makefile (tst-widetext-ENV): Likewise.
30976         * manual/install.texi (Running make install): Don't refer to
30977         environment settings for make install.
30978         * INSTALL: Regenerated.
30979         * nptl/tst-tls6.sh: Don't set LANG.
30980         * posix/globtest.sh (LANG): Remove variable.
30981         * string/Makefile (tester-ENV): Likewise.
30982         (inl-tester-ENV): Likewise.
30983         (noinl-tester-ENV): Likewise.
30984         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30985         [$(cross-compiling) = no]: Don't set LANGUAGE.
30986         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30987         without explicit environment settings.
30989 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30991         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30992         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30993         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30994         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30996 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30998         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30999         other files in the crypt directory.
31000         * crypt/crypt.c: Remove duplicate includes.
31001         * crypt/crypt-entry.c: Likewise.
31002         * crypt/crypt_util.c: Likewise.
31004 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31006         * Makeconfig (run-program-env): New variable.
31007         (run-program-prefix-before-env): Likewise.
31008         (run-program-prefix-after-env): Likewise.
31009         (run-program-prefix): Define in terms of new variables.
31010         (built-program-cmd-before-env): New variable.
31011         (built-program-cmd-after-env): Likewise.
31012         (built-program-cmd): Define in terms of new variables.
31013         (test-program-prefix-before-env): New variable.
31014         (test-program-prefix-after-env): Likewise.
31015         (test-program-prefix): Define in terms of new variables.
31016         (test-program-cmd-before-env): New variable.
31017         (test-program-cmd-after-env): Likewise.
31018         (test-program-cmd): Define in terms of new variables.
31019         * Rules (make-test-out): Use $(run-program-env).
31020         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31021         (help): Do not mention environment variables.  Mention
31022         --timeoutfactor option.
31023         (timeoutfactor): New variable.
31024         (blacklist_exports): Remove function.
31025         (exports): Remove variable.
31026         (command): Do not include ${exports}.
31027         * manual/install.texi (Configuring and compiling): Do not mention
31028         test wrappers preserving environment variables.  Mention that last
31029         assignment to a variable must take precedence.
31030         * INSTALL: Regenerated.
31031         * benchtests/Makefile (run-bench): Use $(run-program-env).
31032         * catgets/Makefile ($(objpfx)test1.cat): Use
31033         $(built-program-cmd-before-env), $(run-program-env) and
31034         $(built-program-cmd-after-env).
31035         ($(objpfx)test2.cat): Do not specify environment variables
31036         explicitly.
31037         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31038         $(run-program-env) and $(built-program-cmd-after-env).
31039         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31040         $(run-program-env) and $(test-program-cmd-after-env).
31041         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31042         explicitly.
31043         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31044         run_program_env and test_program_cmd_after_env arguments.
31045         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31046         * elf/tst-pathopt.sh: Use run_program_env argument.
31047         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31048         $(test-wrapper-env) and $(run-program-env).
31049         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31050         run_program_env arguments.
31051         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31052         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31053         $(test-program-prefix-before-env), $(run-program-env) and
31054         $(test-program-prefix-after-env).
31055         ($(objpfx)tst-gettext2.out): Likewise.
31056         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31057         run_program_env and test_program_prefix_after_env arguments.
31058         * intl/tst-gettext2.sh: Likewise.
31059         * intl/tst-gettext4.sh: Do not set environment variables
31060         explicitly.
31061         * intl/tst-gettext6.sh: Likewise.
31062         * intl/tst-translit.sh: Likewise.
31063         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31064         $(test-program-prefix-before-env), $(run-program-env) and
31065         $(test-program-prefix-after-env).
31066         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31067         run_program_env and test_program_prefix_after_env arguments.
31068         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31069         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31070         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31071         explicitly with each use of ${test_wrapper_env}.
31072         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31073         $(test-program-prefix-before-env), $(run-program-env) and
31074         $(test-program-prefix-after-env).
31075         * posix/tst-getconf.sh: Do not set environment variables
31076         explicitly.
31077         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31078         run_program_env and test_program_prefix_after_env arguments.
31079         * stdio-common/tst-printf.sh: Do not set environment variables
31080         explicitly.
31081         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31082         $(test-program-prefix-before-env), $(run-program-env) and
31083         $(test-program-prefix-after-env).
31084         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31085         run_program_env and test_program_prefix_after_env arguments.
31086         Split $test calls into $test_pre and $test.
31087         * timezone/Makefile (build-testdata): Use
31088         $(built-program-cmd-before-env), $(run-program-env) and
31089         $(built-program-cmd-after-env).
31091 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31093         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31094         strlen for non SHARED builds.
31096 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098         * nptl/allocatestack.c (check_list): Inlined function...
31099         (__reclaim_stacks): ... here.
31101 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31103         [BZ #15698]
31104         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31105         memory overrun.
31107 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31109         * Rules (make-test-out): Include
31110         LOCPATH=$(common-objpfx)localedata in default environment.
31111         * debug/Makefile (tst-chk1-ENV): Remove variable.
31112         (tst-chk2-ENV): Likewise.
31113         (tst-chk3-ENV): Likewise.
31114         (tst-chk4-ENV): Likewise.
31115         (tst-chk5-ENV): Likewise.
31116         (tst-chk6-ENV): Likewise.
31117         (tst-lfschk1-ENV): Likewise.
31118         (tst-lfschk2-ENV): Likewise.
31119         (tst-lfschk3-ENV): Likewise.
31120         (tst-lfschk4-ENV): Likewise.
31121         (tst-lfschk5-ENV): Likewise.
31122         (tst-lfschk6-ENV): Likewise.
31123         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31124         (tst-iconv7-ENV): Likewise.
31125         * intl/Makefile (LOCPATH-ENV): Likewise.
31126         (tst-codeset-ENV): Likewise.
31127         (tst-gettext3-ENV): Likewise.
31128         (tst-gettext5-ENV): Likewise.
31129         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31130         (tst-fopenloc-ENV): Likewise.
31131         (tst-fgetws-ENV): Remove variable.
31132         (tst-ungetwc1-ENV): Likewise.
31133         (tst-ungetwc2-ENV): Likewise.
31134         (bug-ungetwc2-ENV): Likewise.
31135         (tst-swscanf-ENV): Likewise.
31136         (bug-ftell-ENV): Likewise.
31137         (tst-fgetwc-ENV): Likewise.
31138         (tst-fseek-ENV): Likewise.
31139         (tst-ftell-partial-wide-ENV): Likewise.
31140         (tst-ftell-active-handler-ENV): Likewise.
31141         (tst-ftell-append-ENV): Likewise.
31142         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31143         (tst-regexloc-ENV): Likewise.
31144         (bug-regex1-ENV): Likewise.
31145         (tst-regex-ENV): Likewise.
31146         (tst-regex2-ENV): Likewise.
31147         (bug-regex5-ENV): Likewise.
31148         (bug-regex6-ENV): Likewise.
31149         (bug-regex17-ENV): Likewise.
31150         (bug-regex18-ENV): Likewise.
31151         (bug-regex19-ENV): Likewise.
31152         (bug-regex20-ENV): Likewise.
31153         (bug-regex22-ENV): Likewise.
31154         (bug-regex23-ENV): Likewise.
31155         (bug-regex25-ENV): Likewise.
31156         (bug-regex26-ENV): Likewise.
31157         (bug-regex30-ENV): Likewise.
31158         (bug-regex32-ENV): Likewise.
31159         (bug-regex33-ENV): Likewise.
31160         (bug-regex34-ENV): Likewise.
31161         (bug-regex35-ENV): Likewise.
31162         (tst-rxspencer-ENV): Likewise.
31163         (tst-rxspencer-no-utf8-ENV): Likewise.
31164         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31165         (tst-sscanf-ENV): Likewise.
31166         (tst-swprintf-ENV): Likewise.
31167         (tst-swscanf-ENV): Likewise.
31168         (test-vfprintf-ENV): Likewise.
31169         (scanf13-ENV): Likewise.
31170         (bug14-ENV): Likewise.
31171         (tst-grouping-ENV): Likewise.
31172         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31173         (tst-strtod3-ENV): Likewise.
31174         (tst-strtod4-ENV): Likewise.
31175         (tst-strtod5-ENV): Likewise.
31176         (testmb2-ENV): Likewise./
31177         * string/Makefile (tst-strxfrm-ENV): Likewise.
31178         (tst-strxfrm2-ENV): Likewise.
31179         (bug-strcoll1-ENV): Likewise.
31180         (test-strcasecmp-ENV): Likewise.
31181         (test-strncasecmp-ENV): Likewise.
31182         * time/Makefile (tst-strptime-ENV): Likewise.
31183         (tst-ftime_l-ENV): Likewise.
31184         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31185         (tst-mbrtowc-ENV): Likewise.
31186         (tst-wcrtomb-ENV): Likewise.
31187         (tst-mbrtowc2-ENV): Likewise.
31188         (tst-c16c32-1-ENV): Likewise.
31189         (tst-mbsnrtowcs-ENV): Likewise.
31191 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31193         * manual/resource.texi (How to get information about the memory
31194         subsystem?): Fix typo.
31195         Reported by Peon de la Parra Ivan <peon@keba.com>
31197 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31199         [BZ #16882]
31200         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31201         (pthread_spin_lock): Branch out of spin loop to proper location.
31202         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31203         (pthread_spin_lock): Likewise.
31205         * nptl/tst-spin4.c: New test.
31206         * nptl/Makefile (tests): Add tst-spin4.
31208 2014-06-03  Andreas Schwab  <schwab@suse.de>
31210         [BZ #15946]
31211         * resolv/res_send.c (send_dg): Reload file descriptor after
31212         calling reopen.
31214 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31218 2014-06-03  Richard Henderson  <rth@redhat.com>
31220         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31221         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31222         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31223         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31224         in the SAVE_PID block.
31225         (__libc_vfork): New alias.
31226         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31228         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31229         child in registers, not on the stack.  Remove RESET_PID conditionals.
31230         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31232 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31234         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31236 2014-06-03  Wilco  <wdijkstr@arm.com>
31238         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31239         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31240         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31241         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31242         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31243         Likewise.
31245 2014-06-03  Wilco  <wdijkstr@arm.com>
31247         * sysdeps/aarch64/fpu/math_private.h
31248         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31249         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31250         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31251         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31252         Fix declarations.
31254 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31256         * crypt/crypt-private.h: Include ufc-crypt.h.
31257         (__b64_from_24bit): Declare extern.
31258         * crypt/crypt_util.c(__b64_from_24bit): New function.
31259         (b64t): New static const variable.
31260         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31261         (b64t): Remove variable.
31262         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31263         * crypt/sha256-crypt.c: Include crypt-private.h.
31264         (b64t): Remove variable.
31265         (__sha256_crypt_r): Remove b64_from_24bit and replace
31266         with __b64_from_24bit.
31267         * crypt/sha512-crypt.c: Likewise.
31269 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31271         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31272         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31273         Label the code __libc_vfork rather than __vfork.
31274         [!NOT_IN_libc] (vfork): Define as weak alias.
31275         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31276         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31277         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31279 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31281         * malloc/malloc.c (malloc_info): Fix format specifier for
31282         n_mmaps.
31284 2014-06-02  Wilco  <wdijkstr@arm.com>
31286         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31287         FPCR write.
31289 2014-06-02  Wilco  <wdijkstr@arm.com>
31291         [BZ #17009]
31292         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31293         Rewrite to reduce FPCR/FPSR accesses.
31295 2014-06-01  David S. Miller  <davem@davemloft.net>
31297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31299 2014-05-31  David S. Miller  <davem@davemloft.net>
31301         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31302         to occur in round to nearest mode when |x| >= 2.0
31304 2014-05-30  Richard Henderson  <rth@twiddle.net>
31306         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31307         (PSEUDO_RET_NOERRNO): Remove.
31308         (ret): Don't redefine.
31309         (ret_NOERRNO): Define in terms of ret.
31310         (ret_ERRVAL): Likewise.
31312         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31313         use of PSEUDO_RET; perform the error check directly.
31315 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31317         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31318         with __int128_t.
31320 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31322         * malloc/malloc (malloc_info): Fix formatting.
31324 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325             Roland McGrath  <roland@hack.frob.com>
31327         * malloc/malloc (malloc_info): Also print mmapped statistics.
31329 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31331         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31332         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31334 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31336         * malloc/malloc.c (malloc_info): Inline mi_arena.
31338 2014-05-29  Richard Henderson  <rth@twiddle.net>
31340         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31341         Remove comma before expanding ASM_ARGS_##nr.
31342         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31343         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31344         of ASM_ARGS_##nr.
31345         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31346         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31347         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31348         (ASM_ARGS_1): Add leading comma.
31350         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31351         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31352         to __errno_location.
31353         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31354         Remove the expected plt for __errno_location.
31356         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31357         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31358         call to __read_tp.
31360         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31361         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31362         it and break it down.
31363         (DOCARGS_0, DOCARGS_1): Do nothing.
31364         (DOCARGS_2): Update to store into the new stack frame.
31365         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31366         (UNDOCARGS_1): Update to restore from the new stack frame.
31367         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31368         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31371         (SINGLE_THREAD_P): New parameter for result regno.
31372         (PSEUDO): Update to match; use cbz instead of beq.
31374         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31375         Use ENTRY to define the _nocancel entry point.  Share the syscall
31376         and syscall error check paths with the cancel path.
31377         (PSEUDO_END): New.
31379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31380         whitespace; tabs before and after asm mnemonics.
31382 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31384         [BZ #15132]
31385         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31386         Call fstat64 or stat64 internally, depending on arguments passed.
31387         Replace stat buffer argument with file descriptor argument.
31388         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31389         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31390         Pass fd to __internal_statvfs instead of calling fstat64.
31391         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31392         Pass fd to __internal_statvfs64 instead of calling fstat64.
31393         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31394         Pass -1 to __internal_statvfs instead of calling stat64.
31395         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31396         Pass -1 to __internal_statvfs64 instead of calling stat64.
31398 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31400         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31401         that was previously under [RESET_PID].
31402         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31404         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31405         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31407 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31409         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31411         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31412         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31414 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31416         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31418 2014-05-27  Andreas Schwab  <schwab@suse.de>
31420         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31421         TLS_INIT_TP macro.
31422         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31423         * elf/rtld.c (init_tls, dl_main): Likewise.
31424         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31425         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31426         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31427         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31428         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31429         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31430         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31431         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31432         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31433         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31434         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31435         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31436         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31437         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31438         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31439         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31440         * sysdeps/generic/tls.h: Update description.
31442 2014-05-27  Will Newton  <will.newton@linaro.org>
31444         [BZ #16990]
31445         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31446         and restore r2 rather than just restoring.
31448 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31450         [BZ #16724]
31451         * libio/tst-ftell-append.c: New test case.
31452         * libio/Makefile (tests): Add test case.
31453         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31454         append mode.
31455         * libio/wfileops.c (do_ftell_wide): Likewise.
31457 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31461         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31462         ...
31463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31465         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31466         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31467         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31468         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31469         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31470         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31472         Moved ...
31473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31475         Moved ...
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31478         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31480         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31482         ...
31483         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31485         Moved ...
31486         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31487         here.
31488         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31489         ...
31490         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31492         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31494         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31495         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31497         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31500         merge into ...
31501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31503         ...
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31506         ...
31507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31508         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31509         Moved ...
31510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31511         here.
31512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31513         Moved ...
31514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31516         Moved ...
31517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31520         conditional [RESET_PID].
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31522         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31523         removed.
31524         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31525         removed.
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31528         <tcb-offsets.h>.
31529         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31530         (__libc_vfork): New strong alias.
31531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31532         removed.
31533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31534         Removed.
31536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31537         <tcb-offsets.h>.
31538         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31539         (__libc_vfork): New strong alias.
31540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31541         removed.
31542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31543         removed.
31545 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31547         * malloc/malloc.c (mi_arena): New function.
31548         (malloc_info): Remove nested function mi_arena. Call non-nosted
31549         function mi_arena.
31551 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31553         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31554         by insrwi.
31555         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31556         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31557         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31558         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31559         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31560         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31561         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31563 2014-05-26  Andreas Schwab  <schwab@suse.de>
31565         [BZ #16984]
31566         * locale/programs/repertoire.c (repertoire_read): Add slash
31567         between I18NPATH element and file name.
31568         * locale/programs/locfile.c (locfile_read): Likewise.
31570 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31572         * nptl/pthread_mutexattr_settype.c
31573         (__pthread_mutexattr_settype):
31574         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31576 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31578         * nptl/tst-mutex5 (do_test):
31579         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31581 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31583         * benchtests/README: Document 'init' directive.
31584         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31585         BENCH_INIT.
31586         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31587         (parse_file): Recognize 'init' directive.
31589 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31591         [BZ #16796]
31592         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31593         alignment of struct pthread.
31595 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31597         [BZ #16878]
31598         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31599         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31600         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31601         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31603 2014-05-25  Richard Henderson  <rth@twiddle.net>
31605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31606         (SINGLE_THREAD_P_PIC): Remove.
31607         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31608         (SINGLE_THREAD_P_PIC): Remove.
31610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31611         branch to syscall error ...
31612         (PSEUDO): ... here.
31613         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31614         from __local_syscall_error to .Lsyscall_error.
31615         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31616         (SYSCALL_ERROR): Update label name.
31618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31619         Do not use DOARGS/UNDOARGS.
31620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31621         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31622         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31623         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31624         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31627         block comment.
31629         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31630         define if !NOT_IN_libc.
31631         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31632         define with non-default symbol versions.
31634 2014-05-23  Richard Henderson  <rth@twiddle.net>
31636         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31637         (vfork, __vfork): Define via compat_symbol.
31639         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31640         [!HAVE_IFUNC] (vfork_compat): Remove.
31641         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31643 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31645         [BZ #16978]
31646         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31647         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31648         variable.
31650 2014-05-23  Richard Henderson  <rth@twiddle.net>
31652         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31653         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31654         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31655         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31657         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31658         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31659         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31660         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31661         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31662         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31663         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31664         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31665         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31666         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31667         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31668         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31669         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31670         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31671         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31672         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31673         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31674         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31675         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31676         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31677         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31678         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31679         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31680         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31681         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31682         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31683         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31684         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31685         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31686         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31687         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31688         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31689         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31690         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31691         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31692         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31693         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31694         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31695         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31696         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31697         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31698         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31699         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31700         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31701         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31702         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31703         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31704         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31705         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31706         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31707         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31708         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31710         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31711         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31712         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31714         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31715         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31716         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31717         before exiting on error.
31718         (__libc_vfork): New strong alias.
31719         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31720         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31722         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31723         that was previously under [RESET_PID].
31724         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31726         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31728 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31730         [BZ #16977]
31731         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31732         value when x - 1 is zero.
31733         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31734         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31735         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31736         0.0L for an argument of 1.0L.
31737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31738         Likewise.
31739         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31740         value when x - 1 is zero.
31741         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31742         * sysdeps/i386/fpu/libm-test-ulps: Update.
31743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31745 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31747         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31748         alphasort and versionsort.
31750 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31752         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31753         macro.
31754         [copysignf]: Likewise.
31756 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31758         * crypt/md5-crypt.c: Fix formatting.
31760 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31762         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31763         (b64_from_24bit): New function.
31765 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31767         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31768         libc_hidden_builtin_def to ifunc.
31769         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31770         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31772 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31774         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31775         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31777 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31779         * nscd/Depend (linuxthreads): Remove.
31780         (nptl): Add.
31781         * resolv/Depend (linuxthreads): Remove.
31782         * rt/Depend (linuxthreads): Remove.
31784         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31785         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31786         $(common-objpfx)elf/.
31787         (link-libc-before-gnulib): Likewise.
31788         (elfobjdir): Remove variable.
31789         * Makefile (install): Use $(elf-objpfx) instead of
31790         $(common-objpfx)elf/.
31791         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31792         $(elfobjdir)/.
31793         (link-libc-deps): Likewise.
31794         ($(common-objpfx)libc.so): Likewise.
31795         ($(common-objpfx)linkobj/libc.so): Likewise.
31796         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31797         instead of $(common-objpfx)elf/.
31798         (symbolic-link-list): Likewise.
31799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31800         [$(cross-compiling) = no]: Likewise.
31801         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31802         $(elfobjdir)/.
31803         (static-gnulib-arch): Likewise.
31804         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31805         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31806         $(common-objpfx)elf/.
31808 2014-05-21  Richard Henderson  <rth@redhat.com>
31810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31811         (SINGLE_THREAD_P): Use the correct width load.  Fold
31812         into the ldr offset.
31814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31815         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31817 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31819         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31820         (libgcc_s_resume): Use __attribute_used__.
31821         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31822         Likewise.
31824 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31826         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31827         optimization when used with float constants.
31829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31831 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31833         [BZ #16915]
31834         * locale/nl_langinfo_l.c: Make direct reference to every
31835         _nl_current_CATEGORY symbol.
31836         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31837         (tests-static): Add tst-langinfo-static.
31838         (tests-special): Add tst-langinfo-static.out.
31839         ($(objpfx)tst-langinfo.out): Redirect output.
31840         ($(objpfx)tst-langinfo-static.out): New.
31841         * localedata/tst-langinfo.sh: Send output to stdout.
31842         * localedata/tst-langinfo-static.c: New file.
31844         [BZ #16965]
31845         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31846         when the shift amount is modulo the limb size.
31848 2014-05-20  Richard Henderson  <rth@redhat.com>
31850         [BZ #16967]
31851         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31852         Change type of sa_flags from unsigned int to int.
31854         [BZ #16966]
31855         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31857         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31859 2014-05-20  Will Newton  <will.newton@linaro.org>
31861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31862         Test the return value of the system call in the nocancel case.
31864 2014-05-20  Will Newton  <will.newton@linaro.org>
31865             Yvan Roux  <yvan.roux@linaro.org>
31867         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31868         #include of asm/ptrace.h.
31869         (PTRACE_GET_THREAD_AREA): Remove #undef.
31870         (PTRACE_GETHBPREGS): Likewise.
31871         (PTRACE_SETHBPREGS): Likewise.
31872         (struct user_regs_struct): New structure.
31873         (struct user_fpsimd_struct): New structure.
31874         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31875         #include of asm/ptrace.h and second #include of sys/user.h.
31876         (PTRACE_GET_THREAD_AREA): Remove #undef.
31877         (PTRACE_GETHBPREGS): Likewise.
31878         (PTRACE_SETHBPREGS): Likewise.
31879         (ELF_NGREG): Use new struct user_regs_struct.
31880         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31882 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31884         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31885         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31887 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31889         [BZ #16958]
31890         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31891         membar to avoid block loads/stores to overlap previous stores.
31893 2014-05-17  Richard Henderson  <rth@redhat.com>
31895         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31896         Create the __##syscall_name##_nocancel entry point.
31897         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31898         Remove; let the sysdep-cancel.h code create it.
31900 2014-05-17  David S. Miller  <davem@davemloft.net>
31902         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31903         Protect with __USE_GNU.
31904         (TIOCSET_TEMPT): Likewise.
31905         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31906         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31907         these are already provided in bits/ioctl-types.h
31909 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31911         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31912         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31914         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31915         Use wait4 regardless of [__NR_waitpid].
31917 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31919         PR libgcc/60166
31920         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31921         (_FP_NANSIGN_Q): Set the quiet bit.
31923 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31925         * benchtests/Makefile
31926         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31927         not $(common-objpfx)math/libm.so.
31928         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31929         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31930         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31931         $(common-objpfx)dlfcn/libdl.so.
31932         ($(objpfx)tst-audit8): Depend on $(libm), not
31933         $(common-objpfx)math/libm.so.
31934         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31935         not $(common-objpfx)dlfcn/libdl.so.
31936         * math/Makefile
31937         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31938         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31939         [$(build-shared) = yes].
31940         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31941         $(common-objpfx)nptl/libpthread.so.
31942         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31943         $(common-objpfx)math/libm.so$(libm.so-version) or
31944         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31945         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31946         $(common-objpfx)dlfcn/libdl.so.
31947         * setjmp/Makefile (link-libm): Remove variable.
31948         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31949         * stdio-common/Makefile (link-libm): Remove variable.
31950         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31951         * stdlib/Makefile (link-libm): Remove variable.
31952         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31953         ($(objpfx)tst-strtod-round): Likewise.
31954         ($(objpfx)tst-tininess): Likewise.
31955         ($(objpfx)tst-strtod-underflow): Likewise.
31956         ($(objpfx)tst-strtod6): Likewise.
31957         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31958         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31959         $(common-objpfx)dlfcn/libdl.so.
31961 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31964         BSD terminal modes definitions.
31966 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31969         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31971         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31972         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31973         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31974         Don't do #include_next.
31975         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31976         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31977         Don't do #include_next.
31978         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31979         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31980         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31981         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31983 2014-05-16  Allan McRae  <allan@archlinux.org>
31985         * po/sv.po: Update Swedish translation from translation project.
31987         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31988         in sed expression.
31990 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31992         [BZ #16917]
31993         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31994         errno if the TIOCGPTN ioctl fails with an error different than
31995         EINVAL.
31996         * login/tst-ptsname.c: New file.
31997         * login/Makefile (tests): Add tst-ptsname.
31999         [BZ #16943]
32000         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32001         and prlimit64.
32003 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32005         [BZ #16849]
32006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32007         herrno to return EAI_AGAIN.
32009 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32011         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32012         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32013         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32016         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32017         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32018         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32019         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32020         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32022         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32023         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32024         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32025         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32026         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32032         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32033         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32034         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32035         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32036         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32037         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32038         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32040         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32042         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32044         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32046         Moved ...
32047         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32049         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32051         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32053         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32055         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32057         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32061         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32063         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32065         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32067         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32069         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32071         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32073         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32075         Moved ...
32076         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32082         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32086         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32088         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32090         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32091         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32092         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32094         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32096         Moved ...
32097         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32098         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32099         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32102         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32103         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32104         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32105         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32106         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32107         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32108         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32109         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32110         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32111         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32112         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32113         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32114         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32115         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32116         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32117         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32118         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32119         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32120         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32121         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32122         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32123         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32124         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32125         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32126         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32127         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32128         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32129         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32130         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32131         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32133         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32134         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32136         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32137         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32138         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32139         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32140         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32142         Moved ...
32143         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32144         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32145         Moved ...
32146         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32148         Moved ...
32149         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32150         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32151         Moved ...
32152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32153         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32154         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32156         Moved ...
32157         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32158         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32159         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32160         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32161         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32162         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32163         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32164         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32165         Moved ...
32166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32168         Moved ...
32169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32170         ... here.
32171         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32172         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32173         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32174         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32176         Moved ...
32177         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32178         ... here.
32179         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32180         Moved ...
32181         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32182         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32183         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32184         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32185         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32186         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32187         Moved ...
32188         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32189         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32190         Moved ...
32191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32193         Moved ...
32194         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32195         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32196         Moved ...
32197         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32198         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32199         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32201         Moved ...
32202         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32204         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32205         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32206         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32207         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32208         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32209         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32210         Moved ...
32211         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32213         Moved ...
32214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32215         ... here.
32216         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32217         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32218         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32219         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32221         Moved ...
32222         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32223         ... here.
32224         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32225         Moved ...
32226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32227         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32228         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32230         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32233         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32234         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32235         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32236         Moved ...
32237         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32242         Moved ...
32243         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32244         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32247         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32248         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32249         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32250         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32252         Moved ...
32253         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32254         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32255         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32256         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32257         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32258         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32259         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32260         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32261         Moved ...
32262         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32264         Moved ...
32265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32266         ... here.
32267         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32268         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32269         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32270         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32271         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32272         Moved ...
32273         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32274         ... here.
32275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32276         Moved ...
32277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32278         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32279         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32280         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32281         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32282         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32283         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32284         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32285         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32286         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32287         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32289         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32290         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32292         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32293         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32295         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32296         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32297         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32299         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32300         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32301         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32302         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32303         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32304         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32305         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32307         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32308         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32309         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32311         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32313         Moved ...
32314         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32315         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32316         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32321         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32323         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32325         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32327         Moved ...
32328         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32329         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32332         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32333         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32335         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32337         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32338         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32339         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32341         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32342         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32343         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32344         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32345         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32346         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32347         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32349         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32350         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32351         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32352         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32353         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32355         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32356         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32357         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32358         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32359         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32360         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32361         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32362         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32363         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32364         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32366         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32369         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32370         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32371         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32372         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32373         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32374         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32375         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32376         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32377         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32378         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32379         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32380         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32381         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32382         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32384         Update #include.
32385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32386         Likewise.
32387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32388         Likewise.
32389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32390         Likewise.
32391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32392         Likewise.
32393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32394         Likewise.
32395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32396         Likewise.
32397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32398         Likewise.
32399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32400         Likewise.
32401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32402         Likewise.
32403         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32408         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32409         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32410         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32411         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32412         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32413         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32417         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32419         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32420         that was previously under [RESET_PID].
32421         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32422         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32423         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32425         * sysdeps/i386/nptl/Implies: New file.
32426         * sysdeps/x86_64/nptl/Implies: New file.
32427         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32428         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32429         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32430         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32432         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32433         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32434         (__libc_vfork): New strong alias.
32435         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32436         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32438         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32439         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32440         (__libc_vfork): New strong alias.
32441         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32442         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32444         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32445         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32446         (__libc_vfork): New strong alias.
32447         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32448         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32449         * nptl/pt-vfork.c: New file.
32450         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32451         (libpthread: GLIBC_2.20): New version set (empty).
32453 2014-05-14  Will Newton  <will.newton@linaro.org>
32455         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32456         rather than #if.
32458 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32460         [BZ #16564]
32461         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32462         arguments with exponent 65 or above.
32463         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32464         arguments 0x1p113L or above.
32465         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32466         to arguments 0x1p107L or above.
32467         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32468         positive arguments with exponent 65 or above.
32469         * math/auto-libm-test-in: Add more tests of log1p.
32470         * math/auto-libm-test-out: Regenerated.
32472         [BZ #16928]
32473         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32474         non-finite arguments is +0.
32475         * math/s_cacosf.c (__cacosf): Likewise.
32476         * math/s_cacosl.c (__cacosl): Likewise.
32477         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32478         * sysdeps/i386/fpu/libm-test-ulps: Update.
32479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32481         [BZ #16927]
32482         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32483         value.
32484         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32485         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32486         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32487         for explicit high bit of mantissa when testing for argument equal
32488         to 1.
32489         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32490         * sysdeps/i386/fpu/libm-test-ulps: Update.
32491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32493         [BZ #16516]
32494         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32495         (__erf): Scale by 16 instead of 8 in potentially underflowing
32496         case.  Ensure exception if result actually underflows.
32497         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32498         (__erff): Scale by 16 instead of 8 in potentially underflowing
32499         case.  Ensure exception if result actually underflows.
32500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32501         (efx8): Remove variable.
32502         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32503         case.  Ensure exception if result actually underflows.
32504         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32505         (efx8): Remove variable.
32506         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32507         case.  Ensure exception if result actually underflows.
32508         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32509         (efx8): Remove variable.
32510         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32511         case.  Ensure exception if result actually underflows.
32512         * math/auto-libm-test-in: Add more tests of erf.
32513         * math/auto-libm-test-out: Regenerated.
32515 2014-05-14  Andreas Schwab  <schwab@suse.de>
32517         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32518         Remove code conditionalized on USE___THREAD.
32520         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32521         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32522         not definedness.
32524 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32526         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32527         Define unconditionally.
32528         (__ASSUME_O_CLOEXEC): Likewise.
32529         (__ASSUME_SOCK_CLOEXEC): Likewise.
32530         (__ASSUME_IN_NONBLOCK): Likewise.
32531         (__ASSUME_PIPE2): Likewise.
32532         (__ASSUME_EVENTFD2): Likewise.
32533         (__ASSUME_SIGNALFD4): Likewise.
32534         (__ASSUME_DUP3): Likewise.
32535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32536         (__ASSUME_DUP3): Do not define.
32537         (__ASSUME_EVENTFD2): Likewise.
32538         (__ASSUME_IN_NONBLOCK): Likewise.
32539         (__ASSUME_O_CLOEXEC): Likewise.
32540         (__ASSUME_PIPE2): Likewise.
32541         (__ASSUME_SIGNALFD4): Likewise.
32542         (__ASSUME_SOCK_CLOEXEC): Likewise.
32543         (__ASSUME_UTIMES): Undefine.
32544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32545         (__ASSUME_UTIMES): Do not define.
32546         (__ASSUME_O_CLOEXEC): Likewise.
32547         (__ASSUME_SOCK_CLOEXEC): Likewise.
32548         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32549         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32550         0x020621].
32551         (__ASSUME_PIPE2): Likewise.
32552         (__ASSUME_EVENTFD2): Likewise.
32553         (__ASSUME_SIGNALFD4): Likewise.
32554         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32555         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32556         Do not define.
32557         (__ASSUME_EVENTFD2): Likewise.
32558         (__ASSUME_SIGNALFD4): Likewise.
32559         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32560         (__ASSUME_32BITUIDS): Likewise.
32561         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32562         (__ASSUME_IPC64): Likewise.
32563         (__ASSUME_ST_INO_64_BIT): Likewise.
32564         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32565         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32566         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32567         (__ASSUME_UTIMES): Do not define.
32568         (__ASSUME_PSELECT): Likewise.
32569         (__ASSUME_PPOLL): Likewise.
32570         (__ASSUME_O_CLOEXEC): Likewise.
32571         (__ASSUME_SOCK_CLOEXEC): Likewise.
32572         (__ASSUME_IN_NONBLOCK): Likewise.
32573         (__ASSUME_PIPE2): Likewise.
32574         (__ASSUME_EVENTFD2): Likewise.
32575         (__ASSUME_SIGNALFD4): Likewise.
32576         (__ASSUME_DUP3): Likewise.
32577         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32578         (__ASSUME_UTIMES): Likewise.
32579         (__ASSUME_O_CLOEXEC): Likewise.
32580         (__ASSUME_SOCK_CLOEXEC): Likewise.
32581         (__ASSUME_IN_NONBLOCK): Likewise.
32582         (__ASSUME_PIPE2): Likewise.
32583         (__ASSUME_EVENTFD2): Likewise.
32584         (__ASSUME_SIGNALFD4): Likewise.
32585         (__ASSUME_DUP3): Likewise.
32586         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32587         (__ASSUME_UTIMES): Likewise.
32588         (__ASSUME_O_CLOEXEC): Likewise.
32589         (__ASSUME_SOCK_CLOEXEC): Likewise.
32590         (__ASSUME_IN_NONBLOCK): Likewise.
32591         (__ASSUME_PIPE2): Likewise.
32592         (__ASSUME_EVENTFD2): Likewise.
32593         (__ASSUME_SIGNALFD4): Likewise.
32594         (__ASSUME_DUP3): Likewise.
32595         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32596         Likewise.
32597         (__ASSUME_UTIMES): Likewise.
32598         (__ASSUME_EVENTFD2): Likewise.
32599         (__ASSUME_SIGNALFD4): Likewise.
32600         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32601         (__ASSUME_O_CLOEXEC): Likewise.
32602         (__ASSUME_SOCK_CLOEXEC): Likewise.
32603         (__ASSUME_IN_NONBLOCK): Likewise.
32604         (__ASSUME_PIPE2): Likewise.
32605         (__ASSUME_EVENTFD2): Likewise.
32606         (__ASSUME_SIGNALFD4): Likewise.
32607         (__ASSUME_DUP3): Likewise.
32608         (__ASSUME_UTIMES): Undefine.
32610         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32611         feclearexcept.  Remove symbol versioning code.
32612         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32613         symbol versioning code.
32614         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32615         symbol versioning code.
32616         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32617         feupdateenv.  Remove symbol versioning code.
32618         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32619         fegetexceptflag.  Remove symbol versioning code.
32620         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32621         fesetexceptflag.  Remove symbol versioning code.
32622         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32623         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32624         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32625         (__posix_fadvise64_l32): Remove prototype.
32626         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32627         code.
32629 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32631         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32632         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32633         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32634         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32636 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32638         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32639         current working directory
32641 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32643         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32644         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32645         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32646         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32647         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32648         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32649         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32660         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32664         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32666         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32671         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32672         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32673         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32674         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32675         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32676         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32677         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32678         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32679         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32680         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32681         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32682         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32683         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32684         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32686         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32687         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32689         * sysdeps/unix/sysv/linux/arm/Makefile
32690         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32691         Add rt-aeabi_unwind_cpp_pr1.
32692         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32693         Add nptl-aeabi_unwind_cpp_pr1.
32694         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32695         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32696         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32697         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32698         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32699         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32701         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32702         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32703         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32704         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32706         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32707         Deconditionalize the code that was previously under [RESET_PID].
32708         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32710         * sysdeps/generic/exit-thread.h: New file.
32711         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32712         * include/unistd.h (__exit_thread): Remove declaration.
32713         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32714         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32715         * csu/libc-start.c: Include <exit-thread.h>.
32716         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32717         * nptl/pthread_create.c: Include <exit-thread.h>.
32718         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32719         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32720         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32721         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32722         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32723         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32724         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32725         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32726         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32727         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32728         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32729         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32730         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32731         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32732         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32733         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32734         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32736 2014-05-13  Andreas Schwab  <schwab@suse.de>
32738         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32740 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32742         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32743         (__ASSUME_UTIMES): Do not condition on kernel version.
32744         (__ASSUME_PSELECT): Define unconditionally.
32745         (__ASSUME_PPOLL): Likewise.
32746         (__ASSUME_ATFCTS): Likewise.
32747         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32748         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32749         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32750         (__ASSUME_UTIMENSAT): Define unconditionally.
32751         (__ASSUME_PRIVATE_FUTEX): Likewise.
32752         (__ASSUME_FALLOCATE): Likewise.
32753         (__ASSUME_O_CLOEXEC): Likewise.
32754         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32755         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32756         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32757         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32758         (__ASSUME_IN_NONBLOCK): Likewise.
32759         (__ASSUME_PIPE2): Likewise.
32760         (__ASSUME_EVENTFD2): Likewise.
32761         (__ASSUME_SIGNALFD4): Likewise.
32762         (__ASSUME_DUP3): Likewise.
32763         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32764         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32765         (__ASSUME_AT_RANDOM): Likewise.
32766         (__ASSUME_PREADV): Likewise.
32767         (__ASSUME_PWRITEV): Likewise.
32768         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32769         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32770         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32771         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32772         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32773         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32774         (__ASSUME_O_CLOEXEC): Define unconditionally.
32775         (__ASSUME_PSELECT): Do not undefine conditionally.
32776         (__ASSUME_PPOLL): Likewise.
32777         (__ASSUME_ATFCTS): Likewise.
32778         (__ASSUME_SET_ROBUST_LIST): Likewise.
32779         (__ASSUME_UTIMENSAT): Likewise.
32780         (__ASSUME_FDATASYNC): Define unconditionally.
32781         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32782         (__ASSUME_SIGFRAME_V2): Likewise.
32783         )__ASSUME_EVENTFD2): Likewise.
32784         (__ASSUME_SIGNALFD4): Likewise.
32785         (__ASSUME_PSELECT): Do not undefine conditionally.
32786         (__ASSUME_PPOLL): Likewise.
32787         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32788         (__ASSUME_PSELECT): Define unconditionally.
32789         (__ASSUME_PPOLL): Likewise.
32790         (__ASSUME_O_CLOEXEC): Likewise.
32791         (__ASSUME_SOCK_CLOEXEC): Likewise.
32792         (__ASSUME_IN_NONBLOCK): Likewise.
32793         (__ASSUME_PIPE2): Likewise.
32794         (__ASSUME_EVENTFD2): Likewise.
32795         (__ASSUME_SIGNALFD4): Likewise.
32796         (__ASSUME_DUP3): Likewise.
32797         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32798         (__ASSUME_O_CLOEXEC): Likewise.
32799         (__ASSUME_SOCK_CLOEXEC): Likewise.
32800         (__ASSUME_IN_NONBLOCK): Likewise.
32801         (__ASSUME_PIPE2): Likewise.
32802         (__ASSUME_EVENTFD2): Likewise.
32803         (__ASSUME_SIGNALFD4): Likewise.
32804         (__ASSUME_DUP3): Likewise.
32805         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32806         (__ASSUME_EVENTFD2): Likewise.
32807         (__ASSUME_SIGNALFD4): Likewise.
32808         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32810 2014-05-12  Andreas Schwab  <schwab@suse.de>
32812         [BZ #16932]
32813         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32814         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32815         than maximum RPC packet size.
32816         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32817         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32818         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32819         (_nss_nis_getservbyport_r): Likewise.
32821 2014-05-12  Will Newton  <will.newton@linaro.org>
32823         * malloc/Makefile (tests): Add tst-mallopt.
32824         * malloc/tst-mallopt.c: New file.
32826 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32828         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32829         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32831 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32833         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32834         (tst-tlsmod6.so): Likewise.
32836 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32838         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32840 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32842         [BZ #16064]
32843         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32844         and <dl-procinfo.h>.
32845         (__fegetenv): Save SSE state in envp->__eip if supported.
32846         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32847         envp->__eip if supported.
32848         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32849         and <dl-procinfo.h>.
32850         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32851         __data_offset and __data_selector in environment to 0.  Set SSE
32852         state if supported.
32853         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32854         test-fenv-sse.
32855         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32856         -mfpmath=sse.
32857         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32859 2014-05-09  Will Newton  <will.newton@linaro.org>
32861         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32862         and libc_relro_required for ARM.
32863         * sysdeps/arm/preconfigure: Regenerate.
32865 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32866             Stefan Liebler  <stli@linux.vnet.ibm.com>
32868         * config.make.in (enable-lock-elision): New Makefile variable.
32869         * configure.ac: Likewise.
32870         * configure: Regenerate.
32871         * sysdeps/s390/configure.ac:
32872         Add check for gcc transactions support.
32873         * sysdeps/s390/configure: Regenerate.
32874         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32875         Build elision files if enabled.
32876         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32877         Add lock elision support for s390.
32878         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32879         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32880         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32881         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32882         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32883         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32884         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32885         Likewise.
32886         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32887         Likewise.
32888         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32889         Likewise.
32890         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32891         Likewise.
32892         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32893         (__lll_timedlock_elision, __lll_lock_elision)
32894         (__lll_unlock_elision, __lll_trylock_elision)
32895         (lll_timedlock_elision, lll_lock_elision)
32896         (lll_unlock_elision, lll_trylock_elision): Add.
32897         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32898         (pthread_mutex_t): Add lock elision support for s390.
32900 2014-05-14  Wilco  <wdijkstr@arm.com>
32902         * sysdeps/arm/fclrexcpt.c: Cleanup.
32903         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32904         * sysdeps/arm/feenablxcpt.c: Cleanup.
32905         * sysdeps/arm/fegetenv.c: Cleanup.
32906         * sysdeps/arm/fegetexcept.c: Cleanup.
32907         * sysdeps/arm/fegetround.c: Cleanup.
32908         * sysdeps/arm/feholdexcpt.c: Cleanup.
32909         * sysdeps/arm/fesetenv.c: Cleanup.
32910         * sysdeps/arm/fesetround.c: Cleanup.
32911         * sysdeps/arm/feupdateenv.c: Cleanup.
32912         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32913         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32914         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32915         * sysdeps/arm/ftestexcept.c: Cleanup.
32916         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32917         * sysdeps/arm/setfpucw.c: Cleanup.
32919 2014-05-09  Will Newton  <will.newton@linaro.org>
32921         * sysdeps/arm/armv7/strcmp.S: New file.
32922         * NEWS: Mention addition of ARMv7 optimized strcmp.
32924 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32926         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32927         look for %.ac rather than %.in.
32929         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32930         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32931         * sysdeps/mach/hurd/configure: Regenerated.
32932         * sysdeps/unix/sysv/linux/configure: Regenerated.
32934         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32936 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32938         [BZ# 16922]
32939         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32940         (LONG_SUB): Ditto.
32941         (PTR_SUB): Ditto.
32943 2014-05-07  Andreas Schwab  <schwab@suse.de>
32945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32946         when skipping over non-matching result from nscd.
32948 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32950         [BZ #16876]
32951         * nptl/sockperf.c (client): Check socket return value.
32953         [BZ #16877]
32954         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32955         nscd security class.
32957 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32959         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32960         * sysdeps/arm/unwind.h: ... here.
32962 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32964         [BZ# 16916]
32965         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32966         Define.
32968 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32970         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32971         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32972         multiarch strncpy for PPC64.
32973         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32974         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32976         multiarch optimizations.
32977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32978         (__libc_ifunc_impl_list): Likewise.
32979         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32980         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32981         multiarch stpncpy for PPC64.
32982         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32983         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32985 2014-05-06  Andreas Schwab  <schwab@suse.de>
32987         [BZ #16912]
32988         * gmon/mcount.c (_MCOUNT_DECL): Use
32989         atomic_compare_and_exchange_bool_acq instead of
32990         catomic_compare_and_exchange_bool_acq.
32992 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32994         * elf/Makefile (others, install-bin): Remove pldd.
32995         (pldd-modules): Variable removed.
32996         ($(objpfx)pldd): Target removed.
32997         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32998         (others, install-bin): Append pldd here.
32999         ($(objpfx)pldd): New target.
33001         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33002         to 0, so the first #if test emitted later doesn't see it undefined.
33003         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33004         * sysdeps/gnu/errlist.c: Regenerated.
33006 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33009         [libc_hidden_builtin_def]: Define to empty value.
33010         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33011         [libc_hidden_builtin_def]: Likewise.
33012         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33013         [libc_hidden_builtin_def]: Likewise.
33014         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33015         [libc_hidden_builtin_def]: Likewise.
33016         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33017         __redirect_memcpy and define ifunc as default hidden symbol.
33018         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33021 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33023         * locale/iso-4217.def: Reintroduce XDR currency.
33025 2014-05-04  Allan McRae  <allan@archlinux.org>
33027         * po/eo.po: Update Esperanto translation from translation project.
33029 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33031         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33032         and FEATURE_INDEX_MAX to 1.
33033         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33035 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33037         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33038         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33039         * iconvdata/big5.c (ONE_DIRECTION): Define.
33040         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33041         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33042         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33043         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33044         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33045         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33046         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33047         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33048         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33049         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33050         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33051         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33052         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33053         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33054         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33055         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33056         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33057         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33058         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33059         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33060         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33061         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33062         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33063         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33064         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33065         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33066         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33067         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33068         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33069         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33070         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33071         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33072         * iconvdata/johab.c (ONE_DIRECTION): Define.
33073         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33074         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33075         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33076         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33077         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33078         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33079         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33080         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33081         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33082         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33084 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33086         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33087         (_IO_JUMPS_OFFSET): Define to 0.
33089         * nptl/sysdeps/pthread/bits/libc-lock.h
33090         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33091         (__libc_lock_define_initialized_recursive): Always define using
33092         initializer.  Modern compilers treat uninitialized (implicit zero) and
33093         explicit zero initializers the same (i.e. put the datum in bss).
33095 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33097         * nscd/nscd-client.h: Include <string.h>.
33099 2014-05-01  David S. Miller  <davem@davemloft.net>
33101         [BZ #16885]
33102         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33103         multiple zero bytes exist at the end of a string.
33104         Reported by Aurelien Jarno <aurelien@aurel32.net>
33106         * string/test-strcmp.c (check): Add explicit test for situations where
33107         there are multiple zero bytes after the first.
33109 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33111         [BZ #16890]
33112         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33113         when compiling wprintf.
33114         * stdio-common/tstdiomisc.c (t3): New function.
33115         (main): Call it.
33117 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33119         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33120         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33121         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33122         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33124 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33126         * stdlib/longlong.h: Updated from GCC.
33128 2014-05-01  Will Newton  <will.newton@linaro.org>
33129             Bernard Ogden  <bernie.ogden@linaro.org>
33131         * NEWS: Update fixed bug list.
33133         [BZ #15119]
33134         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33136 2014-04-30  David S. Miller  <davem@davemloft.net>
33138         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33139         (libc_feholdexcept_setround_sparc_ctx): New function.
33140         (libc_fesetenv_sparc_ctx): Likewise.
33141         (libc_feupdateenv_sparc_ctx): Likewise.
33142         (libc_feholdsetround_sparc_ctx): Likewise.
33143         (libc_feholdexcept_setround_ctx): Define.
33144         (libc_feholdexcept_setroundf_ctx): Likewise.
33145         (libc_feholdexcept_setroundl_ctx): Likewise.
33146         (libc_fesetenv_ctx): Likewise.
33147         (libc_fesetenvf_ctx): Likewise.
33148         (libc_fesetenvl_ctx): Likewise.
33149         (libc_feupdateenv_ctx): Likewise.
33150         (libc_feupdateenvf_ctx): Likewise.
33151         (libc_feupdateenvl_ctx): Likewise.
33152         (libc_feresetround_ctx): Likewise.
33153         (libc_feresetroundf_ctx): Likewise.
33154         (libc_feresetroundl_ctx): Likewise.
33155         (libc_feholdsetround_ctx): Likewise.
33156         (libc_feholdsetroundf_ctx): Likewise.
33157         (libc_feholdsetroundl_ctx): Likewise.
33159         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33160         with __USE_GNU instead of XOPEN cpp guards.
33162         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33163         0.
33165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33166         with XOPEN cpp guards.
33168 2014-04-30  Julian Brown  <julian@codesourcery.com>
33170         [BZ #16888]
33171         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33172         handling.
33174 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33176         [BZ #9894]
33177         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33178         Change to 2.6.32.
33179         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33180         * sysdeps/unix/sysv/linux/configure: Regenerated.
33181         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33182         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33183         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33184         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33185         * README: Update reference to required Linux kernel version.
33186         * manual/install.texi (Linux): Update reference to required Linux
33187         kernel headers version.
33188         * INSTALL: Regenerated.
33190         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33191         header inclusion.
33192         [POSIX] (limits.h): Likewise.
33193         [POSIX] (math.h): Likewise.
33194         [POSIX] (sys/wait.h): Likewise.
33195         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33196         function.
33197         [POSIX] (stddef.h): Do not allow header inclusion.
33199 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33201         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33203 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33205         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33206         Return immediately after lll_futex_wake.
33208 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33210         [BZ #16791]
33211         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33212         structure.
33213         (datahead_init_pos): Call datahead_init_common early.
33214         (datahead_init_neg): Likewise.
33216         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33217         datahead_init_neg): New functions.
33218         * nscd/aicache.c (addhstaiX): Use them.
33219         * nscd/grpcache.c (cache_addgr): Likewise.
33220         * nscd/hstcache.c (cache_addhst): Likewise.
33221         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33222         * nscd/netgroupcache.c (do_notfound): Likewise.
33223         (addgetnetgrentX): Likewise.
33224         (addinnetgrX): Likewise.
33225         * nscd/pwdcache.c (cache_addpw): Likewise.
33226         * nscd/servicescache.c (cache_addserv): Likewise.
33228 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33229             Atsushi Onoe  <atsushi@onoe.org>
33231         [BZ #14308]
33232         [BZ #12994]
33233         [BZ #13651]
33234         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33235         one response is valid.
33236         * resolv/res_send.c (send_dg): Check for validity of other
33237         response if the current response is a referral.
33239 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33241         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33243 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33245         [BZ #16823]
33246         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33247         Always divide by positive zero when computing -Inf result.
33248         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33249         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33251 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33253         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33254         FPSCR if value do not change.
33255         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33256         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33257         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33258         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33259         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33260         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33261         function.
33263 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33265         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33266         * sysdeps/unix/sysv/linux/hppa: Move directory from
33267         ports/systeps/unix/sysv/linux/hppa.
33268         * README: Update listing for hppa-*-linux-gnu.
33270 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33272         [BZ #16754]
33273         * manual/stdio.texi (Hook functions): Fix types of stream hook
33274         functions.
33275         [BZ #16854]
33276         * socket/sys/socket.h: Fix typo in comment.
33278 2014-04-28  Wilco  <wdijkstr@arm.com>
33280         * sysdeps/arm/fenv_private.h: New file.
33281         * sysdeps/arm/math_private.h: New file.
33282         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33284 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33286         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33287         with __int128_t.
33288         (La_x86_64_retval): Likewise.
33290 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33292         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33293         fpsr if value didn't change.
33294         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33295         to fpcr if value didn't change.
33296         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33297         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33298         fpsr or fpcr if value didn't change.
33299         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33300         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33301         fpcr if value didn't change.
33302         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33303         to fpsr if value didn't change.
33305 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * nptl/tst-sem3.c: Use test-skeleton.c
33308         (main): Rename to do_test.  Use return instead of
33309         exit.
33310         * nptl/tst-sem4.c: Use test-skeleton.c
33311         (main): Rename to do_test.
33313 2014-04-22  David S. Miller  <davem@davemloft.net>
33315         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33316         (struct sigaction): New struct member __glibc_reserved0, change
33317         type of sa_flags to int.
33319 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33321         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33322         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33324 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33327         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33329 2014-04-22  Will Newton  <will.newton@linaro.org>
33330             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33332         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33333         (__longjmp): Add longjmp and longjmp_target SystemTap
33334         probes.
33335         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33336         (__sigsetjmp): Add setjmp SystemTap probe.
33338 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33340         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33341         match manual order.
33343 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33345         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33347         * sysdeps/powerpc/fpu/fenv_private.h
33348         (libc_feholdexcept_setroundl_ctx): Define to
33349         libc_feholdexcept_setround_ppc_ctx.
33350         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33351         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33352         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33353         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33355 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33357         * sysdeps/aarch64/math-tests.h: New file.
33359 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33361         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33362         New.
33363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33364         Check and set bit_AVX2_Usable.
33365         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33366         macro.
33367         (bit_AVX2): Likewise.
33368         (index_AVX2_Usable): Likewise.
33369         (CPUID_AVX2): Likewise.
33370         (HAS_AVX2): Likewise.
33372 2014-04-17  Will Newton  <will.newton@linaro.org>
33374         * manual/setjmp.texi (System V contexts): Add note that
33375         calling setcontext on a context created by a call to a
33376         signal handler is undefined.  Update text to note that
33377         setcontext from a signal handler is possible but not
33378         recommended.
33380         [BZ #16629]
33381         * stdlib/tst-setcontext.c: Include signal.h.
33382         (main): Check that the signal stack before and
33383         after swapcontext is the same.
33385         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33386         Re-implement to restore registers in user code and avoid
33387         rt_sigreturn system call.
33389 2014-04-17  Wilco  <wdijkstr@arm.com>
33391         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33392         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33393         * math/test-fenv.c: Skip exception trap tests on targets which only
33394         support non-stop mode.
33396 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33397             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33399         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33400         (libc_feholdsetround_aarch64_ctx)
33401         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33402         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33403         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33404         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33405         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33406         (libc_feresetround_noexl_ctx): Define.
33408 2014-04-16  Richard Henderson  <rth@redhat.com>
33410         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33412         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33413         unwind tables.
33415         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33416         const from the non-libc, non-ldso copy.
33418         * sysdeps/alpha/libm-test-ulps: Regenerate.
33420 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33421             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33423         * sysdeps/aarch64/fpu/math_private.h: New file.
33425 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33427         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33429 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33431         [BZ #16275]
33432         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33433         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33434         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33435         Intel MPX bound registers before _dl_profile_fixup.
33436         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33437         registers after _dl_profile_fixup.  Save and restore bound
33438         registers bnd0/bnd1 when calling _dl_call_pltexit.
33439         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33440         (LR_BND_OFFSET): Likewise.
33441         (LRV_BND0_OFFSET): Likewise.
33442         (LRV_BND1_OFFSET): Likewise.
33444 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33446         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33447         to...
33448         * sysdeps/mach/hurd/i386/tls.h: ... here.
33449         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33450         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33451         fields.
33453 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33455         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33457 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33459         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33461 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33463         [BZ #14770]
33464         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33465         * sysdeps/s390/configure: Regenerate.
33467         [BZ #16824]
33468         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33469         Set round-to-nearest internally to reduce error accumulation.
33471 2014-04-16  Alan Modra  <amodra@gmail.com>
33473         [BZ #16740]
33474         [BZ #16619]
33475         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33476         * math/libm-test.inc (frexp_test_data): Add tests.
33477         * NEWS: Update fixed bug list.
33479 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33481         * benchtests/Makefile: Depend on libraries in build directory.
33482         (bench-math): Separate out math tests.
33483         (bench-pthread): Separate out pthread tests.
33484         (bench): Include math and pthread tests.
33486 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33488         [BZ #16831]
33489         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33490         _dl_debug_initialize.
33492         * configure.ac: Remove SELinux header check.
33493         * configure: Regenerate.
33494         * nscd/selinux.c (perms): Array of const char* to permission names.
33495         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33496         default policy. Call string_to_security_class and string_to_av_perm to
33497         translate strings. Enforce default policy and call avs_has_perm with
33498         results of translated strings.
33500 2014-04-13  David S. Miller  <davem@davemloft.net>
33502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33504 2014-04-12  Allan McRae  <allan@archlinux.org>
33506         [BZ #16838]
33507         * manual/string.texi (Collation Functions): Fix qsort argument
33508         order in example.
33509         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33511 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33513         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33514         Make the test a no-op if there are no exceptions defined.
33516 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33518         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33519         enable-hardcoded-path-in-tests
33521 2014-04-11  Will Newton  <will.newton@linaro.org>
33523         * benchtests/Makefile (extra-objs): Add json-lib.o.
33524         (bench-func): Tidy up JSON output.
33525         * benchtests/bench-skeleton.c: Include json-lib.h.
33526         (main): Use JSON library functions to do output of
33527         benchmark results.
33528         * benchtests/bench-timing-type.c (main): Output the
33529         timing type simply, leaving formatting to the user.
33530         * benchtests/json-lib.c: New file.
33531         * benchtests/json-lib.h: Likewise.
33533 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33535         [BZ #15215]
33536         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33537         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33538         memory barriers.  Add comments.
33539         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33540         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33541         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33542         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33543         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33544         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33546 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33548         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33549         * sysdeps/s390/s390-64/configure.ac: ... this ...
33550         * sysdeps/s390/configure.ac: ... to here.
33551         * sysdeps/s390/s390-32/configure: Delete file.
33552         * sysdeps/s390/s390-64/configure: Delete file.
33553         * sysdeps/s390/configure: Regenerate.
33555 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33557         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33559 2014-04-11  Will Newton  <will.newton@linaro.org>
33561         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33562         to zero if it is not defined elsewhere.  (mtrim): Test
33563         the value of MALLOC_DEBUG with #if rather than #ifdef.
33565 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33567         * benchtests/pthread_once-inputs: New file.
33568         * benchtests/pthread_once-source.c: New file.
33569         * benchtests/README: Update documentation.
33571 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33572             H.J. Lu  <hongjiu.lu@intel.com>
33574         [BZ #16275]
33575         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33576         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33577         * sysdeps/x86_64/configure: Regenerated.
33578         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33579         macro.
33580         (REGISTER_SAVE_RAX): Likewise.
33581         (REGISTER_SAVE_RCX): Likewise.
33582         (REGISTER_SAVE_RDX): Likewise.
33583         (REGISTER_SAVE_RSI): Likewise.
33584         (REGISTER_SAVE_RDI): Likewise.
33585         (REGISTER_SAVE_R8): Likewise.
33586         (REGISTER_SAVE_R9): Likewise.
33587         (REGISTER_SAVE_BND0): Likewise.
33588         (REGISTER_SAVE_BND1): Likewise.
33589         (REGISTER_SAVE_BND2): Likewise.
33590         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33591         bound registers when calling _dl_fixup.
33593 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33595         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33596         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33597         of its definition.
33598         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33599         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33600         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33601         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33602         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33603         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33604         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33606 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33608         [BZ #15514]
33609         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33610         pathconf(_PC_NAME_MAX).
33612 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33614         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33615         Remove macro usage.
33616         (__PTHREAD_SPINS): Move definition to ...
33617         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33618         (__PTHREAD_SPINS): ... here.
33619         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33620         (__PTHREAD_SPIN): Likewise.
33621         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33622         (__PTHREAD_SPIN): Likewise.
33623         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33624         (__PTHREAD_SPIN): Likewise.
33625         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33626         (__PTHREAD_SPIN): Likewise.
33627         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33628         (__PTHREAD_SPIN): Likewise.
33629         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33630         (__PTHREAD_SPIN): Likewise.
33631         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33632         (__PTHREAD_SPIN): Likewise.
33633         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33634         (__PTHREAD_SPIN): Likewise.
33635         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33636         (__PTHREAD_SPIN): Likewise.
33637         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33638         (__PTHREAD_SPIN): Likewise.
33639         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33640         (__PTHREAD_SPIN): Likewise.
33641         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33642         (__PTHREAD_SPIN): Likewise.
33644         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33645         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33646         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33647         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33648         imply folder.
33649         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33650         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33651         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33652         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33653         correct imply path.
33654         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33655         strlen symbol for non multi-arch builds.
33656         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33657         missing hidden_def and weak_alias.
33659 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33661         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33663 2014-04-07  Will Newton  <will.newton@linaro.org>
33665         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33666         and contents.  [!_LIBC] Remove #ifndef and contents.
33667         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33668         * string/memccpy.c (__memccpy): Use ANSI prototype.
33669         * string/memfrob.c (memfrob): Likewise.
33670         * string/strcoll.c (STRCOLL): Likewise.
33671         * string/strlen.c (strlen): Likewise.
33672         * string/strtok.c (STRTOK): Likewise.
33673         * string/strcat.c: Remove unused #include of memcopy.h.
33674         (strcat): Use ANSI prototype.
33675         * string/strchr.c: Remove unused #include of memcopy.h.
33676         (strchr): Use ANSI prototype.
33677         * string/strcmp.c: Remove unused #include of memcopy.h.
33678         (strcmp): Use ANSI prototype.
33679         * string/strcpy.c: Remove unused #include of memcopy.h.
33680         (strcpy): Use ANSI prototype.
33682 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33684         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33685         * config.make.in (config-extra-cppflags): Set it from
33686         libc_extra_cppflags.
33687         * configure.ac (libc_extra_cflags): Make it accumulate over
33688         configure fragments.
33689         (libc_extra_cppflags): New flag.
33690         * configure. Regenerate.
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33692         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33693         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33696         [BZ #16815]
33697         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33698         result for FE_DOWNWARD rounding mode.
33699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33700         Likewise.
33701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33703 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33705         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33706         in function argument name.
33708 2014-04-03  David Svoboda  <svoboda@cert.org>
33710         [BZ #5666]
33711         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33712         explicitly.
33714 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33716         * elf/dl-unmap-segments.h: New file.
33717         * sysdeps/generic/ldsodefs.h
33718         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33719         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33720         * elf/dl-fptr.c: Likewise.
33721         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33722         * sysdeps/aarch64/tlsdesc.c: Likewise.
33723         * sysdeps/arm/tlsdesc.c: Likewise.
33724         * sysdeps/i386/tlsdesc.c: Likewise.
33725         * sysdeps/tile/dl-runtime.c: Likewise.
33726         * sysdeps/x86_64/tlsdesc.c: Likewise.
33727         * elf/dl-load.h: New file.
33728         * elf/dl-load.c: Include it.
33729         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33730         Macros moved to dl-load.h.
33731         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33732         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33733         Use _dl_unmap_segments in place of __munmap.
33734         Break out segment-mapping loop into ...
33735         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33737 2014-04-03  Will Newton  <will.newton@linaro.org>
33739         * elf/dl-lookup.c (do_lookup_x): Remove comment
33740         referring to nested function and move variable
33741         declarations down to before first use.
33743 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33745         [BZ #16799]
33746         [BZ #16800]
33747         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33748         with 0 numerator.
33749         * math/s_catanf.c (__catanf): Likewise.
33750         * math/s_catanh.c (__catanh): Likewise.
33751         * math/s_catanhf.c (__catanhf): Likewise.
33752         * math/s_catanhl.c (__catanhl): Likewise.
33753         * math/s_catanl.c (__catanl): Likewise.
33754         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33755         by positive zero when computing -Inf result.
33756         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33757         (catanh_test): Likewise.
33758         * sysdeps/i386/fpu/libm-test-ulps: Update.
33759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33761         [BZ #16789]
33762         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33763         instead of using underflowing value in computing result.
33764         * math/s_clog10.c (__clog10): Likewise.
33765         * math/s_clog10f.c (__clog10f): Likewise.
33766         * math/s_clog10l.c (__clog10l): Likewise.
33767         * math/s_clogf.c (__clogf): Likewise.
33768         * math/s_clogl.c (__clogl): Likewise.
33769         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33770         (clog10_test): Likewise.
33771         * sysdeps/i386/fpu/libm-test-ulps: Update.
33772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33774 2014-04-02  Alan Modra  <amodra@gmail.com>
33776         [BZ #16739]
33777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33778         output when value is near a power of two.  Use int64_t for lx and
33779         remove casts.  Use decimal rather than hex exponent constants.
33780         Don't use long double multiplication when double will suffice.
33781         * math/libm-test.inc (nextafter_test_data): Add tests.
33782         * NEWS: Add 16739 and 16786 to bug list.
33784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33786         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33788 2014-04-01  Will Newton  <will.newton@linaro.org>
33790         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33791         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33793 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33795         [BZ #13347]
33796         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33797         * nptl/tst-setuid2.c: New file.
33798         * nptl/Makefile (xtests): Add tst-setuid2.
33800 2014-04-01  Alan Modra  <amodra@gmail.com>
33802         [BZ #16786]
33803         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33805 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33807         [BZ #6803]
33808         [BZ #6804]
33809         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33810         set errno as appropriate.
33811         * math/w_scalbf.c (__scalbf): Likewise.
33812         * math/w_scalbl.c (__scalbl): Likewise.
33813         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33814         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33815         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33816         Add more NaN tests.
33818         [BZ #16349]
33819         * math/w_atan2.c: Include <errno.h>.
33820         (__atan2): Set errno for result underflowing to zero.
33821         * math/w_atan2f.c: Include <errno.h>.
33822         (__atan2f): Set errno for result underflowing to zero.
33823         * math/w_atan2l.c: Include <errno.h>.
33824         (__atan2l): Set errno for result underflowing to zero.
33825         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33826         tests.
33827         * math/auto-libm-test-out: Regenerated.
33829 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33831         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33832         Encode instruction correctly in little endian.
33833         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33834         Likewise.
33835         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33836         Likewise.
33837         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33838         Likewise.
33839         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33840         Likewise.
33842 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33844         [BZ #9894]
33845         * sysdeps/unix/sysv/linux/kernel-features.h
33846         [__sparc__ && !__arch64__ && !__sparc_v9__]
33847         (__ASSUME_SET_ROBUST_LIST): Do not define.
33848         [__sparc__ && !__arch64__ && !__sparc_v9__]
33849         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33850         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33851         Likewise.
33852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33853         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33854         (__ASSUME_REQUEUE_PI): Likewise.
33855         (__ASSUME_SET_ROBUST_LIST): Likewise.
33856         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33857         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33858         Undefine.
33859         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33860         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33861         Likewise.
33862         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33863         Likewise.
33864         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33865         Likewise.
33866         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33867         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33868         Undefine.
33869         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33870         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33871         Likewise.
33873         [BZ #16648]
33874         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33875         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33876         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33878 2014-03-31  Will Newton  <will.newton@linaro.org>
33880         * benchtests/Makefile (bench): Add ffs and ffsll to list
33881         of tests.
33882         * benchtests/ffs-inputs: New file.
33883         * benchtests/ffsll-inputs: Likewise.
33885 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33887         [BZ #16770]
33888         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33889         too large before casting to int.
33890         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33891         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33892         * math/libm-test.inc (scalb_test_data): Add more tests.
33894 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33896         * benchtests/Makefile (DETAILED_OPT): New make option.
33897         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33898         set.
33899         * benchtests/bench-skeleton.c: Include stdbool.h.
33900         (main): Store and print timings per input.
33901         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33902         member to each argument value.
33903         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33904         (_print_arg_data): Initialize per-input timing to 0.
33906         * benchtests/Makefile (timing-type): New binary.
33907         (bench-clean): Also remove bench-timing-type.
33908         (bench): New target for timing-type.
33909         (bench-func): Print output in JSON format.
33910         * benchtests/bench-skeleton.c (main): Print output in JSON
33911         format.
33912         * benchtests/bench-timing-type.c: New file.
33913         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33914         (TIMING_PRINT_STATS): Remove.
33915         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33916         name separately.
33918         * benchtests/bench-modf.c: Remove.
33919         * benchtests/modf-inputs: New inputs file.
33921 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33923         [BZ #16362]
33924         * math/s_clog10.c (M_PI_LOG10E): New macro.
33925         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33926         imaginary parts are 0.
33927         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33928         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33929         imaginary parts are 0.
33930         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33931         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33932         imaginary parts are 0.
33933         * math/libm-test.inc (clog10_test_data): Update expected results
33934         for when real and imaginary parts are 0.
33936 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33938         * elf/dl-load.c: Finish conversion of __builtin_expect into
33939         __glibc_{un}likely.
33941 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33943         [BZ #16348]
33944         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33945         1+x for argument with exponent below -67.
33946         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33947         Likewise.
33948         * math/auto-libm-test-in: Add more tests of exp.
33949         * math/auto-libm-test-out: Regenerated.
33951 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33953         [BZ #16759]
33954         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33955         (nscd_getnetgrent): Use it.
33957         [BZ #16760]
33958         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33959         of stpcpy.
33961 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33963         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33964         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33965         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33966         (lll_robust_unlock): Remove out of line section. Use cfi
33967         intrinsics.
33968         (LLL_STUB_UNWIND_INFO*): Remove.
33969         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33970         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33971         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33972         (lll_robust_unlock): Remove out of line section. Use cfi
33973         intrinsics.
33974         (LLL_STUB_UNWIND_INFO*): Remove.
33976 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33978         [BZ #16758]
33979         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33980         blank values.
33982 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33984         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33986 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33988         [BZ #16198]
33989         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33990         fnstenv.
33991         * math/test-fenv-preserve.c: New file.
33992         * math/Makefile (tests): Add test-fenv-preserve.
33994 2014-03-26  Will Newton <will.newton@linaro.org>
33996         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33998 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34000         * scripts/versionlist.awk: Partition the version sets and emit all
34001         GLIBC_* (sorted) before all others (sorted).
34003 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34005         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34006         GLIBC_2.2.5 version.
34008 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34010         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34011         calls.
34013         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34014         previous change.
34016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34018 2014-03-25  Andreas Schwab  <schwab@suse.de>
34020         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34021         label to be used after in6ailist is initialized.
34023 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34025         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34026         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34028 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34030         [BZ #16357]
34031         [BZ #16599]
34032         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34033         min_plus_half.
34034         (fp_formats): Update initializers.
34035         (init_fp_formats): Initialize new field.
34036         (output_for_one_input_case): Allow underflow for results up to
34037         min_plus_half.
34038         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34039         * math/auto-libm-test-in: Don't mark some underflows from asin and
34040         atanh as spurious.
34041         * math/auto-libm-test-out: Regenerated.
34042         * sysdeps/i386/fpu/libm-test-ulps: Update.
34043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34045 2014-03-25  Andreas Schwab  <schwab@suse.de>
34047         * libio/Makefile (tst-ftell-partial-wide-ENV)
34048         (tst-ftell-active-handler-ENV): Define.
34050 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34052         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34054 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34056         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34058 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34060         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34061         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34062         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34064 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34066         [BZ #16634]
34067         * elf/dl-load.c (open_verify): Add mode parameter.
34068         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34069         (open_path): Change from boolean 'secure' to complete flag 'mode'
34070         (_dl_map_object): Adjust.
34071         * elf/Makefile (tests): Add tst-dlopen-aout.
34072         * elf/tst-dlopen-aout.c: New test.
34074 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34076         [BZ #16714]
34077         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34078         (struct stat): Rename member pad0 to __glibc_reserved0.
34080         [BZ #16712]
34081         * sysdeps/s390/s390-32/bits/wordsize.h
34082         (__WORDSIZE32_SIZE_ULONG): New define.
34083         * sysdeps/s390/s390-64/bits/wordsize.h
34084         (__WORDSIZE32_SIZE_ULONG): Likewise.
34085         * sysdeps/generic/stdint.h (SIZE_MAX):
34086         Define as UL if __WORDSIZE32_SIZE_ULONG.
34088         [BZ #16713]
34089         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34090         (__glibc_reserved0): New variable.
34091         (sa_flags): Change type to int.
34093         * posix/Makefile (before-compile): Use += before-compile instead
34094         of a :=.
34096         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34097         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34099 2014-03-20  Andreas Schwab  <schwab@suse.de>
34101         [BZ #16743]
34102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34103         non-matching result from nscd.
34105 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34107         * scripts/bench.py: Moved to ...
34108         * benchtests/scripts/bench.py: ... here.
34109         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34111 2014-03-24  Andreas Schwab  <schwab@suse.de>
34113         [BZ #16002]
34114         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34115         alloca_account and account alloca use for struct in6ailist.
34117 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34119         [BZ #16284]
34120         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34121         rounding mode to recompute results that overflow to infinity or
34122         underflow to zero.
34123         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34124         bug 16284.
34125         * math/auto-libm-test-out: Regenerated.
34126         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34127         (ccosh_test): Likewise.
34128         (csin_test_data): Use plus_oflow.
34129         (csin_test): Use ALL_RM_TEST.
34130         (csinh_test_data): Use plus_oflow.
34131         (csinh_test): Use ALL_RM_TEST.
34132         * sysdeps/i386/fpu/libm-test-ulps: Update.
34133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34135 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34137         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34138         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34139         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34141         [BZ #16731]
34142         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34143         when x - 1 is zero.
34144         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34145         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34146         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34147         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34148         argument is 1.
34149         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34150         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34151         zero.
34152         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34153         * sysdeps/i386/fpu/libm-test-ulps: Update.
34154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         * scripts/bench.pl: Remove file.
34159         * scripts/bench.py: New benchmark script.
34160         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34161         * benchtests/README: Mention python dependency.
34162         * scripts/pylintrc: New file.
34163         * scripts/pylint: New file.
34165         * bits/mathdef.h: Use #ifdef instead of #if.
34166         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34167         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34168         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34169         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34170         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34171         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34173 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34174             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34176         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34178         and strpbrk-ppc64 objects.
34179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34180         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34181         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34182         multiarch strpbrk for POWER7.
34183         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34184         multiarch strpbrk for PPC64.
34185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34186         ifunc selector.
34187         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34188         strpbrk for POWER7.
34190 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34192         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34193         (atan_test): Likewise.
34194         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34195         (atanh_test): Use ALL_RM_TEST.
34196         (atan2_test_data): Likewise.
34197         (cabs_test): Likewise.
34198         (cacosh_test): Likewise.
34199         (carg_test): Likewise.
34200         (casin_test): Likewise.
34201         (casinh_test): Likewise.
34202         (cbrt_test): Likewise.
34203         (csqrt_test): Likewise.
34204         (erf_test): Likewise.
34205         (erfc_test): Likewise.
34206         (pow10_test): Likewise.
34207         (exp2_test): Likewise.
34208         (hypot_test): Likewise.
34209         (j0_test): Likewise.
34210         (j1_test): Likewise.
34211         (lgamma_test): Likewise.
34212         (gamma_test): Likewise.
34213         (sincos_test): Likewise.
34214         (tanh_test): Likewise.
34215         (y0_test): Likewise.
34216         (y1_test): Likewise.
34217         * sysdeps/i386/fpu/libm-test-ulps: Update.
34218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34220 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34222         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34224         and strcspn-ppc64 objects.
34225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34226         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34227         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34228         multiarch strcspn for POWER7.
34229         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34230         multiarch strcspn for PPC64.
34231         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34232         ifunc selector.
34233         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34234         strcspn for POWER7.
34236 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34238         * math/gen-libm-test.pl (generate_testfile): Expect only function
34239         name as argument to AUTO_TESTS_* and pass results for all rounding
34240         modes to parse_args.
34241         (parse_auto_input): Separate inputs of automatic tests from
34242         outputs before storing in %auto_tests.
34243         * math/libm-test.inc (acos_test_data): Update call to
34244         AUTO_TESTS_f_f.
34245         (acos_test): Use ALL_RM_TEST.
34246         (acos_tonearest_test_data): Remove.
34247         (acos_test_tonearest): Likewise.
34248         (acos_towardzero_test_data): Likewise.
34249         (acos_test_towardzero): Likewise.
34250         (acos_downward_test_data): Likewise.
34251         (acos_test_downward): Likewise.
34252         (acos_upward_test_data): Likewise.
34253         (acos_test_upward): Likewise.
34254         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34255         (asin_test_data): Likewise.
34256         (asin_test): Use ALL_RM_TEST.
34257         (asin_tonearest_test_data): Remove.
34258         (asin_test_tonearest): Likewise.
34259         (asin_towardzero_test_data): Likewise.
34260         (asin_test_towardzero): Likewise.
34261         (asin_downward_test_data): Likewise.
34262         (asin_test_downward): Likewise.
34263         (asin_upward_test_data): Likewise.
34264         (asin_test_upward): Likewise.
34265         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34266         (atan_test_data): Likewise.
34267         (atanh_test_data): Likewise.
34268         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34269         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34270         (carg_test_data): Likewise.
34271         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34272         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34273         (ccosh_test_data): Likewise.
34274         (cexp_test_data): Likewise.
34275         (clog_test_data): Likewise.
34276         (clog10_test_data): Likewise.
34277         (cos_test_data): Update call to AUTO_TESTS_f_f.
34278         (cos_test): Use ALL_RM_TEST.
34279         (cos_tonearest_test_data): Remove.
34280         (cos_test_tonearest): Likewise.
34281         (cos_towardzero_test_data): Likewise.
34282         (cos_test_towardzero): Likewise.
34283         (cos_downward_test_data): Likewise.
34284         (cos_test_downward): Likewise.
34285         (cos_upward_test_data): Likewise.
34286         (cos_test_upward): Likewise.
34287         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34288         (cosh_test): Use ALL_RM_TEST.
34289         (cosh_tonearest_test_data): Remove.
34290         (cosh_test_tonearest): Likewise.
34291         (cosh_towardzero_test_data): Likewise.
34292         (cosh_test_towardzero): Likewise.
34293         (cosh_downward_test_data): Likewise.
34294         (cosh_test_downward): Likewise.
34295         (cosh_upward_test_data): Likewise.
34296         (cosh_test_upward): Likewise.
34297         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34298         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34299         (ctan_test_data): Likewise.
34300         (ctan_test): Use ALL_RM_TEST.
34301         (ctan_tonearest_test_data): Remove.
34302         (ctan_test_tonearest): Likewise.
34303         (ctan_towardzero_test_data): Likewise.
34304         (ctan_test_towardzero): Likewise.
34305         (ctan_downward_test_data): Likewise.
34306         (ctan_test_downward): Likewise.
34307         (ctan_upward_test_data): Likewise.
34308         (ctan_test_upward): Likewise.
34309         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34310         (ctanh_test): Use ALL_RM_TEST.
34311         (ctanh_tonearest_test_data): Remove.
34312         (ctanh_test_tonearest): Likewise.
34313         (ctanh_towardzero_test_data): Likewise.
34314         (ctanh_test_towardzero): Likewise.
34315         (ctanh_downward_test_data): Likewise.
34316         (ctanh_test_downward): Likewise.
34317         (ctanh_upward_test_data): Likewise.
34318         (ctanh_test_upward): Likewise.
34319         (erf_test_data): Update call to AUTO_TESTS_f_f.
34320         (erfc_test_data): Likewise.
34321         (exp_test_data): Likewise.
34322         (exp_test): Use ALL_RM_TEST.
34323         (exp_tonearest_test_data): Remove.
34324         (exp_test_tonearest): Likewise.
34325         (exp_towardzero_test_data): Likewise.
34326         (exp_test_towardzero): Likewise.
34327         (exp_downward_test_data): Likewise.
34328         (exp_test_downward): Likewise.
34329         (exp_upward_test_data): Likewise.
34330         (exp_test_upward): Likewise.
34331         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34332         (exp10_test): Use ALL_RM_TEST.
34333         (exp10_tonearest_test_data): Remove.
34334         (exp10_test_tonearest): Likewise.
34335         (exp10_towardzero_test_data): Likewise.
34336         (exp10_test_towardzero): Likewise.
34337         (exp10_downward_test_data): Likewise.
34338         (exp10_test_downward): Likewise.
34339         (exp10_upward_test_data): Likewise.
34340         (exp10_test_upward): Likewise.
34341         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34342         (expm1_test_data): Likewise.
34343         (expm1_test): Use ALL_RM_TEST.
34344         (expm1_tonearest_test_data): Remove.
34345         (expm1_test_tonearest): Likewise.
34346         (expm1_towardzero_test_data): Likewise.
34347         (expm1_test_towardzero): Likewise.
34348         (expm1_downward_test_data): Likewise.
34349         (expm1_test_downward): Likewise.
34350         (expm1_upward_test_data): Likewise.
34351         (expm1_test_upward): Likewise.
34352         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34353         (fma_test): Use ALL_RM_TEST.
34354         (fma_towardzero_test_data): Remove.
34355         (fma_test_towardzero): Likewise.
34356         (fma_downward_test_data): Likewise.
34357         (fma_test_downward): Likewise.
34358         (fma_upward_test_data): Likewise.
34359         (fma_test_upward): Likewise.
34360         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34361         (j0_test_data): Update call to AUTO_TESTS_f_f.
34362         (j1_test_data): Likewise.
34363         (jn_test_data): Update call to AUTO_TESTS_if_f.
34364         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34365         (log_test_data): Update call to AUTO_TESTS_f_f.
34366         (log10_test_data): Likewise.
34367         (log1p_test_data): Likewise.
34368         (log2_test_data): Likewise.
34369         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34370         (pow_tonearest_test_data): Likewise.
34371         (sin_test_data): Update call to AUTO_TESTS_f_f.
34372         (sin_test): Use ALL_RM_TEST.
34373         (sin_tonearest_test_data): Remove.
34374         (sin_test_tonearest): Likewise.
34375         (sin_towardzero_test_data): Likewise.
34376         (sin_test_towardzero): Likewise.
34377         (sin_downward_test_data): Likewise.
34378         (sin_test_downward): Likewise.
34379         (sin_upward_test_data): Likewise.
34380         (sin_test_upward): Likewise.
34381         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34382         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34383         (sinh_test): Use ALL_RM_TEST.
34384         (sinh_tonearest_test_data): Remove.
34385         (sinh_test_tonearest): Likewise.
34386         (sinh_towardzero_test_data): Likewise.
34387         (sinh_test_towardzero): Likewise.
34388         (sinh_downward_test_data): Likewise.
34389         (sinh_test_downward): Likewise.
34390         (sinh_upward_test_data): Likewise.
34391         (sinh_test_upward): Likewise.
34392         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34393         (sqrt_test): Use ALL_RM_TEST.
34394         (sqrt_tonearest_test_data): Remove.
34395         (sqrt_test_tonearest): Likewise.
34396         (sqrt_towardzero_test_data): Likewise.
34397         (sqrt_test_towardzero): Likewise.
34398         (sqrt_downward_test_data): Likewise.
34399         (sqrt_test_downward): Likewise.
34400         (sqrt_upward_test_data): Likewise.
34401         (sqrt_test_upward): Likewise.
34402         (tan_test_data): Update call to AUTO_TESTS_f_f.
34403         (tan_test): Use ALL_RM_TEST.
34404         (tan_tonearest_test_data): Remove.
34405         (tan_test_tonearest): Likewise.
34406         (tan_towardzero_test_data): Likewise.
34407         (tan_test_towardzero): Likewise.
34408         (tan_downward_test_data): Likewise.
34409         (tan_test_downward): Likewise.
34410         (tan_upward_test_data): Likewise.
34411         (tan_test_upward): Likewise.
34412         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34413         (tgamma_test_data): Likewise.
34414         (y0_test_data): Likewise.
34415         (y1_test_data): Likewise.
34416         (yn_test_data): Update call to AUTO_TESTS_if_f.
34417         (main): Do not call removed functions.
34419 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34421         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34422         (ldexp_test_data): Remove.
34423         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34424         scalbn_test_data.
34425         (scalb_test): Use ALL_RM_TEST.
34427 2014-03-19  Andreas Schwab  <schwab@suse.de>
34429         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34431 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34433         [BZ #16649]
34434         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34435         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34436         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34437         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34438         (__ASSUME_PREADV): Undefine.
34439         (__ASSUME_PWRITEV): Likewise.
34441 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34443         * bits/mman-linux.h: Add comment about non-Linux use.
34444         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34445         bits/mman-linux.h resting place.
34447         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34448         * bits/mman-linux.h: ... here.
34450 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34452         * conform/conformtest.pl: Add standard definition when calling C
34453         preprocessor on data files.
34454         (checknamespace): Remove unused variable.
34456 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34458         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34459         minus_oflow, plus_uflow and minus_uflow in expected results.
34460         * math/libm-test.inc (scalbn_test_data): Add more tests of
34461         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34462         minus_uflow.
34463         (scalbn_test): Use ALL_RM_TEST.
34464         (scalbln_test_data): Add more tests of negative arguments.  Use
34465         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34466         (scalbln_test): Use ALL_RM_TEST.
34468 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34470         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34472 2014-03-18  Will Newton  <will.newton@linaro.org>
34474         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34475         inaccurate comment.
34477 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34479         * Makerules [!subdir] (check-abi): Exit with error status if a
34480         test failed.
34482 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34484         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34485         for rint.  Include results for all rounding modes.
34486         (nearbyint_test): Use ALL_RM_TEST.
34487         (rint_test_data): Include all tests used for nearbyint.
34489 2014-03-17  Will Newton  <will.newton@linaro.org>
34491         * nptl/sysdeps/pthread/pthread.h: Revert previous
34492         change.
34494         * sysdeps/generic/ldsodefs.h: Revert previous
34495         change.
34497         * libio/genops.c: Revert previous change.
34498         * libio/libioP.h: Likewise.
34499         * stdio-common/vfprintf.c: Likewise.
34501         * sysdeps/generic/math_private.h: Revert previous
34502         change.
34504         * sysdeps/generic/math_private.h: Check whether
34505         HAVE_RM_CTX is defined with #ifdef rather
34506         than #if.
34508         * argp/argp-fmtstream.h: Check whether
34509         __STRICT_ANSI__ is defined with #ifdef rather
34510         than #if.
34511         * argp/argp.h: Likewise.
34513         * libio/genops.c: Check whether
34514         _IO_JUMPS_OFFSET is defined with #ifdef rather
34515         than #if.
34516         * libio/libioP.h: Likewise.
34517         * stdio-common/vfprintf.c: Likewise.
34519         * sysdeps/generic/ldsodefs.h: Check whether
34520         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34521         than #if.
34523         * nptl/sysdeps/pthread/pthread.h: Check
34524         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34525         its value.
34527 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34529         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34530         setting O_APPEND.
34531         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34532         test case.
34534         [BZ #16680]
34535         * libio/fileops.c (_IO_file_open): Seek to end of file but
34536         don't cache the offset.
34537         (get_file_offset): Remove function.
34538         (do_ftell): Use cached offset when available.
34539         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34540         don't cache the offset.
34541         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34542         case.
34543         (do_one_test): Call it.
34544         (do_ftell_test): Fix up expected old offset for a+ mode.
34545         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34546         available.
34548         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34549         up test status with function return status.
34550         (do_write_test): Likewise.
34551         (do_append_test): Likewise.
34553         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34554         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34555         Remove.
34557 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34559         * math/gen-libm-test.pl (parse_args): Handle results specified for
34560         each rounding mode separately.
34561         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34562         tests and results from lrint_tonearest_test_data,
34563         lrint_towardzero_test_data, lrint_downward_test_data and
34564         lrint_upward_test_data.
34565         (lrint_test): Use ALL_RM_TEST.
34566         (lrint_tonearest_test_data): Remove.
34567         (lrint_test_tonearest): Likewise.
34568         (lrint_towardzero_test_data): Likewise.
34569         (lrint_test_towardzero): Likewise.
34570         (lrint_downward_test_data): Likewise.
34571         (lrint_test_downward): Likewise.
34572         (lrint_upward_test_data): Likewise.
34573         (lrint_test_upward): Likewise.
34574         (llrint_test_data): Merge in per-rounding-mode tests and results
34575         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34576         llrint_downward_test_data and llrint_upward_test_data.
34577         (llrint_test): Use ALL_RM_TEST.
34578         (llrint_tonearest_test_data): Remove.
34579         (llrint_test_tonearest): Likewise.
34580         (llrint_towardzero_test_data): Likewise.
34581         (llrint_test_towardzero): Likewise.
34582         (llrint_downward_test_data): Likewise.
34583         (llrint_test_downward): Likewise.
34584         (llrint_upward_test_data): Likewise.
34585         (llrint_test_upward): Likewise.
34586         (rint_test_data): Merge in per-rounding-mode tests and results
34587         from rint_tonearest_test_data, rint_towardzero_test_data,
34588         rint_downward_test_data and rint_upward_test_data.  Add
34589         per-rounding-mode results for tests not in those arrays.
34590         (rint_test): Use ALL_RM_TEST.
34591         (rint_tonearest_test_data): Remove.
34592         (rint_test_tonearest): Likewise.
34593         (rint_towardzero_test_data): Likewise.
34594         (rint_test_towardzero): Likewise.
34595         (rint_downward_test_data): Likewise.
34596         (rint_test_downward): Likewise.
34597         (rint_upward_test_data): Likewise.
34598         (rint_test_upward): Likewise.
34599         (main): Don't call removed functions.
34601 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34603         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34604         "Compiled on ..." crapola.  It is anti-useful.
34606 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34608         * scripts/evaluate-test.sh: Handle fourth argument to determine
34609         whether test run should stop on failure.
34610         * Makeconfig (stop-on-test-failure): New variable.
34611         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34612         $(stop-on-test-failure).
34613         * Makefile (tests): Give a summary of results from testing and
34614         exit with failure status if they include an ERROR or FAIL.
34615         (xtests): Likewise.
34616         * manual/install.texi (Configuring and compiling): Mention
34617         stop-on-test-failure=y.
34618         * INSTALL: Regenerated.
34620 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34622         * scripts/versionlist.awk: New file.
34623         * Makerules [$(build-shared) = yes]
34624         (postclean-generated): Add Versions.def, not Versions.def.v and
34625         Versions.def.v.i.
34626         ($(common-objpfx)Versions.def.v.i): Target removed.
34627         ($(common-objpfx)Versions.def): New target.
34628         ($(common-objpfx)Versions.all): Depend on that rather that
34629         $(common-objpfx)Versions.def.v.
34630         * Versions.def: File removed.
34632         * Makeconfig (+gccwarn): Add -Wundef.
34633         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34634         a dl-sysdep.h breaking its contract.
34635         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34636         * include/stackinfo.h: New file.
34637         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34638         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34639         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34640         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34641         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34642         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34643         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34644         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34645         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34646         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34647         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34648         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34649         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34650         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34651         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34653 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34655         [BZ #16707]
34656         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34657         implementation.
34658         * math/libm-test.inc (round_test_data): Add more tests.
34660         [BZ #16706]
34661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34662         implementation.
34663         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34665         [BZ #16701]
34666         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34667         implementation.
34668         * math/libm-test.inc (ceil_test_data): Add more tests.
34670         * math/libm-test.inc (trunc_test_data): Add more tests related to
34671         BZ#16414.
34673 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34675         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34676         with #if rather than #ifdef.
34677         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34679 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34681         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34682         first.  Disable AVX-512 GCC support if assembler doesn't support
34683         it.
34684         * sysdeps/x86_64/configure: Regenerated.
34686 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34688         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34689         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34690         (__old_pthread_attr_setstack): Likewise.
34691         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34692         [!_STACK_GROWS_DOWN]: Likewise.
34694 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34696         * config.make.in (have-bash2): Delete.
34697         * configure.ac (libc_cv_have_bash2): Delete.
34698         * configure: Regenerate.
34699         * elf/Makefile (common-ldd-rewrite): Rename to ...
34700         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34701         (sh-ldd-rewrite): Delete.
34702         (bash-ldd-rewrite): Delete.
34703         (have-bash2): Delete checks.
34704         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34705         ldd-rewrite.
34707         * config.make.in (have-ksh): Delete.
34708         (KSH): Delete.
34709         * configure.ac (libc_cv_have_ksh): Delete.
34710         * configure: Regenerate.
34712         * elf/Makefile: Delete $(have-ksh) check.
34713         ($(objpfx)sotruss): Change KSH to BASH.
34714         * elf/sotruss.ksh: Rename to ...
34715         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34716         function style to match POSIX.  Drop ksh vim mode setting.
34718         * manual/time.texi (Specifying the Time Zone with TZ): Change
34719         Tuesday to Thursday.
34721         * debug/tst-longjmp_chk2.c: Update header comment.
34722         (stackoverflow_handler): Add comment.  Call assert on pass value.
34724 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34726         [BZ #16194]
34727         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34728         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34729         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34730         (La_x86_64_vector): Add zmm.
34731         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34732         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34733         ($(objpfx)tst-audit10): New target.
34734         ($(objpfx)tst-audit10.out): Likewise.
34735         (tst-audit10-ENV): New.
34736         (AVX512-CFLAGS): Likewise.
34737         (CFLAGS-tst-audit10.c): Likewise.
34738         (CFLAGS-tst-auditmod10a.c): Likewise.
34739         (CFLAGS-tst-auditmod10b.c): Likewise.
34740         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34741         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34742         * sysdeps/x86_64/configure: Regenerated.
34743         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34744         AVX-512 zmm register support.
34745         (_dl_x86_64_save_sse): Likewise.
34746         (_dl_x86_64_restore_sse): Likewise.
34747         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34748         size vector registers.
34749         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34750         (ZMM_SIZE): Likewise.
34751         * sysdeps/x86_64/tst-audit10.c: New file.
34752         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34753         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34755 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34757         * configure.ac (HAVE_EHDR_START): New check.
34758         * configure: Regenerated.
34759         * config.h.in (HAVE_EHDR_START): New #undef.
34760         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34761         assuming the lowest-addressed segment maps the start of the file.
34763 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34765         * INSTALL: Regenerated.
34767 2014-03-13  Will Newton  <will.newton@linaro.org>
34769         * manual/setjmp.texi (System V contexts): Improve
34770         clarity and grammar of documentation.
34772 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34774         [BZ #16381]
34775         * elf/Makefile (tests): Add tst-pie2.
34776         (tests-pie): Add tst-pie2.
34777         * elf/tst-pie2.c: New file.
34778         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34779         for ET_EXEC.
34780         * elf/rtld.c (map_doit): Load executable as lt_executable.
34781         (dl_main): Likewise.
34783 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34785         [BZ #16642]
34786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34787         (__ASSUME_PSELECT): Undefine.
34789 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34791         [BZ #16689]
34792         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34793         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34794         static build.
34795         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34796         selector for static builds.
34798 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34800         [BZ #16695]
34801         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34802         key in the buffer.
34804 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34806         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34807         IFUNC selector for static builds.
34809 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34811         * sysdeps/mips/math_private.h [__mips_hard_float]
34812         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34813         libc_feresetround_mips_ctx.
34814         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34815         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34816         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34818         [BZ #16677]
34819         * math/s_nextafter.c (__nextafter): Do not return value from
34820         overflowing computation.
34821         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34822         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34823         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34824         Likewise.
34825         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34826         Likewise.
34827         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34828         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34830 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34832         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34833         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34834         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34835         the new mov targetting sp.
34837 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34839         [BZ #16683]
34840         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34841         Define it for static builds as well.
34842         (NO_BZERO_IMPL): Likewise.
34844 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34846         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34847         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34848         multiarch strspn for PPC64.
34849         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34850         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34852         (__libc_ifunc_impl_list): Likewise.
34853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34854         multiarch optimizations
34855         * string/strspn.c (strspn): Using macro to redefine symbol name.
34857 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34858             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34860         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34861         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34862         multiarch strncat for PPC64.
34863         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34864         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34866         (__libc_ifunc_impl_list): Likewise.
34867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34868         multiarch optimizations
34870 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34872         [BZ #16639]
34873         * nscd/nscd.service: Make service type forking.
34875 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34877         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34878         sign in non default rounding modes.
34879         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34881 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34883         * math/libm-test.inc (ALL_RM_TEST): New macro.
34884         (ceil_test): Use ALL_RM_TEST.
34885         (cimag_test): Likewise.
34886         (conj_test): Likewise.
34887         (copysign_test): Likewise.
34888         (cproj_test): Likewise.
34889         (creal_test): Likewise.
34890         (fabs_test): Likewise.
34891         (floor_test): Likewise.
34892         (fmax_test): Likewise.
34893         (fmin_test): Likewise.
34894         (fmod_test): Likewise.
34895         (fpclassify_test): Likewise.
34896         (frexp_test): Likewise.
34897         (ilogb_test): Likewise.
34898         (isfinite_test): Likewise.
34899         (finite_test): Likewise.
34900         (isgreater_test): Likewise.
34901         (isgreaterequal_test): Likewise.
34902         (isinf_test): Likewise.
34903         (isless_test): Likewise.
34904         (islessequal_test): Likewise.
34905         (islessgreater_test): Likewise.
34906         (isnan_test): Likewise.
34907         (isnormal_test): Likewise.
34908         (issignaling_test): Likewise.
34909         (isunordered_test): Likewise.
34910         (logb_test): Likewise.
34911         (logb_downward_test_data): Remove.
34912         (logb_test_downward): Likewise.
34913         (lround_test): Use ALL_RM_TEST.
34914         (llround_test): Likewise.
34915         (modf_test): Likewise.
34916         (nexttoward_test): Likewise.
34917         (remainder_test): Likewise.
34918         (drem_test): Likewise.
34919         (remainder_tonearest_test_data): Likewise.
34920         (remainder_test_tonearest): Likewise.
34921         (drem_test_tonearest): Likewise.
34922         (remainder_towardzero_test_data): Likewise.
34923         (remainder_test_towardzero): Likewise.
34924         (drem_test_towardzero): Likewise.
34925         (remainder_downward_test_data): Likewise.
34926         (remainder_test_downward): Likewise.
34927         (drem_test_downward): Likewise.
34928         (remainder_upward_test_data): Likewise.
34929         (remainder_test_upward): Likewise.
34930         (drem_test_upward): Likewise.
34931         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34932         (round_test): Use ALL_RM_TEST.
34933         (signbit_test): Likewise.
34934         (trunc_test): Likewise.
34935         (significand_test): Likewise.
34936         (main): Don't call removed functions.
34938 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34940         [BZ #16674]
34941         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34942         || __USE_XOPEN2K8].
34943         (ILL_ILLOPN): Likewise.
34944         (ILL_ILLADR): Likewise.
34945         (ILL_ILLTRP): Likewise.
34946         (ILL_PRVOPC): Likewise.
34947         (ILL_PRVREG): Likewise.
34948         (ILL_COPROC): Likewise.
34949         (ILL_BADSTK): Likewise.
34950         (FPE_INTDIV): Likewise.
34951         (FPE_INTOVF): Likewise.
34952         (FPE_FLTDIV): Likewise.
34953         (FPE_FLTOVF): Likewise.
34954         (FPE_FLTUND): Likewise.
34955         (FPE_FLTRES): Likewise.
34956         (FPE_FLTINV): Likewise.
34957         (FPE_FLTSUB): Likewise.
34958         (SEGV_MAPERR): Likewise.
34959         (SEGV_ACCERR): Likewise.
34960         (BUS_ADRALN): Likewise.
34961         (BUS_ADRERR): Likewise.
34962         (BUS_OBJERR): Likewise.
34963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34964         (TRAP_TRACE): Likewise.
34965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34966         __USE_XOPEN2K8].
34967         (CLD_KILLED): Likewise.
34968         (CLD_DUMPED): Likewise.
34969         (CLD_TRAPPED): Likewise.
34970         (CLD_STOPPED): Likewise.
34971         (CLD_CONTINUED): Likewise.
34972         (POLL_IN): Likewise.
34973         (POLL_OUT): Likewise.
34974         (POLL_MSG): Likewise.
34975         (POLL_ERR): Likewise.
34976         (POLL_PRI): Likewise.
34977         (POLL_HUP): Likewise.
34978         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34979         Likewise.
34980         (ILL_ILLOPN): Likewise.
34981         (ILL_ILLADR): Likewise.
34982         (ILL_ILLTRP): Likewise.
34983         (ILL_PRVOPC): Likewise.
34984         (ILL_PRVREG): Likewise.
34985         (ILL_COPROC): Likewise.
34986         (ILL_BADSTK): Likewise.
34987         (FPE_INTDIV): Likewise.
34988         (FPE_INTOVF): Likewise.
34989         (FPE_FLTDIV): Likewise.
34990         (FPE_FLTOVF): Likewise.
34991         (FPE_FLTUND): Likewise.
34992         (FPE_FLTRES): Likewise.
34993         (FPE_FLTINV): Likewise.
34994         (FPE_FLTSUB): Likewise.
34995         (SEGV_MAPERR): Likewise.
34996         (SEGV_ACCERR): Likewise.
34997         (BUS_ADRALN): Likewise.
34998         (BUS_ADRERR): Likewise.
34999         (BUS_OBJERR): Likewise.
35000         (BUS_MCEERR_AR): Likewise.
35001         (BUS_MCEERR_AO): Likewise.
35002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35003         (TRAP_TRACE): Likewise.
35004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35005         __USE_XOPEN2K8].
35006         (CLD_KILLED): Likewise.
35007         (CLD_DUMPED): Likewise.
35008         (CLD_TRAPPED): Likewise.
35009         (CLD_STOPPED): Likewise.
35010         (CLD_CONTINUED): Likewise.
35011         (POLL_IN): Likewise.
35012         (POLL_OUT): Likewise.
35013         (POLL_MSG): Likewise.
35014         (POLL_ERR): Likewise.
35015         (POLL_PRI): Likewise.
35016         (POLL_HUP): Likewise.
35017         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35018         (ILL_ILLOPN): Likewise.
35019         (ILL_ILLADR): Likewise.
35020         (ILL_ILLTRP): Likewise.
35021         (ILL_PRVOPC): Likewise.
35022         (ILL_PRVREG): Likewise.
35023         (ILL_COPROC): Likewise.
35024         (ILL_BADSTK): Likewise.
35025         (FPE_INTDIV): Likewise.
35026         (FPE_INTOVF): Likewise.
35027         (FPE_FLTDIV): Likewise.
35028         (FPE_FLTOVF): Likewise.
35029         (FPE_FLTUND): Likewise.
35030         (FPE_FLTRES): Likewise.
35031         (FPE_FLTINV): Likewise.
35032         (FPE_FLTSUB): Likewise.
35033         (SEGV_MAPERR): Likewise.
35034         (SEGV_ACCERR): Likewise.
35035         (BUS_ADRALN): Likewise.
35036         (BUS_ADRERR): Likewise.
35037         (BUS_OBJERR): Likewise.
35038         (BUS_MCEERR_AR): Likewise.
35039         (BUS_MCEERR_AO): Likewise.
35040         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35041         (TRAP_TRACE): Likewise.
35042         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35043         __USE_XOPEN2K8].
35044         (CLD_KILLED): Likewise.
35045         (CLD_DUMPED): Likewise.
35046         (CLD_TRAPPED): Likewise.
35047         (CLD_STOPPED): Likewise.
35048         (CLD_CONTINUED): Likewise.
35049         (POLL_IN): Likewise.
35050         (POLL_OUT): Likewise.
35051         (POLL_MSG): Likewise.
35052         (POLL_ERR): Likewise.
35053         (POLL_PRI): Likewise.
35054         (POLL_HUP): Likewise.
35055         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35056         Likewise.
35057         (ILL_ILLOPN): Likewise.
35058         (ILL_ILLADR): Likewise.
35059         (ILL_ILLTRP): Likewise.
35060         (ILL_PRVOPC): Likewise.
35061         (ILL_PRVREG): Likewise.
35062         (ILL_COPROC): Likewise.
35063         (ILL_BADSTK): Likewise.
35064         (ILL_BADIADDR): Likewise.
35065         (ILL_BREAK): Likewise.
35066         (FPE_INTDIV): Likewise.
35067         (FPE_INTOVF): Likewise.
35068         (FPE_FLTDIV): Likewise.
35069         (FPE_FLTOVF): Likewise.
35070         (FPE_FLTUND): Likewise.
35071         (FPE_FLTRES): Likewise.
35072         (FPE_FLTINV): Likewise.
35073         (FPE_FLTSUB): Likewise.
35074         (FPE_DECOVF): Likewise.
35075         (FPE_DECDIV): Likewise.
35076         (FPE_DECERR): Likewise.
35077         (FPE_INVASC): Likewise.
35078         (FPE_INVDEC): Likewise.
35079         (SEGV_MAPERR): Likewise.
35080         (SEGV_ACCERR): Likewise.
35081         (SEGV_PSTKOVF): Likewise.
35082         (BUS_ADRALN): Likewise.
35083         (BUS_ADRERR): Likewise.
35084         (BUS_OBJERR): Likewise.
35085         (BUS_MCEERR_AR): Likewise.
35086         (BUS_MCEERR_AO): Likewise.
35087         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35088         (TRAP_TRACE): Likewise.
35089         (TRAP_BRANCH): Likewise.
35090         (TRAP_HWBKPT): Likewise.
35091         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35092         __USE_XOPEN2K8].
35093         (CLD_KILLED): Likewise.
35094         (CLD_DUMPED): Likewise.
35095         (CLD_TRAPPED): Likewise.
35096         (CLD_STOPPED): Likewise.
35097         (CLD_CONTINUED): Likewise.
35098         (POLL_IN): Likewise.
35099         (POLL_OUT): Likewise.
35100         (POLL_MSG): Likewise.
35101         (POLL_ERR): Likewise.
35102         (POLL_PRI): Likewise.
35103         (POLL_HUP): Likewise.
35104         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35105         (ILL_ILLOPN): Likewise.
35106         (ILL_ILLADR): Likewise.
35107         (ILL_ILLTRP): Likewise.
35108         (ILL_PRVOPC): Likewise.
35109         (ILL_PRVREG): Likewise.
35110         (ILL_COPROC): Likewise.
35111         (ILL_BADSTK): Likewise.
35112         (FPE_INTDIV): Likewise.
35113         (FPE_INTOVF): Likewise.
35114         (FPE_FLTDIV): Likewise.
35115         (FPE_FLTOVF): Likewise.
35116         (FPE_FLTUND): Likewise.
35117         (FPE_FLTRES): Likewise.
35118         (FPE_FLTINV): Likewise.
35119         (FPE_FLTSUB): Likewise.
35120         (SEGV_MAPERR): Likewise.
35121         (SEGV_ACCERR): Likewise.
35122         (BUS_ADRALN): Likewise.
35123         (BUS_ADRERR): Likewise.
35124         (BUS_OBJERR): Likewise.
35125         (BUS_MCEERR_AR): Likewise.
35126         (BUS_MCEERR_AO): Likewise.
35127         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35128         (TRAP_TRACE): Likewise.
35129         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35130         __USE_XOPEN2K8].
35131         (CLD_KILLED): Likewise.
35132         (CLD_DUMPED): Likewise.
35133         (CLD_TRAPPED): Likewise.
35134         (CLD_STOPPED): Likewise.
35135         (CLD_CONTINUED): Likewise.
35136         (POLL_IN): Likewise.
35137         (POLL_OUT): Likewise.
35138         (POLL_MSG): Likewise.
35139         (POLL_ERR): Likewise.
35140         (POLL_PRI): Likewise.
35141         (POLL_HUP): Likewise.
35142         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35143         (ILL_ILLOPN): Likewise.
35144         (ILL_ILLADR): Likewise.
35145         (ILL_ILLTRP): Likewise.
35146         (ILL_PRVOPC): Likewise.
35147         (ILL_PRVREG): Likewise.
35148         (ILL_COPROC): Likewise.
35149         (ILL_BADSTK): Likewise.
35150         (FPE_INTDIV): Likewise.
35151         (FPE_INTOVF): Likewise.
35152         (FPE_FLTDIV): Likewise.
35153         (FPE_FLTOVF): Likewise.
35154         (FPE_FLTUND): Likewise.
35155         (FPE_FLTRES): Likewise.
35156         (FPE_FLTINV): Likewise.
35157         (FPE_FLTSUB): Likewise.
35158         (SEGV_MAPERR): Likewise.
35159         (SEGV_ACCERR): Likewise.
35160         (BUS_ADRALN): Likewise.
35161         (BUS_ADRERR): Likewise.
35162         (BUS_OBJERR): Likewise.
35163         (BUS_MCEERR_AR): Likewise.
35164         (BUS_MCEERR_AO): Likewise.
35165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35166         (TRAP_TRACE): Likewise.
35167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35168         __USE_XOPEN2K8].
35169         (CLD_KILLED): Likewise.
35170         (CLD_DUMPED): Likewise.
35171         (CLD_TRAPPED): Likewise.
35172         (CLD_STOPPED): Likewise.
35173         (CLD_CONTINUED): Likewise.
35174         (POLL_IN): Likewise.
35175         (POLL_OUT): Likewise.
35176         (POLL_MSG): Likewise.
35177         (POLL_ERR): Likewise.
35178         (POLL_PRI): Likewise.
35179         (POLL_HUP): Likewise.
35180         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35181         (ILL_ILLOPN): Likewise.
35182         (ILL_ILLADR): Likewise.
35183         (ILL_ILLTRP): Likewise.
35184         (ILL_PRVOPC): Likewise.
35185         (ILL_PRVREG): Likewise.
35186         (ILL_COPROC): Likewise.
35187         (ILL_BADSTK): Likewise.
35188         (FPE_INTDIV): Likewise.
35189         (FPE_INTOVF): Likewise.
35190         (FPE_FLTDIV): Likewise.
35191         (FPE_FLTOVF): Likewise.
35192         (FPE_FLTUND): Likewise.
35193         (FPE_FLTRES): Likewise.
35194         (FPE_FLTINV): Likewise.
35195         (FPE_FLTSUB): Likewise.
35196         (SEGV_MAPERR): Likewise.
35197         (SEGV_ACCERR): Likewise.
35198         (BUS_ADRALN): Likewise.
35199         (BUS_ADRERR): Likewise.
35200         (BUS_OBJERR): Likewise.
35201         (BUS_MCEERR_AR): Likewise.
35202         (BUS_MCEERR_AO): Likewise.
35203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35204         (TRAP_TRACE): Likewise.
35205         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35206         __USE_XOPEN2K8].
35207         (CLD_KILLED): Likewise.
35208         (CLD_DUMPED): Likewise.
35209         (CLD_TRAPPED): Likewise.
35210         (CLD_STOPPED): Likewise.
35211         (CLD_CONTINUED): Likewise.
35212         (POLL_IN): Likewise.
35213         (POLL_OUT): Likewise.
35214         (POLL_MSG): Likewise.
35215         (POLL_ERR): Likewise.
35216         (POLL_PRI): Likewise.
35217         (POLL_HUP): Likewise.
35218         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35219         (ILL_ILLOPN): Likewise.
35220         (ILL_ILLADR): Likewise.
35221         (ILL_ILLTRP): Likewise.
35222         (ILL_PRVOPC): Likewise.
35223         (ILL_PRVREG): Likewise.
35224         (ILL_COPROC): Likewise.
35225         (ILL_BADSTK): Likewise.
35226         (ILL_DBLFLT): Likewise.
35227         (ILL_HARDWALL): Likewise.
35228         (FPE_INTDIV): Likewise.
35229         (FPE_INTOVF): Likewise.
35230         (FPE_FLTDIV): Likewise.
35231         (FPE_FLTOVF): Likewise.
35232         (FPE_FLTUND): Likewise.
35233         (FPE_FLTRES): Likewise.
35234         (FPE_FLTINV): Likewise.
35235         (FPE_FLTSUB): Likewise.
35236         (SEGV_MAPERR): Likewise.
35237         (SEGV_ACCERR): Likewise.
35238         (BUS_ADRALN): Likewise.
35239         (BUS_ADRERR): Likewise.
35240         (BUS_OBJERR): Likewise.
35241         (BUS_MCEERR_AR): Likewise.
35242         (BUS_MCEERR_AO): Likewise.
35243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35244         (TRAP_TRACE): Likewise.
35245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35246         __USE_XOPEN2K8].
35247         (CLD_KILLED): Likewise.
35248         (CLD_DUMPED): Likewise.
35249         (CLD_TRAPPED): Likewise.
35250         (CLD_STOPPED): Likewise.
35251         (CLD_CONTINUED): Likewise.
35252         (POLL_IN): Likewise.
35253         (POLL_OUT): Likewise.
35254         (POLL_MSG): Likewise.
35255         (POLL_ERR): Likewise.
35256         (POLL_PRI): Likewise.
35257         (POLL_HUP): Likewise.
35258         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35259         (ILL_ILLOPN): Likewise.
35260         (ILL_ILLADR): Likewise.
35261         (ILL_ILLTRP): Likewise.
35262         (ILL_PRVOPC): Likewise.
35263         (ILL_PRVREG): Likewise.
35264         (ILL_COPROC): Likewise.
35265         (ILL_BADSTK): Likewise.
35266         (FPE_INTDIV): Likewise.
35267         (FPE_INTOVF): Likewise.
35268         (FPE_FLTDIV): Likewise.
35269         (FPE_FLTOVF): Likewise.
35270         (FPE_FLTUND): Likewise.
35271         (FPE_FLTRES): Likewise.
35272         (FPE_FLTINV): Likewise.
35273         (FPE_FLTSUB): Likewise.
35274         (SEGV_MAPERR): Likewise.
35275         (SEGV_ACCERR): Likewise.
35276         (BUS_ADRALN): Likewise.
35277         (BUS_ADRERR): Likewise.
35278         (BUS_OBJERR): Likewise.
35279         (BUS_MCEERR_AR): Likewise.
35280         (BUS_MCEERR_AO): Likewise.
35281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35282         (TRAP_TRACE): Likewise.
35283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35284         __USE_XOPEN2K8].
35285         (CLD_KILLED): Likewise.
35286         (CLD_DUMPED): Likewise.
35287         (CLD_TRAPPED): Likewise.
35288         (CLD_STOPPED): Likewise.
35289         (CLD_CONTINUED): Likewise.
35290         (POLL_IN): Likewise.
35291         (POLL_OUT): Likewise.
35292         (POLL_MSG): Likewise.
35293         (POLL_ERR): Likewise.
35294         (POLL_PRI): Likewise.
35295         (POLL_HUP): Likewise.
35296         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35297         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35299         [BZ #16670]
35300         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35301         before #include of <time.h>.
35302         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35303         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35304         (test-xfail-UNIX98/sched.h/conform): Likewise.
35306 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35308         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35309         error absence of trapping exception support.
35310         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35312 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35314         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35315         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35316         * timezone/Makefile (testdata): Move definition above include of
35317         Rules.
35318         (test-zones): New variable.
35319         (tests-special): Add zone files.
35320         (build-testdata): Use $(evaluate-test).
35322         * elf/Makefile (tests-special): Rename tests to end with .out.
35323         ($(objpfx)noload-mem): Likewise.
35324         ($(objpfx)tst-leaks1-mem): Likewise.
35325         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35326         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35327         $(objpfx)test-iconvconfig.out.
35328         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35329         set -e inside subshell and redirect output to file.
35330         * iconvdata/Makefile (generated): Rename tests to end with .out.
35331         Correct type.
35332         (tests-special): Rename tests to end with .out.
35333         ($(objpfx)mtrace-tst-loading): Likewise.
35334         * intl/Makefile (generated): Likewise.
35335         (tests-special): Likewise.
35336         ($(objpfx)mtrace-tst-gettext): Likewise.
35337         * misc/Makefile (generated): Likewise.
35338         (tests-special): Likewise.
35339         ($(objpfx)tst-error1-mem): Likewise.
35340         * nptl/Makefile (tests-special): Likewise.
35341         ($(objpfx)tst-stack3-mem): Likewise.
35342         (generated): Likewise.
35343         * posix/Makefile (generated): Likewise.
35344         (tests-special): Likewise.
35345         (xtests-special): Likewise.
35346         ($(objpfx)tst-fnmatch-mem): Likewise.
35347         ($(objpfx)bug-regex2-mem): Likewise.
35348         ($(objpfx)bug-regex14-mem): Likewise.
35349         ($(objpfx)bug-regex21-mem): Likewise.
35350         ($(objpfx)bug-regex31-mem): Likewise.
35351         ($(objpfx)tst-vfork3-mem): Likewise.
35352         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35353         ($(objpfx)tst-pcre-mem): Likewise.
35354         ($(objpfx)tst-boost-mem): Likewise.
35355         ($(objpfx)bug-ga2-mem): Likewise.
35356         ($(objpfx)bug-glob2-mem): Likewise.
35357         * resolv/Makefile (generate): Likewise.
35358         (tests-special): Likewise.
35359         (xtests-special): Likewise.
35360         (generated): Likewise.
35361         ($(objpfx)mtrace-tst-leaks): Likewise.
35362         ($(objpfx)mtrace-tst-leaks2): Likewise.
35364         * scripts/merge-test-results.sh: New file.
35365         * Makefile (tests-special-notdir): New variable.
35366         (tests): Run merge-test-results.sh.
35367         (xtests): Likewise.
35368         * Rules (tests-special-notdir): New variable.
35369         (xtests-special-notdir): Likewise.
35370         (tests): Run merge-test-results.sh
35371         (xtests): Likewise.
35373         * Makeconfig (test-xfail-name): New variable.
35374         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35375         compute variable name for expected failures.
35376         * conform/Makefile (conformtest-headers-data): New variable.
35377         (conformtest-standards): Likewise.
35378         (conformtest-headers-ISO): Likewise.
35379         (conformtest-headers-ISO99): Likewise.
35380         (conformtest-headers-ISO11): Likewise.
35381         (conformtest-headers-POSIX): Likewise.
35382         (conformtest-headers-XPG3): Likewise.
35383         (conformtest-headers-XPG4): Likewise.
35384         (conformtest-headers-UNIX98): Likewise.
35385         (conformtest-headers-XOPEN2K): Likewise.
35386         (conformtest-headers-POSIX2008): Likewise.
35387         (conformtest-headers-XOPEN2K8): Likewise.
35388         (conformtest-header-list-base): Likewise.
35389         (conformtest-header-list-tests): Likewise.
35390         (conformtest-header-base): Likewise.
35391         (conformtest-header-tests): Likewise.
35392         (tests-special): Add $(conformtest-header-list-tests).  If
35393         [$(fast-check) && !$(cross-compiling)], add
35394         $(conformtest-header-tests) instead of
35395         $(objpfx)run-conformtest.out.
35396         (generated): Add $(conformtest-header-list-base).  If
35397         [$(fast-check) && !$(cross-compiling)], add
35398         $(conformtest-header-base).  Remove previous setting.
35399         ($(conformtest-header-list-tests)): New target.
35400         (test-xfail-run-conformtest): Remove variable.
35401         ($(objpfx)run-conformtest.out): Remove target.
35402         (test-xfail-ISO11/complex.h/conform): New variable.
35403         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35404         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35405         (test-xfail-XPG3/varargs.h/conform): Likewise.
35406         (test-xfail-XPG4/varargs.h/conform): Likewise.
35407         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35408         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35409         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35410         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35411         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35412         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35413         (test-xfail-XPG3/ftw.h/conform): Likewise.
35414         (test-xfail-XPG3/grp.h/conform): Likewise.
35415         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35416         (test-xfail-XPG3/limits.h/conform): Likewise.
35417         (test-xfail-XPG3/pwd.h/conform): Likewise.
35418         (test-xfail-XPG3/search.h/conform): Likewise.
35419         (test-xfail-XPG3/signal.h/conform): Likewise.
35420         (test-xfail-XPG3/stdio.h/conform): Likewise.
35421         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35422         (test-xfail-XPG3/string.h/conform): Likewise.
35423         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35424         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35425         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35426         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35427         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35428         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35429         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35430         (test-xfail-XPG3/termios.h/conform): Likewise.
35431         (test-xfail-XPG3/time.h/conform): Likewise.
35432         (test-xfail-XPG3/unistd.h/conform): Likewise.
35433         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35434         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35435         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35436         (test-xfail-XPG4/netdb.h/conform): Likewise.
35437         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35438         (test-xfail-XPG4/signal.h/conform): Likewise.
35439         (test-xfail-XPG4/stdio.h/conform): Likewise.
35440         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35441         (test-xfail-XPG4/stropts.h/conform): Likewise.
35442         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35443         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35444         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35445         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35446         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35447         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35448         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35449         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35450         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35451         (test-xfail-XPG4/termios.h/conform): Likewise.
35452         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35453         (test-xfail-XPG4/unistd.h/conform): Likewise.
35454         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35455         (test-xfail-POSIX/sched.h/conform): Likewise.
35456         (test-xfail-POSIX/signal.h/conform): Likewise.
35457         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35458         (test-xfail-POSIX/tar.h/conform): Likewise.
35459         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35460         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35461         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35462         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35463         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35464         (test-xfail-UNIX98/sched.h/conform): Likewise.
35465         (test-xfail-UNIX98/signal.h/conform): Likewise.
35466         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35467         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35468         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35469         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35470         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35471         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35472         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35473         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35474         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35475         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35476         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35477         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35478         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35479         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35480         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35481         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35482         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35483         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35484         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35485         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35486         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35487         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35488         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35489         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35490         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35491         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35492         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35493         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35494         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35495         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35496         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35497         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35498         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35499         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35500         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35501         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35502         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35503         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35504         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35505         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35506         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35507         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35508         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35509         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35510         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35511         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35512         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35513         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35514         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35515         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35516         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35517         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35518         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35519         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35520         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35521         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35522         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35523         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35524         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35525         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35526         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35527         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35528         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35529         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35530         (conformtest-cc-flags): Likewise.
35531         ($(conformtest-header-tests): New target.
35532         * conform/check-header-lists.sh: New file.
35533         * conform/run-conformtest.sh: Remove.
35535         * conform/conformtest.pl: Allow ' and \ in values given for
35536         constants.
35537         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35538         inclusion.
35539         [POSIX] (sys/types.h): Likewise.
35540         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35541         inclusion.
35542         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35543         inclusion.
35544         * conform/data/signal.h-data (SIGIO): Remove expectation.
35545         [XPG3] (SIGBUS): Do not expect.
35546         [POSIX || XPG3] (SIGPOLL): Likewise.
35547         [POSIX || XPG3] (SIGPROF): Likewise.
35548         [POSIX || XPG3] (SIGSYS): Likewise.
35549         [XPG3] (SIGTRAP): Likewise.
35550         [POSIX || XPG3] (SIGURG): Likewise.
35551         [POSIX || XPG3] (SIGVTALRM): Likewise.
35552         [POSIX || XPG3] (SIGXCPU): Likewise.
35553         [POSIX || XPG3] (SIGXFSZ): Likewise.
35554         [POSIX] (SA_SIGINFO): Expect.
35555         [XPG3] (siginfo_t): Do not expect type or contents.
35556         [POSIX] (si_pid): Do not expect element.
35557         [POSIX] (si_uid): Likewise.
35558         [POSIX] (si_addr): Likewise.
35559         [POSIX] (si_status): Likewise.
35560         [POSIX] (si_band): Likewise.
35561         [XPG4] (si_value): Likewise.
35562         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35563         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35564         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35565         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35566         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35567         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35568         [POSIX || XPG3] (ILL_COPROC): Likewise.
35569         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35570         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35571         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35572         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35573         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35574         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35575         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35576         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35577         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35578         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35579         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35580         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35581         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35582         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35583         [POSIX || XPG3] (CLD_EXITED): Likewise.
35584         [POSIX || XPG3] (CLD_KILLED): Likewise.
35585         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35586         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35587         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35588         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35589         [POSIX || XPG3] (POLL_IN): Likewise.
35590         [POSIX || XPG3] (POLL_OUT): Likewise.
35591         [POSIX || XPG3] (POLL_MSG): Likewise.
35592         [POSIX || XPG3] (POLL_ERR): Likewise.
35593         [POSIX || XPG3] (POLL_PRI): Likewise.
35594         [POSIX || XPG3] (POLL_HUP): Likewise.
35595         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35596         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35597         (SIG*): Do not allow.
35598         [XPG3] (si_*): Likewise.
35599         [XPG3] (SI_*): Likewise.
35600         [XPG3 || XPG4] (sigev_*): Likewise.
35601         [XPG3 || XPG4] (SIGEV_*): Likewise.
35602         [XPG3 || XPG4] (sival_*): Likewise.
35603         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35604         [POSIX || XPG3] (BUS_*): Likewise.
35605         [POSIX || XPG3] (CLD_*): Likewise.
35606         [POSIX || XPG3] (FPE_*): Likewise.
35607         [POSIX || XPG3] (ILL_*): Likewise.
35608         [POSIX || XPG3] (POLL_*): Likewise.
35609         [POSIX || XPG3] (SEGV_*): Likewise.
35610         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35611         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35612         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35613         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35614         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35615         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35616         Specify type and value.
35617         (TVERSLEN): Likewise.
35618         (REGTYPE): Likewise.
35619         (AREGTYPE): Likewise.
35620         (LNKTYPE): Likewise.
35621         (SYMTYPE): Likewise.
35622         (CHRTYPE): Likewise.
35623         (BLKTYPE): Likewise.
35624         (DIRTYPE): Likewise.
35625         (FIFOTYPE): Likewise.
35626         (CONTTYPE): Likewise.
35627         (TSUID): Likewise.
35628         (TSGID): Likewise.
35629         (TSVTX): Likewise.
35630         (TUREAD): Likewise.
35631         (TUWRITE): Likewise.
35632         (TUEXEC): Likewise.
35633         (TGREAD): Likewise.
35634         (TGWRITE): Likewise.
35635         (TGEXEC): Likewise.
35636         (TOREAD): Likewise.
35637         (TOWRITE): Likewise.
35638         (TOEXEC): Likewise.
35639         [POSIX] (TSVTX): Expect constant.
35641 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35643         * Makefile (tests): Change dependencies to ....
35644         (tests-special): ... additions to this variable.
35645         (tests): Depend on $(tests-special).
35646         * Makerules (check-abi-list): New variable.
35647         (check-abi): Depend on $(check-abi-list).
35648         [$(subdir) = elf] (tests-special): Add
35649         $(objpfx)check-abi-libc.out.
35650         [$(build-shared) = yes && subdir] (tests-special): Add
35651         $(check-abi-list).
35652         [$(build-shared) = yes && subdir] (tests): Do not depend on
35653         check-abi.
35654         * Rules (tests): Depend on $(tests-special).
35655         (xtests): Depend on $(xtests-special).
35656         * catgets/Makefile (tests): Change dependencies to ....
35657         (tests-special): ... additions to this variable.
35658         * conform/Makefile (tests): Change dependencies to ....
35659         (tests-special): ... additions to this variable.
35660         * elf/Makefile (tests): Change dependencies to ....
35661         (tests-special): ... additions to this variable.
35662         * grp/Makefile (tests): Change dependencies to ....
35663         (tests-special): ... additions to this variable.
35664         * iconv/Makefile (xtests): Change dependencies to ....
35665         (xtests-special): ... additions to this variable.
35666         * iconvdata/Makefile (tests): Change dependencies to ....
35667         (tests-special): ... additions to this variable.
35668         * intl/Makefile (tests): Change dependencies to ....
35669         (tests-special): ... additions to this variable.  Also add
35670         $(objpfx)tst-gettext.out.
35671         * io/Makefile (tests): Change dependencies to ....
35672         (tests-special): ... additions to this variable.
35673         * libio/Makefile (tests): Change dependencies to ....
35674         (tests-special): ... additions to this variable.
35675         * malloc/Makefile (tests): Change dependencies to ....
35676         (tests-special): ... additions to this variable.
35677         * misc/Makefile (tests): Change dependencies to ....
35678         (tests-special): ... additions to this variable.
35679         * nptl/Makefile (tests): Change dependencies to ....
35680         (tests-special): ... additions to this variable.
35681         * nptl_db/Makefile (tests): Change dependencies to ....
35682         (tests-special): ... additions to this variable.
35683         * posix/Makefile (tests): Change dependencies to ....
35684         (tests-special): ... additions to this variable.
35685         (xtests): Change dependencies to ....
35686         (xtests-special): ... additions to this variable.
35687         * resolv/Makefile (tests): Change dependencies to ....
35688         (tests-special): ... additions to this variable.
35689         (xtests): Change dependencies to ....
35690         (xtests-special): ... additions to this variable.
35691         * stdio-common/Makefile (tests): Change dependencies to ....
35692         (tests-special): ... additions to this variable.
35693         (do-tst-unbputc): Remove target.
35694         (do-tst-printf): Likewise.
35695         * stdlib/Makefile (tests): Change dependencies to ....
35696         (tests-special): ... additions to this variable.
35697         * string/Makefile (tests): Change dependencies to ....
35698         (tests-special): ... additions to this variable.
35699         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35700         (tests-special): ... additions to this variable.
35702         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35703         whole file.
35704         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35705         whole file.
35706         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35707         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35709         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35710         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35711         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35712         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35713         * conform/data/libgen.h-data [XPG3]: Likewise.
35714         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35715         * conform/data/ndbm.h-data [XPG3]: Likewise.
35716         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35717         * conform/data/netdb.h-data [XPG3]: Likewise.
35718         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35719         * conform/data/poll.h-data [XPG3]: Likewise.
35720         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35721         * conform/data/strings.h-data [XPG3]: Likewise.
35722         * conform/data/stropts.h-data [XPG3]: Likewise.
35723         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35724         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35725         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35726         Likewise.
35727         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35728         * conform/data/sys/time.h-data [XPG3]: Likewise.
35729         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35730         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35731         * conform/data/sys/un.h-data [XPG3]: Likewise.
35732         * conform/data/syslog.h-data [XPG3]: Likewise.
35733         * conform/data/ucontext.h-data [XPG3]: Likewise.
35734         * conform/data/utmpx.h-data [XPG3]: Likewise.
35735         * conform/data/varargs.h-data [UNIX98]: Enable file.
35737         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35739         * math/libm-test.inc (struct test_f_f_data): Move expected results
35740         into structure for each rounding mode.
35741         (struct test_ff_f_data): Likewise.
35742         (struct test_ff_f_data_nexttoward): Likewise.
35743         (struct test_fi_f_data): Likewise.
35744         (struct test_fl_f_data): Likewise.
35745         (struct test_if_f_data): Likewise.
35746         (struct test_fff_f_data): Likewise.
35747         (struct test_c_f_data): Likewise.
35748         (struct test_f_f1_data): Likewise.
35749         (struct test_fF_f1_data): Likewise.
35750         (struct test_ffI_f1_data): Likewise.
35751         (struct test_c_c_data): Likewise.
35752         (struct test_cc_c_data): Likewise.
35753         (struct test_f_i_data): Likewise.
35754         (struct test_ff_i_data): Likewise.
35755         (struct test_f_l_data): Likewise.
35756         (struct test_f_L_data): Likewise.
35757         (struct test_fFF_11_data): Likewise.
35758         (RM_): New macro.
35759         (RM_FE_DOWNWARD): Likewise.
35760         (RM_FE_TONEAREST): Likewise.
35761         (RM_FE_TOWARDZERO): Likewise.
35762         (RM_FE_UPWARD): Likewise.
35763         (RUN_TEST_LOOP_f_f): Update references to expected results.
35764         (RUN_TEST_LOOP_2_f): Likewise.
35765         (RUN_TEST_LOOP_fff_f): Likewise.
35766         (RUN_TEST_LOOP_c_f): Likewise.
35767         (RUN_TEST_LOOP_f_f1): Likewise.
35768         (RUN_TEST_LOOP_fF_f1): Likewise.
35769         (RUN_TEST_LOOP_fI_f1): Likewise.
35770         (RUN_TEST_LOOP_ffI_f1): Likewise.
35771         (RUN_TEST_LOOP_c_c): Likewise.
35772         (RUN_TEST_LOOP_cc_c): Likewise.
35773         (RUN_TEST_LOOP_f_i): Likewise.
35774         (RUN_TEST_LOOP_f_i_tg): Likewise.
35775         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35776         (RUN_TEST_LOOP_f_b): Likewise.
35777         (RUN_TEST_LOOP_f_b_tg): Likewise.
35778         (RUN_TEST_LOOP_f_l): Likewise.
35779         (RUN_TEST_LOOP_f_L): Likewise.
35780         (RUN_TEST_LOOP_fFF_11): Likewise.
35781         * math/gen-libm-test.pl (parse_args): Output four copies of
35782         expected results for each test.
35784         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35785         (__ASSUME_UTIMES): Remove.
35786         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35787         (__ASSUME_UTIMES): Likewise.
35789         * math/gen-auto-libm-tests.c: Update comment on output format.
35790         (output_for_one_input_case): Generate before-rounding and
35791         after-rounding information as conditions on output flags not
35792         floating-point format.
35793         * math/auto-libm-test-out: Regenerated.
35794         * math/gen-libm-test.pl (cond_value): New function.
35795         (or_cond_value): Use cond_value.
35796         (generate_testfile): Handle conditional exceptions.
35798 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35800         * math/libm-test.inc (max_valid_error): New variable.
35801         (init_max_error): Take new argument specifying whether function
35802         results are exactly determined.  Set max_valid_error and bound
35803         other variables for errors based on this argument.
35804         (set_max_error): Do not record results above max_valid_error.
35805         (check_float_internal): Only accept errors of up to 0.5ulps if
35806         also at most max_valid_error.
35807         (START): Take new argument EXACT and pass it to init_max_error.
35808         (acos_test): Update call to START.
35809         (acos_test_tonearest): Likewise.
35810         (acos_test_towardzero): Likewise.
35811         (acos_test_downward): Likewise.
35812         (acos_test_upward): Likewise.
35813         (acosh_test): Likewise.
35814         (asin_test): Likewise.
35815         (asin_test_tonearest): Likewise.
35816         (asin_test_towardzero): Likewise.
35817         (asin_test_downward): Likewise.
35818         (asin_test_upward): Likewise.
35819         (asinh_test): Likewise.
35820         (atan_test): Likewise.
35821         (atanh_test): Likewise.
35822         (atan2_test): Likewise.
35823         (cabs_test): Likewise.
35824         (cacos_test): Likewise.
35825         (cacosh_test): Likewise.
35826         (carg_test): Likewise.
35827         (casin_test): Likewise.
35828         (casinh_test): Likewise.
35829         (catan_test): Likewise.
35830         (catanh_test): Likewise.
35831         (cbrt_test): Likewise.
35832         (ccos_test): Likewise.
35833         (ccosh_test): Likewise.
35834         (ceil_test): Likewise.
35835         (cexp_test): Likewise.
35836         (cimag_test): Likewise.
35837         (clog_test): Likewise.
35838         (clog10_test): Likewise.
35839         (conj_test): Likewise.
35840         (copysign_test): Likewise.
35841         (cos_test): Likewise.
35842         (cos_test_tonearest): Likewise.
35843         (cos_test_towardzero): Likewise.
35844         (cos_test_downward): Likewise.
35845         (cos_test_upward): Likewise.
35846         (cosh_test): Likewise.
35847         (cosh_test_tonearest): Likewise.
35848         (cosh_test_towardzero): Likewise.
35849         (cosh_test_downward): Likewise.
35850         (cosh_test_upward): Likewise.
35851         (cpow_test): Likewise.
35852         (cproj_test): Likewise.
35853         (creal_test): Likewise.
35854         (csin_test): Likewise.
35855         (csinh_test): Likewise.
35856         (csqrt_test): Likewise.
35857         (ctan_test): Likewise.
35858         (ctan_test_tonearest): Likewise.
35859         (ctan_test_towardzero): Likewise.
35860         (ctan_test_downward): Likewise.
35861         (ctan_test_upward): Likewise.
35862         (ctanh_test): Likewise.
35863         (ctanh_test_tonearest): Likewise.
35864         (ctanh_test_towardzero): Likewise.
35865         (ctanh_test_downward): Likewise.
35866         (ctanh_test_upward): Likewise.
35867         (erf_test): Likewise.
35868         (erfc_test): Likewise.
35869         (exp_test): Likewise.
35870         (exp_test_tonearest): Likewise.
35871         (exp_test_towardzero): Likewise.
35872         (exp_test_downward): Likewise.
35873         (exp_test_upward): Likewise.
35874         (exp10_test): Likewise.
35875         (exp10_test_tonearest): Likewise.
35876         (exp10_test_towardzero): Likewise.
35877         (exp10_test_downward): Likewise.
35878         (exp10_test_upward): Likewise.
35879         (pow10_test): Likewise.
35880         (exp2_test): Likewise.
35881         (expm1_test): Likewise.
35882         (expm1_test_tonearest): Likewise.
35883         (expm1_test_towardzero): Likewise.
35884         (expm1_test_downward): Likewise.
35885         (expm1_test_upward): Likewise.
35886         (fabs_test): Likewise.
35887         (fdim_test): Likewise.
35888         (floor_test): Likewise.
35889         (fma_test): Likewise.
35890         (fma_test_towardzero): Likewise.
35891         (fma_test_downward): Likewise.
35892         (fma_test_upward): Likewise.
35893         (fmax_test): Likewise.
35894         (fmin_test): Likewise.
35895         (fmod_test): Likewise.
35896         (fpclassify_test): Likewise.
35897         (frexp_test): Likewise.
35898         (hypot_test): Likewise.
35899         (ilogb_test): Likewise.
35900         (isfinite_test): Likewise.
35901         (finite_test): Likewise.
35902         (isgreater_test): Likewise.
35903         (isgreaterequal_test): Likewise.
35904         (isinf_test): Likewise.
35905         (isless_test): Likewise.
35906         (islessequal_test): Likewise.
35907         (islessgreater_test): Likewise.
35908         (isnan_test): Likewise.
35909         (isnormal_test): Likewise.
35910         (issignaling_test): Likewise.
35911         (isunordered_test): Likewise.
35912         (j0_test): Likewise.
35913         (j1_test): Likewise.
35914         (jn_test): Likewise.
35915         (ldexp_test): Likewise.
35916         (lgamma_test): Likewise.
35917         (gamma_test): Likewise.
35918         (lrint_test): Likewise.
35919         (lrint_test_tonearest): Likewise.
35920         (lrint_test_towardzero): Likewise.
35921         (lrint_test_downward): Likewise.
35922         (lrint_test_upward): Likewise.
35923         (llrint_test): Likewise.
35924         (llrint_test_tonearest): Likewise.
35925         (llrint_test_towardzero): Likewise.
35926         (llrint_test_downward): Likewise.
35927         (llrint_test_upward): Likewise.
35928         (log_test): Likewise.
35929         (log10_test): Likewise.
35930         (log1p_test): Likewise.
35931         (log2_test): Likewise.
35932         (logb_test): Likewise.
35933         (logb_test_downward): Likewise.
35934         (lround_test): Likewise.
35935         (llround_test): Likewise.
35936         (modf_test): Likewise.
35937         (nearbyint_test): Likewise.
35938         (nextafter_test): Likewise.
35939         (nexttoward_test): Likewise.
35940         (pow_test): Likewise.
35941         (pow_test_tonearest): Likewise.
35942         (pow_test_towardzero): Likewise.
35943         (pow_test_downward): Likewise.
35944         (pow_test_upward): Likewise.
35945         (remainder_test): Likewise.
35946         (drem_test): Likewise.
35947         (remainder_test_tonearest): Likewise.
35948         (drem_test_tonearest): Likewise.
35949         (remainder_test_towardzero): Likewise.
35950         (drem_test_towardzero): Likewise.
35951         (remainder_test_downward): Likewise.
35952         (drem_test_downward): Likewise.
35953         (remainder_test_upward): Likewise.
35954         (drem_test_upward): Likewise.
35955         (remquo_test): Likewise.
35956         (rint_test): Likewise.
35957         (rint_test_tonearest): Likewise.
35958         (rint_test_towardzero): Likewise.
35959         (rint_test_downward): Likewise.
35960         (rint_test_upward): Likewise.
35961         (round_test): Likewise.
35962         (scalb_test): Likewise.
35963         (scalbn_test): Likewise.
35964         (scalbln_test): Likewise.
35965         (signbit_test): Likewise.
35966         (sin_test): Likewise.
35967         (sin_test_tonearest): Likewise.
35968         (sin_test_towardzero): Likewise.
35969         (sin_test_downward): Likewise.
35970         (sin_test_upward): Likewise.
35971         (sincos_test): Likewise.
35972         (sinh_test): Likewise.
35973         (sinh_test_tonearest): Likewise.
35974         (sinh_test_towardzero): Likewise.
35975         (sinh_test_downward): Likewise.
35976         (sinh_test_upward): Likewise.
35977         (sqrt_test): Likewise.
35978         (sqrt_test_tonearest): Likewise.
35979         (sqrt_test_towardzero): Likewise.
35980         (sqrt_test_downward): Likewise.
35981         (sqrt_test_upward): Likewise.
35982         (tan_test): Likewise.
35983         (tan_test_tonearest): Likewise.
35984         (tan_test_towardzero): Likewise.
35985         (tan_test_downward): Likewise.
35986         (tan_test_upward): Likewise.
35987         (tanh_test): Likewise.
35988         (tgamma_test): Likewise.
35989         (trunc_test): Likewise.
35990         (y0_test): Likewise.
35991         (y1_test): Likewise.
35992         (yn_test): Likewise.
35993         (significand_test): Likewise.
35995         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35996         individual tests in comment.
35997         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35998         (prev_max_error): New variable.
35999         (prev_real_max_error): Likewise.
36000         (prev_imag_max_error): Likewise.
36001         (compare_ulp_data): Don't refer to test names in comment.
36002         (find_test_ulps): Remove function.
36003         (find_function_ulps): Likewise.
36004         (find_complex_function_ulps): Likewise.
36005         (init_max_error): Take function name as argument.  Look up ulps
36006         for that function.
36007         (print_ulps): Remove function.
36008         (print_max_error): Use prev_max_error instead of calling
36009         find_function_ulps.
36010         (print_complex_max_error): Use prev_real_max_error and
36011         prev_imag_max_error instead of calling find_complex_function_ulps.
36012         (check_float_internal): Take max_ulp parameter instead of calling
36013         find_test_ulps.  Don't call print_ulps.
36014         (check_float): Update call to check_float_internal.
36015         (check_complex): Update calls to check_float_internal.
36016         (START): Pass argument to init_max_error.
36017         * math/gen-libm-test.pl (%results): Don't include "kind"
36018         information.
36019         (parse_ulps): Don't handle ulps of individual tests.
36020         (print_ulps_file): Likewise.
36021         (output_ulps): Likewise.
36022         * math/README.libm-test: Update.
36023         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36024         individual tests.
36025         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36026         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36027         * sysdeps/arm/libm-test-ulps: Likewise.
36028         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36029         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36030         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36031         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36032         * sysdeps/microblaze/libm-test-ulps: Likewise.
36033         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36034         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36035         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36036         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36037         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36038         * sysdeps/sh/libm-test-ulps: Likewise.
36039         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36040         * sysdeps/tile/libm-test-ulps: Likewise.
36041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36043 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36045         * math/libm-test.inc (print_complex_max_error): Check separately
36046         whether real and imaginary errors are within allowed range and
36047         pass 0 to print_complex_function_ulps instead of value within
36048         allowed range.
36050 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36052         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36053         formatting.
36054         (get_handles_fopen): Likewise.
36055         (do_write_test): Likewise.
36057         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36059         * libio/fileops.c (do_ftell): Use cached offset when
36060         available.
36061         * libio/iofwide.c (do_ftell_wide): Likewise.
36062         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36063         _IO_file_attach.
36064         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36066         [BZ #16532]
36067         * libio/libioP.h (get_file_offset): New function.
36068         * libio/fileops.c (get_file_offset): Likewise.
36069         (do_ftell): Likewise.
36070         (_IO_new_file_seekoff): Split out ftell logic.
36071         * libio/wfileops.c (do_ftell_wide): Likewise.
36072         (_IO_wfile_seekoff): Split out ftell logic.
36073         * libio/tst-ftell-active-handler.c: New test case.
36074         * libio/Makefile (tests): Add it.
36076 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36078         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36079         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36081 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36083         [BZ #16639]
36084         * nscd/connections.c (nscd_init): Call do_exit.
36085         (start_threads): Call do_exit and notify_parent.
36086         (begin_drop_privileges): Call do_exit.
36087         (finish_drop_privileges): Likewise.
36088         * nscd/selinux.c (preserve_capabilities): Likewise.
36089         (install_real_capabilities): Likewise.
36090         (nscd_selinux_enabled): Likewise.
36091         (avc_create_thread): Likewise.
36092         (avc_alloc_lock): Likewise.
36093         (nscd_avc_init): Likewise.
36094         * nscd/nscd.c (parent_fd): New static variable.
36095         (main): Create a pipe between parent and child processes.
36096         Skip closing parent_fd.
36097         (monitor_child): New function.
36098         (do_exit): Likewise.
36099         (notify_parent): Likewise.
36100         * nscd/nscd.h (notify_parent): Likewise.
36101         (do_exit): Likewise.
36103 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36105         * malloc/malloc.c (__libc_calloc): Revert last change.
36107 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36111 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36113         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36115         implementation.
36116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36117         (__libc_ifunc_impl_list): Likewise.
36118         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36119         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36120         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36121         * string/strrchr.c: Define STRRCHR.
36123 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36125         * benchtest/bench-strtok.c (simple_strtok): Delete.
36126         (strtok_string): Use as benchmark.
36127         * string/strtok (STRTOK): New macro.
36129 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36131         * manual/threads.texi: Add header and standard comments to all
36132         functions.
36134         * elf/dl-lookup.c (check_match): New function.
36135         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36136         (do_lookup_x): Remove nested function check_match. Use non-nested
36137         function check_match.
36139 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36141         * csu/Makefile (generated, before-compile): Use += rather than =.
36142         * catgets/Makefile (generated, generated-dirs): Likewise.
36143         * debug/Makefile (generated): Likewise.
36144         * dlfcn/Makefile (generated): Likewise.
36145         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36146         * iconvdata/Makefile (before-compile, generated): Likewise.
36147         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36148         * libio/Makefile (generated): Likewise.
36149         * malloc/Makefile (generated): Likewise.
36150         * manual/Makefile (generated, generated-dirs): Likewise.
36151         * misc/Makefile (generated): Likewise.
36152         * posix/Makefile (generated): Likewise.
36153         * resolv/Makefile (generated): Likewise.
36154         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36155         * timezone/Makefile (generated, generated-dirs): Likewise.
36157         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36159 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36162         power8 implementation.
36163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36164         file: POWER8 llround ifunc implementation.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36166         (__lllround): Add POWER8 implementation.
36167         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36168         POWER8 llround implementation.
36170         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36171         power8 implementation.
36172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36173         file: POWER8 llrint ifunc implementation.
36174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36175         Add POWER8 implementation.
36176         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36177         POWER8 llrint implementation.
36179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36180         power8 implementation.
36181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36182         file: POWER8 finite ifunc implementation.
36183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36184         Add POWER8 implementation.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36186         Likewise.
36187         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36188         POWER8 finite implementation.
36189         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36192         power8 implementation.
36193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36194         file: POWER8 isinf ifunc implementation.
36195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36196         POWER8 implementation.
36197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36198         Likewise.
36199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36200         isinf implementation.
36201         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36203         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36204         (INIT_ARCH): Add hwcap2 initialization.
36205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36206         power8 implementation.
36207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36208         file: POWER8 isnan ifunc implementation.
36209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36210         POWER8 implementation.
36211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36212         Likewise.
36213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36214         isnan implementation.
36215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36217 2014-02-27  Joey Ye  <joey.ye@arm.com>
36219         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36220         (_FP_NANFRAC_Q): Set to zero.
36222 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36224         [BZ #16623]
36225         * math/auto-libm-test-in: New test inputs.
36226         * math/auto-libm-test-out: Regenerate.
36227         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36228         and DA.
36229         (__cos): Likewise.
36230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36232 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36234         * scripts/evaluate-test.sh: Take new argument indicating whether
36235         failure is expected.
36236         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36237         indicating whether failure is expected.
36238         * conform/Makefile (test-xfail-run-conformtest): New variable.
36239         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36240         level.
36241         * posix/Makefile (test-xfail-annexc): New variable.
36242         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36244 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36246         * argp/Makefile: Include Makeconfig immediately after defining
36247         subdir.
36248         * assert/Makefile: Likewise.
36249         * benchtests/Makefile: Likewise.
36250         * catgets/Makefile: Likewise.
36251         * conform/Makefile: Likewise.
36252         * crypt/Makefile: Likewise.
36253         * csu/Makefile: Likewise.
36254         (all): Remove target.
36255         * ctype/Makefile: Include Makeconfig immediately after defining
36256         subdir.
36257         * debug/Makefile: Likewise.
36258         * dirent/Makefile: Likewise.
36259         * dlfcn/Makefile: Likewise.
36260         * gmon/Makefile: Likewise.
36261         * gnulib/Makefile: Likewise.
36262         * grp/Makefile: Likewise.
36263         * gshadow/Makefile: Likewise.
36264         * hesiod/Makefile: Likewise.
36265         * hurd/Makefile: Likewise.
36266         (all): Remove target.
36267         * iconvdata/Makefile: Include Makeconfig immediately after
36268         defining subdir.
36269         * inet/Makefile: Likewise.
36270         * intl/Makefile: Likewise.
36271         * io/Makefile: Likewise.
36272         * libio/Makefile: Likewise.
36273         (all): Remove target.
36274         * locale/Makefile: Include Makeconfig immediately after defining
36275         subdir.
36276         * login/Makefile: Likewise.
36277         * mach/Makefile: Likewise.
36278         (all): Remove target.
36279         * malloc/Makefile: Include Makeconfig immediately after defining
36280         subdir.
36281         (all): Remove target.
36282         * manual/Makefile: Include Makeconfig immediately after defining
36283         subdir.
36284         * math/Makefile: Likewise.
36285         * misc/Makefile: Likewise.
36286         * nis/Makefile: Likewise.
36287         * nss/Makefile: Likewise.
36288         * po/Makefile: Likewise.
36289         (all): Remove target.
36290         * posix/Makefile: Include Makeconfig immediately after defining
36291         subdir.
36292         * pwd/Makefile: Likewise.
36293         * resolv/Makefile: Likewise.
36294         * resource/Makefile: Likewise.
36295         * rt/Makefile: Likewise.
36296         * setjmp/Makefile: Likewise.
36297         * shadow/Makefile: Likewise.
36298         * signal/Makefile: Likewise.
36299         * socket/Makefile: Likewise.
36300         * soft-fp/Makefile: Likewise.
36301         * stdio-common/Makefile: Likewise.
36302         * stdlib/Makefile: Likewise.
36303         * streams/Makefile: Likewise.
36304         * string/Makefile: Likewise.
36305         * sunrpc/Makefile: Likewise.
36306         (all): Remove target.
36307         * sysvipc/Makefile: Include Makeconfig immediately after defining
36308         subdir.
36309         * termios/Makefile: Likewise.
36310         * time/Makefile: Likewise.
36311         * timezone/Makefile: Likewise.
36312         (all): Remove target.
36313         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36314         subdir.
36315         * wctype/Makefile: Likewise.
36317 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36319         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36320         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36321         (libc_feholdexcept_setround_mips): Ditto.
36322         (libc_feholdsetround): New.
36323         (libc_feholdsetroundf): New.
36324         (libc_feholdsetroundl): New.
36325         (libc_feupdateenv_test_mips): New.
36326         (libc_feupdateenv_test): New.
36327         (libc_feupdateenv_testf): New.
36328         (libc_feupdateenv_testl): New.
36329         (libc_feresetround): New.
36330         (libc_feresetroundf): New.
36331         (libc_feresetroundl): New.
36332         (libc_fetestexcept_mips): New.
36333         (libc_fetestexcept): New.
36334         (libc_fetestexceptf): New.
36335         (libc_fetestexceptl): New.
36336         (HAVE_RM_CTX): New.
36337         (libc_feholdexcept_setround_mips_ctx): New.
36338         (libc_feholdexcept_setround_ctx): New.
36339         (libc_feholdexcept_setroundf_ctx): New.
36340         (libc_feholdexcept_setroundl_ctx): New.
36341         (libc_fesetenv_mips_ctx): New.
36342         (libc_fesetenv_ctx): New.
36343         (libc_fesetenv_ctxf): New.
36344         (libc_fesetenv_ctxl): New.
36345         (libc_feupdateenv_mips_ctx): New.
36346         (libc_feupdateenv_ctx): New.
36347         (libc_feupdateenvf_ctx): New.
36348         (libc_feupdateenvl_ctx): New.
36349         (libc_feholdsetround_mips_ctx): New.
36350         (libc_feholdsetround_ctx): New.
36351         (libc_feholdsetroundf_ctx): New.
36352         (libc_feholdsetroundl_ctx): New.
36353         (libc_feresetround_mips_ctx): New.
36354         (libc_feresetround_ctx): New.
36355         (libc_feresetroundf_ctx): New.
36356         (libc_feresetroundl_ctx): New.
36358 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36360         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36362         * manual/ipc.texi: New file.
36363         * manual/Makefile (chapters): Add ipc.
36364         * manual/job.texi: Add "Inter-Process Communication" to next.
36365         * manual/process.texi: Add "Inter-Process Communication" to prev.
36367 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36371 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36373         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36375         * manual/arith.texi: Fix spaces after sentences.
36376         * manual/charset.texi: Likewise.
36377         * manual/errno.texi: Likewise.
36378         * manual/install.texi: Likewise.
36379         * manual/llio.texi: Likewise.
36380         * manual/locale.texi: Likewise.
36381         * manual/maint.texi: Likewise.
36382         * manual/math.texi: Likewise.
36383         * manual/memory.texi: Likewise.
36384         * manual/message.texi: Likewise.
36385         * manual/probes.texi: Likewise.
36386         * manual/resource.texi: Likewise.
36387         * manual/signal.texi: Likewise.
36388         * manual/socket.texi: Likewise.
36389         * manual/stdio.texi: Likewise.
36390         * manual/string.texi: Likewise.
36391         * manual/time.texi: Likewise.
36392         * manual/users.texi: Likewise.
36394 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36396         [BZ #16632]
36397         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36398         _DEFAULT_SOURCE is defined.
36400 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36401             Carlos O'Donell  <carlos@redhat.com>
36403         [BZ #16613]
36404         * elf/dl-tls.c (_dl_count_modids): New function.
36405         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36406         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36407         audit library and increment generation counter.
36408         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36409         * elf/tst-audit9.c: New file.
36410         * elf/tst-auditmod9a.c: New file.
36411         * elf/tst-auditmod9b.c: New file.
36412         * elf/Makefile: Add rules to build and run tst-audit9.
36414 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36416         [BZ #15347]
36417         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36419 2014-02-25  Will Newton  <will.newton@linaro.org>
36421         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36422         (__longjmp): Restore sp and lr before restoring callee
36423         saved registers.  Add longjmp and longjmp_target
36424         SystemTap probe point.
36425         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36426         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36427         Define to zero to match jmpbuf layout.
36428         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36429         (__sigsetjmp): Save sp and lr before saving callee
36430         saved registers.  Add setjmp SystemTap probe point.
36432 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36434         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36436 2014-02-24  Andreas Schwab  <schwab@suse.de>
36438         [BZ #15804]
36439         * elf/pldd.c (wait_for_ptrace_stop): New function.
36440         (main): Call it after attaching.
36442 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36444         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36445         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36446         Versions files is now verboten.
36447         * hurd/Versions (libc: GLIBC_2.0):
36448         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36449         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36450         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36451         * mach/Versions: Likewise.
36453         * csu/Versions: Remove unused %include.
36454         * resolv/Versions: Likewise.
36456 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36458         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36459         ($(objpfx)check-local-headers.out): Likewise.
36460         ($(objpfx)begin-end-check.out): Likewise.
36461         * Makerules (check-abi-%.out): Likewise.
36462         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36463         ($(objpfx)test2.cat): Likewise.
36464         ($(objpfx)de/libc.cat): Likewise.
36465         ($(objpfx)test-gencat.out): Likewise.
36466         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36467         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36468         ($(objpfx)noload-mem): Likewise.
36469         ($(objpfx)tst-pathopt.out): Likewise.
36470         ($(objpfx)tst-rtld-load-self.out): Likewise.
36471         ($(objpfx)tst-array1-cmp.out): Likewise.
36472         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36473         ($(objpfx)tst-array2-cmp.out): Likewise.
36474         ($(objpfx)tst-array3-cmp.out): Likewise.
36475         ($(objpfx)tst-array4-cmp.out): Likewise.
36476         ($(objpfx)tst-array5-cmp.out): Likewise.
36477         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36478         ($(objpfx)check-textrel.out): Likewise.
36479         ($(objpfx)check-execstack.out): Likewise.
36480         ($(objpfx)check-localplt.out): Likewise.
36481         ($(objpfx)order2-cmp.out): Likewise.
36482         ($(objpfx)tst-leaks1-mem): Likewise.
36483         ($(objpfx)tst-leaks1-static-mem): Likewise.
36484         ($(objpfx)tst-initorder-cmp.out): Likewise.
36485         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36486         ($(objpfx)tst-unused-dep.out): Likewise.
36487         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36488         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36489         * iconv/Makefile (test-iconvconfig): Likewise.
36490         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36491         ($(objpfx)iconv-test.out): Likewise.
36492         ($(objpfx)tst-tables.out): Likewise.
36493         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36494         ($(objpfx)tst-gettext.out): Likewise.
36495         ($(objpfx)tst-translit.out): Likewise.
36496         ($(objpfx)tst-gettext2.out): Likewise.
36497         ($(objpfx)tst-gettext4.out): Likewise.
36498         ($(objpfx)tst-gettext6.out): Likewise.
36499         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36500         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36501         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36502         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36503         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36504         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36505         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36506         ($(objpfx)wordexp-tst.out): Likewise.
36507         ($(objpfx)annexc.out): Likewise.
36508         ($(objpfx)tst-fnmatch-mem): Likewise.
36509         ($(objpfx)bug-regex2-mem): Likewise.
36510         ($(objpfx)bug-regex14-mem): Likewise.
36511         ($(objpfx)bug-regex21-mem): Likewise.
36512         ($(objpfx)bug-regex31-mem): Likewise.
36513         ($(objpfx)tst-vfork3-mem): Likewise.
36514         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36515         ($(objpfx)tst-pcre-mem): Likewise.
36516         ($(objpfx)tst-boost-mem): Likewise.
36517         ($(objpfx)tst-getconf.out): Likewise.
36518         ($(objpfx)bug-ga2-mem): Likewise.
36519         ($(objpfx)bug-glob2-mem): Likewise.
36520         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36521         ($(objpfx)mtrace-tst-leaks2): Likewise.
36522         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36523         ($(objpfx)tst-printf.out): Likewise.
36524         ($(objpfx)tst-setvbuf1.out): Likewise.
36525         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36526         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36527         ($(objpfx)tst-fmtmsg.out): Likewise.
36528         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36529         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36531         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36532         * bits/sigaction.h [__USE_MISC]: Likewise.
36533         * bits/waitstatus.h: Update #endif comments.
36534         * ctype/ctype.h: Likewise.
36535         * dirent/dirent.h: Likewise.
36536         [__USE_MISC]: Remove redundant conditionals.
36537         * grp/grp.h: Update #endif comments.
36538         [__USE_GNU]: Remove redundant conditionals.
36539         [__USE_MISC]: Likewise.
36540         * inet/netinet/in.h [__USE_GNU]: Likewise.
36541         * io/sys/stat.h [__USE_MISC]: Likewise.
36542         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36543         * libio/bits/stdio.h: Update #endif comments.
36544         [__USE_MISC]: Remove redundant conditionals.
36545         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36546         * libio/stdio.h: Update #endif comments.
36547         [__USE_MISC]: Remove redundant conditionals.
36548         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36549         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36550         * math/math.h: Update #else and #endif comments.
36551         [__USE_MISC]: Remove redundant conditionals.
36552         * misc/sys/uio.h: Update #endif comments.
36553         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36554         * posix/glob.h [__USE_MISC]: Likewise.
36555         * posix/sys/types.h: Update #endif comments.
36556         [__USE_MISC]: Remove redundant conditionals.
36557         * posix/sys/wait.h: Update #endif comments.
36558         [__USE_MISC]: Remove redundant conditionals.
36559         * posix/unistd.h: Update #endif comments.
36560         [__USE_MISC]: Remove redundant conditionals.
36561         * pwd/pwd.h [__USE_GNU]: Likewise.
36562         [__USE_MISC]: Likewise.
36563         * resolv/netdb.h [__USE_GNU]: Likewise.
36564         * signal/signal.h: Update #endif comments.
36565         [__USE_MISC]: Remove redundant conditionals.
36566         * stdlib/stdlib.h: Update #else and #endif comments.
36567         [__USE_MISC]: Remove redundant conditionals.
36568         [__USE_GNU]: Likewise.
36569         * string/bits/string2.h [__USE_MISC]: Likewise.
36570         * string/string.h: Update #endif comments.
36571         [__USE_MISC]: Remove redundant conditionals.
36572         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36573         Likewise.
36574         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36575         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36576         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36577         Likewise.
36578         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36579         Likewise.
36580         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36581         comments.
36582         [__USE_MISC]: Remove redundant conditionals.
36583         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36584         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36585         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36586         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36587         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36588         Likewise.
36589         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36590         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36591         Likewise.
36592         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36593         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36594         Likewise.
36595         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36596         Likewise.
36597         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36598         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36599         Likewise.
36600         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36601         Likewise.
36602         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36603         * sysdeps/x86/bits/string.h: Update #endif comments.
36604         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36605         conditionals.
36606         * time/sys/time.h: Update #endif comments.
36607         * time/time.h: Likewise.
36608         [__USE_MISC]: Remove redundant conditionals.
36610 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36612         [BZ #16600]
36613         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36615 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36617         * Versions.def (librt): Add GLIBC_2.17.
36619 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36621         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36622         synonym for _SYS_AUXV_H to allow direct inclusion.
36623         * sysdeps/sparc/bits/hwcap.h: Likewise.
36624         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36625         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36626         * sysdeps/sparc/sysdep.h: Likewise.
36628 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36630         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36632 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36634         * benchtests/bench-strrchr.c: Print length instead of position.
36636 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36638         [BZ #16611]
36639         * sysdeps/unix/sysv/linux/kernel-features.h
36640         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36641         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36642         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36643         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36644         Likewise.
36645         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36646         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36647         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36648         (__ASSUME_SENDMMSG): Define instead of using previous
36649         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36650         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36651         (__ASSUME_SENDMMSG_SYSCALL): Define.
36652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36653         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36654         Likewise.
36655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36656         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36657         Likewise.
36658         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36659         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36660         Likewise.
36661         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36662         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36663         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36664         [__ASSUME_SENDMMSG]: Change conditionals to
36665         [__ASSUME_SENDMMSG_SOCKETCALL].
36666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36667         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36668         Define.
36669         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36670         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36671         Likewise.
36672         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36673         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36674         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36675         [!__ASSUME_SENDMMSG]: Change conditional to
36676         [!__ASSUME_SENDMMSG_SOCKETCALL].
36677         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36678         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36679         Define.
36681         [BZ #16610]
36682         * sysdeps/unix/sysv/linux/kernel-features.h
36683         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36684         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36685         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36686         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36687         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36688         [__i386__ || __sparc__]
36689         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36690         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36691         (__ASSUME_RECVMMSG): Define instead of using previous
36692         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36693         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36694         (__ASSUME_RECVMMSG_SYSCALL): Define.
36695         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36697         Likewise.
36698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36700         Likewise.
36701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36703         Likewise.
36704         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36705         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36706         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36707         [__ASSUME_RECVMMSG]: Change condition to
36708         [__ASSUME_RECVMMSG_SOCKETCALL].
36709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36710         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36711         Define.
36712         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36713         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36714         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36715         Likewise.
36716         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36717         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36718         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36719         [!__ASSUME_RECVMMSG]: Change condition to
36720         [!__ASSUME_RECVMMSG_SOCKETCALL].
36721         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36722         (__ASSUME_RECVMMSG_SYSCALL): Define.
36724         [BZ #16609]
36725         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36726         __powerpc__ || __s390__ || __sh__ || __sparc__]
36727         (__ASSUME_SOCKETCALL): Define.
36728         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36729         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36730         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36731         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36732         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36733         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36734         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36735         (__ASSUME_ACCEPT4): Define instead of using previous
36736         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36737         __powerpc__ || __sparc__ || __s390__)] condition.
36738         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36739         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36740         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36741         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36742         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36743         [!__ASSUME_ACCEPT4]: Change condition to
36744         [!__ASSUME_ACCEPT4_SOCKETCALL].
36745         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36746         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36747         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36748         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36749         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36750         __ASSUME_ACCEPT4_SYSCALL.
36751         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36752         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36753         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36754         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36755         __ASSUME_ACCEPT4_SYSCALL.
36756         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36757         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36758         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36759         [__ASSUME_ACCEPT4]: Change condition to
36760         [__ASSUME_ACCEPT4_SOCKETCALL].
36761         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36762         (__ASSUME_SOCKETCALL): Define.
36763         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36764         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36765         (__ASSUME_SOCKETCALL): Define.
36766         (__ASSUME_ACCEPT4): Remove.
36767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36768         Define.
36769         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36770         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36771         Likewise.
36772         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36773         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36775         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36776         macro.
36777         (HWCAP_ARM_LPAE): Likewise.
36778         (HWCAP_ARM_EVTSTRM): Likewise.
36779         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36780         Add vpfd32, lpae and evtstrm.
36781         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36782         Increase to 22.
36784 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36786         * math/auto-libm-test-in: Add tests of clog10.
36787         * math/auto-libm-test-out: Regenerated.
36788         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36789         * sysdeps/i386/fpu/libm-test-ulps: Update.
36790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36792 2014-02-18  Andreas Schwab  <schwab@suse.de>
36794         [BZ #16574]
36795         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36796         Store non-zero if the second buffer was newly allocated.
36797         (send_dg): Likewise.
36798         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36799         to send_vc and send_dg.
36800         (res_nsend): Pass NULL for ansp2_malloced.
36801         * resolv/res_query.c (__libc_res_nquery): Add parameter
36802         answerp2_malloced and pass it down to __libc_res_nsend.
36803         (res_nquery): Pass additional NULL to __libc_res_nquery.
36804         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36805         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36806         second answer buffer if answerp2_malloced was set.
36807         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36808         (__libc_res_nquerydomain): Add parameter
36809         answerp2_malloced and pass it down to __libc_res_nquery.
36810         (res_nquerydomain): Pass additional NULL to
36811         __libc_res_nquerydomain.
36812         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36813         additional NULL to __libc_res_nsend and __libc_res_nquery.
36814         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36815         additional NULL to __libc_res_nsearch.
36816         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36817         parameter of __libc_res_nsearch to check for separately allocated
36818         second buffer.
36819         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36820         __libc_res_nquery.
36821         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36822         additional NULL to __libc_res_nquery.
36823         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36824         __libc_res_nsearch.
36825         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36826         * include/resolv.h: Update prototypes of __libc_res_nquery,
36827         __libc_res_nsearch, __libc_res_nsend.
36829 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36831         * math/auto-libm-test-in: Add tests of fma.
36832         * math/auto-libm-test-out: Regenerated.
36833         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36834         (fma_towardzero_test_data): Likewise.
36835         (fma_downward_test_data): Likewise.
36836         (fma_upward_test_data): Likewise.
36837         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36838         mpc_mode.
36839         (rounding_modes): Add values for new field.
36840         (func_calc_method): Add value mpfr_fff_f.
36841         (func_calc_desc): Add mpfr_fff_f union field.
36842         (test_function): Add field exact_args.
36843         (FUNC): Add macro argument EXACT_ARGS.
36844         (FUNC_mpfr_f_f): Update call to FUNC.
36845         (FUNC_mpfr_f_f): Likewise.
36846         (FUNC_mpfr_ff_f): Likewise.
36847         (FUNC_mpfr_if_f): Likewise.
36848         (FUNC_mpc_c_f): Likewise.
36849         (FUNC_mpc_c_c): Likewise.
36850         (test_functions): Add fma.  Update calls to FUNC.
36851         (handle_input_arg): Add argument exact_args.
36852         (add_test): Update call to handle_input_arg.
36853         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36854         (output_for_one_input_case): Update call to calc_generic_results.
36855         Recalculate exact zero results in each rounding mode.
36857         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36858         non-negative before setting low bit.
36859         * math/auto-libm-test-in: Mark one asin test possibly having
36860         spurious underflow.
36861         * math/auto-libm-test-out: Regenerated.
36862         * sysdeps/i386/fpu/libm-test-ulps: Update.
36863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36865 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36867         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36868         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36869         ports/sysdeps/unix/sysv/linux/microblaze.
36870         * README: Add missing listing for microblaze*-*-linux-gnu.
36872 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36875         duplicate code
36877 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36879         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36880         * sysdeps/unix/sysv/linux/ia64: Move directory from
36881         ports/sysdeps/unix/sysv/linux/ia64.
36882         * README: Update listing for ia64-*-linux-gnu.
36884 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36885             Joseph Myers  <joseph@codesourcery.com>
36887         * Makeconfig (test-name): New variable.
36888         (evaluate-test): Likewise.
36889         * Makerules (do-test-clean): Remove .test-result files.
36890         (common-mostlyclean): Likewise.
36891         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36892         * scripts/evaluate-test.sh: New file.
36894 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36896         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36897         separate $(objpfx)tst-fopenloc-cmp.out and
36898         $(objpfx)tst-fopenloc-mem.out targets.
36899         (tests): Update dependencies.
36900         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36901         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36902         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36903         (tst-rxspencer-no-utf8-ARGS): New variable.
36904         (tst-rxspencer-no-utf8-ENV): Likewise.
36905         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36906         instead of $(objpfx)tst-rxspencer-mem.
36907         ($(objpfx)tst-rxspencer-mem): Change target to
36908         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36909         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36910         * posix/tst-rxspencer-no-utf8.c: New file.
36912         * elf/Makefile ($(objpfx)order.out): Remove rule.
36913         [$(run-built-tests) = yes] (tests): Depend on
36914         $(objpfx)order-cmp.out.
36915         ($(objpfx)order-cmp.out): New rule.
36916         [$(run-built-tests) = yes] (tests): Depend on
36917         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36918         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36919         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36920         $(objpfx)tst-array5-static-cmp.out.
36921         ($(objpfx)tst-array1.out): Remove rule.
36922         ($(objpfx)tst-array1-cmp.out): New rule.
36923         ($(objpfx)tst-array1-static.out): Remove rule.
36924         ($(objpfx)tst-array1-static-cmp.out): New rule.
36925         ($(objpfx)tst-array2.out): Remove rule.
36926         ($(objpfx)tst-array2-cmp.out): New rule.
36927         ($(objpfx)tst-array3.out): Remove rule.
36928         ($(objpfx)tst-array3-cmp.out): New rule.
36929         ($(objpfx)tst-array4.out): Remove rule.
36930         ($(objpfx)tst-array4-cmp.out): New rule.
36931         ($(objpfx)tst-array5.out): Remove rule.
36932         ($(objpfx)tst-array5-cmp.out): New rule.
36933         ($(objpfx)tst-array5-static.out): Remove rule.
36934         ($(objpfx)tst-array5-static-cmp.out): New rule.
36935         [$(run-built-tests) = yes] (tests): Depend on
36936         $(objpfx)order2-cmp.out.
36937         ($(objpfx)order2.out): Remove rule.
36938         ($(objpfx)order2-cmp.out): New rule.
36939         ($(objpfx)tst-initorder.out): Remove rule.
36940         [$(run-built-tests) = yes] (tests): Depend on
36941         $(objpfx)tst-initorder-cmp.out.
36942         ($(objpfx)tst-initorder-cmp.out): New rule.
36943         ($(objpfx)tst-initorder2.out): Remove rule.
36944         [$(run-built-tests) = yes] (tests): Depend on
36945         $(objpfx)tst-initorder2-cmp.out.
36946         ($(objpfx)tst-initorder2-cmp.out): New rule.
36947         [$(run-built-tests) = yes] (tests): Depend on
36948         $(objpfx)tst-unused-dep-cmp.out.
36949         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36950         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36951         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36952         on $(objpfx)tst-setvbuf1-cmp.out.
36953         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36954         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36955         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36956         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36957         ($(objpfx)tst-svc.out): Remove rule.
36958         ($(objpfx)tst-svc-cmp.out): New rule.
36960 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36962         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36963         * ctype/ctype.h [__USE_MISC]: Likewise.
36964         * dirent/dirent.h [__USE_MISC]: Likewise.
36965         * grp/grp.h [__USE_MISC]: Likewise.
36966         * io/fcntl.h [__USE_MISC]: Likewise.
36967         * io/sys/stat.h [__USE_MISC]: Likewise.
36968         * libio/stdio.h [__USE_MISC]: Likewise.
36969         * posix/unistd.h [__USE_MISC]: Likewise.
36970         * pwd/pwd.h [__USE_MISC]: Likewise.
36971         * stdlib.h [__USE_MISC]: Likewise.
36972         * string/bits/string2.h [__USE_MISC]: Likewise.
36973         * string/string.h [__USE_MISC]: Likewise.
36974         * time/time.h [__USE_MISC]: Likewise.
36976 2014-02-13  Andreas Schwab  <schwab@suse.de>
36978         [BZ #16574]
36979         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36980         second answer buffer if it was separately allocated.
36982 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36984         * sysdeps/mips/math-tests.h: Include <features.h>.
36985         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36986         (ROUNDING_TESTS_long_double): Do not define.
36987         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36988         (EXCEPTION_TESTS_long_double): Likewise.
36989         * sysdeps/mips/mips64/libm-test-ulps: Update.
36991         * include/features.h (__USE_BSD): Remove macro definitions.
36992         (__USE_SVID): Likewise.
36993         (_BSD_SOURCE): Likewise.
36994         (_SVID_SOURCE): Likewise.
36995         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36996         from definition of _DEFAULT_SOURCE.
36997         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36998         [_DEFAULT_SOURCE].
36999         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37000         * bits/mman.h [__USE_BSD]: Likewise.
37001         * bits/termios.h [__USE_BSD]: Likewise.
37002         * bits/waitstatus.h [__USE_BSD]: Likewise.
37003         * ctype/ctype.h [__USE_SVID]: Likewise.
37004         * dirent/dirent.h [__USE_BSD]: Likewise.
37005         * grp/grp.h [__USE_SVID]: Likewise.
37006         [__USE_BSD]: Likewise.
37007         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37008         * io/fcntl.h [__USE_BSD]: Likewise.
37009         * io/ftw.h [__USE_BSD]: Likewise.
37010         * io/sys/stat.h [__USE_BSD]: Likewise.
37011         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37012         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37013         * libio/stdio.h [__USE_SVID]: Likewise.
37014         [__USE_BSD]: Likewise.
37015         * math/math.h [__USE_SVID]: Likewise.
37016         [__USE_BSD]: Likewise.
37017         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37018         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37019         * misc/search.h [__USE_SVID]: Likewise.
37020         * misc/sys/mman.h [__USE_BSD]: Likewise.
37021         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37022         * misc/sys/uio.h [__USE_BSD]: Likewise.
37023         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37024         * posix/glob.h [__USE_BSD]: Likewise.
37025         * posix/regex.h [__USE_BSD]: Likewise.
37026         * posix/sys/types.h [__USE_BSD]: Likewise.
37027         [__USE_SVID]: Likewise.
37028         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37029         * posix/sys/wait.h [__USE_BSD]: Likewise.
37030         [__USE_SVID]: Likewise.
37031         * posix/unistd.h [__USE_BSD]: Likewise.
37032         [__USE_SVID]: Likewise.
37033         * pwd/pwd.h [__USE_SVID]: Likewise.
37034         * resolv/netdb.h [__USE_BSD]: Likewise.
37035         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37036         * signal/signal.h [__USE_BSD]: Likewise.
37037         [__USE_SVID]: Likewise.
37038         * socket/sys/socket.h [__USE_BSD]: Likewise.
37039         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37040         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37041         [__USE_SVID]: Likewise.
37042         * string/bits/string2.h [__USE_BSD]: Likewise.
37043         [__USE_SVID]: Likewise.
37044         * string/bits/string3.h [__USE_BSD]: Likewise.
37045         * string/endian.h [__USE_BSD]: Likewise.
37046         * string/string.h [__USE_SVID]: Likewise.
37047         [__USE_BSD]: Likewise.
37048         * string/strings.h [__USE_BSD]: Likewise.
37049         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37050         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37051         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37052         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37053         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37054         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37055         Likewise.
37056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37057         Likewise.
37058         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37059         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37060         Likewise.
37061         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37062         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37063         Likewise.
37064         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37065         Likewise.
37066         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37067         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37068         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37069         Likewise.
37070         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37071         Likewise.
37072         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37073         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37074         * termios/termios.h [__USE_BSD]: Likewise.
37075         * time/sys/time.h [__USE_BSD]: Likewise.
37076         * time/time.h [__USE_BSD]: Likewise.
37077         [__USE_SVID]: Likewise.
37079         * Makefile (subdir_targets): Remove subdir_lint.out.
37081         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37082         (do-tst-printf): Likewise.
37083         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37084         $(objpfx)tst-printf.out.
37086         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37088         * Makerules (check-abi-%): Change target to
37089         $(objpfx)check-abi-%.out.
37090         (check-abi target): Update dependencies.
37091         (check-abi-pattern variable): Redirect output of diff to $@.
37092         (check-abi variable): Likewise.
37093         * elf/Makefile (check-abi): Update dependencies.
37095         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37096         unused.
37097         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37098         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37099         subnormal range.
37100         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37101         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37102         value has largest subnormal exponent.
37103         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37104         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37105         * sysdeps/aarch64/soft-fp/sfp-machine.h
37106         (_FP_TININESS_AFTER_ROUNDING): New macro.
37107         * sysdeps/alpha/soft-fp/sfp-machine.h
37108         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37109         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37110         Likewise.
37111         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37112         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37113         * sysdeps/mips/soft-fp/sfp-machine.h
37114         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37115         * sysdeps/powerpc/soft-fp/sfp-machine.h
37116         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37117         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37118         Likewise.
37119         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37120         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37121         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37122         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37123         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37124         Likewise.
37126 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37128         [BZ #16545]
37129         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37130         model 1.
37132 2014-02-12  Richard Henderson  <rth@redhat.com>
37134         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37135         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37136         * sysdeps/unix/sysv/linux/alpha: Move directory from
37137         ports/sysdeps/unix/sysv/linux/alpha.
37138         * README: Update listing for alpha-*-linux-gnu.
37140 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37142         * include/features.h: Update comment documenting feature test
37143         macros.
37144         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37145         _DEFAULT_SOURCE.
37146         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37147         (_SVID_SOURCE): Likewise.
37148         (_DEFAULT_SOURCE): Update description of default features.
37149         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37150         with _GNU_SOURCE.
37151         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37152         (S_ISVTX): Likewise.
37153         * manual/math.texi (Mathematical Constants): Likewise.
37154         * manual/signal.texi (Interrupted Primitives): Likewise.
37155         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37156         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37157         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37158         Don't refer to _SVID_SOURCE in warning text.
37160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37162         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37163         already defined.
37164         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37165         * sysdeps/mips/dl-lookup.c: Remove.
37166         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37168 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37170         [BZ #16447]
37171         * math/auto-libm-test-in: Add testcase for expl.
37172         * math/auto-libm-test-out: Regenerate.
37173         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37174         calculation of unsafe.
37175         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37177 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37179         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37180         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37181         ports/sysdeps/unix/sysv/linux/aarch64.
37182         * README: Update listing for aarch64*-*-linux-gnu.
37184 2014-02-11  Will Newton  <will.newton@linaro.org>
37186         * manual/probes.texi (Mathematical Function Probes): Use
37187         "triggered" instead of "hit".
37189         * manual/probes.texi (Internal Probes): Add documentation
37190         of setjmp, longjmp and longjmp_target probes.
37192         * include/stap-probe.h: Add comment about probe argument
37193         format.
37195         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37196         definition.  (tr_where, tr_freehook, tr_mallochook,
37197         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37199 2014-02-11  David S. Miller  <davem@davemloft.net>
37201         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37202         processing int_tests.
37204 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37206         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37207         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37208         * sysdeps/unix/sysv/linux/mips: Move directory from
37209         ports/sysdeps/unix/sysv/linux/mips.
37210         * README: Update listing for mips-*-linux-gnu and
37211         mips64-*-linux-gnu.
37213 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37215         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37216         * sysdeps/unix/sysv/linux/m68k: Move directory from
37217         ports/sysdeps/unix/sysv/linux/m68k.
37218         * README: Update listing for m68k-*-linux-gnu.
37220 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37222         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37223         * sysdeps/unix/sysv/linux/generic: Move directory from
37224         ports/sysdeps/unix/sysv/linux/generic.
37225         * sysdeps/unix/sysv/linux/tile: Move directory from
37226         ports/sysdeps/unix/sysv/linux/tile.
37227         * README: Update listing for tile*-*-linux-gnu.
37229 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37231         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37232         __builtin_expect.
37233         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37234         * catgets/open_catalog.c (__open_catalog): Likewise.
37235         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37236         * debug/confstr_chk.c: Likewise.
37237         * debug/fread_chk.c (__fread_chk): Likewise.
37238         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37239         * debug/getgroups_chk.c: Likewise.
37240         * debug/mbsnrtowcs_chk.c: Likewise.
37241         * debug/mbsrtowcs_chk.c: Likewise.
37242         * debug/mbstowcs_chk.c: Likewise.
37243         * debug/memcpy_chk.c: Likewise.
37244         * debug/memmove_chk.c: Likewise.
37245         * debug/mempcpy_chk.c: Likewise.
37246         * debug/memset_chk.c: Likewise.
37247         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37248         * debug/strcat_chk.c (__strcat_chk): Likewise.
37249         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37250         * debug/strncat_chk.c (__strncat_chk): Likewise.
37251         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37252         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37253         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37254         * debug/wcpncpy_chk.c: Likewise.
37255         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37256         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37257         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37258         * debug/wcsncpy_chk.c: Likewise.
37259         * debug/wcsnrtombs_chk.c: Likewise.
37260         * debug/wcsrtombs_chk.c: Likewise.
37261         * debug/wcstombs_chk.c: Likewise.
37262         * debug/wmemcpy_chk.c: Likewise.
37263         * debug/wmemmove_chk.c: Likewise.
37264         * debug/wmempcpy_chk.c: Likewise.
37265         * debug/wmemset_chk.c: Likewise.
37266         * dirent/scandirat.c (SCANDIRAT): Likewise.
37267         * dlfcn/dladdr1.c (dladdr1): Likewise.
37268         * dlfcn/dladdr.c (dladdr): Likewise.
37269         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37270         * dlfcn/dlerror.c (__dlerror): Likewise.
37271         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37272         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37273         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37274         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37275         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37276         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37277         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37278         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37279         Likewise.
37280         * elf/dl-conflict.c: Likewise.
37281         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37282         * elf/dl-dst.h: Likewise.
37283         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37284         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37285         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37286         * elf/dl-init.c (call_init, _dl_init): Likewise.
37287         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37288         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37289         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37290         Likewise.
37291         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37292         Likewise.
37293         * elf/dl-minimal.c (__libc_memalign): Likewise.
37294         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37295         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37296         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37297         * elf/dl-sym.c (do_sym): Likewise.
37298         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37299         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37300         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37301         * elf/dl-writev.h (_dl_writev): Likewise.
37302         * elf/ldconfig.c (search_dir): Likewise.
37303         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37304         (dl_main): Likewise.
37305         * elf/setup-vdso.h (setup_vdso): Likewise.
37306         * grp/compat-initgroups.c (compat_call): Likewise.
37307         * grp/fgetgrent.c (fgetgrent): Likewise.
37308         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37309         * grp/putgrent.c (putgrent): Likewise.
37310         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37311         Likewise.
37312         * hurd/hurdinit.c: Likewise.
37313         * iconvdata/8bit-gap.c (struct): Likewise.
37314         * iconvdata/ansi_x3.110.c : Likewise.
37315         * iconvdata/big5.c : Likewise.
37316         * iconvdata/big5hkscs.c : Likewise.
37317         * iconvdata/cp1255.c: Likewise.
37318         * iconvdata/cp1258.c : Likewise.
37319         * iconvdata/cp932.c : Likewise.
37320         * iconvdata/euc-cn.c: Likewise.
37321         * iconvdata/euc-jisx0213.c : Likewise.
37322         * iconvdata/euc-jp.c: Likewise.
37323         * iconvdata/euc-jp-ms.c : Likewise.
37324         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37325         * iconvdata/gb18030.c : Likewise.
37326         * iconvdata/gbbig5.c (const): Likewise.
37327         * iconvdata/gbgbk.c: Likewise.
37328         * iconvdata/gbk.c : Likewise.
37329         * iconvdata/ibm1364.c : Likewise.
37330         * iconvdata/ibm930.c : Likewise.
37331         * iconvdata/ibm932.c: Likewise.
37332         * iconvdata/ibm933.c : Likewise.
37333         * iconvdata/ibm935.c : Likewise.
37334         * iconvdata/ibm937.c : Likewise.
37335         * iconvdata/ibm939.c : Likewise.
37336         * iconvdata/ibm943.c: Likewise.
37337         * iconvdata/iso_11548-1.c: Likewise.
37338         * iconvdata/iso-2022-cn.c : Likewise.
37339         * iconvdata/iso-2022-cn-ext.c : Likewise.
37340         * iconvdata/iso-2022-jp-3.c: Likewise.
37341         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37342         * iconvdata/iso-2022-kr.c : Likewise.
37343         * iconvdata/iso646.c (gconv_end): Likewise.
37344         * iconvdata/iso_6937-2.c : Likewise.
37345         * iconvdata/iso_6937.c : Likewise.
37346         * iconvdata/iso8859-1.c: Likewise.
37347         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37348         * iconvdata/shift_jisx0213.c : Likewise.
37349         * iconvdata/sjis.c : Likewise.
37350         * iconvdata/t.61.c : Likewise.
37351         * iconvdata/tcvn5712-1.c : Likewise.
37352         * iconvdata/tscii.c: Likewise.
37353         * iconvdata/uhc.c : Likewise.
37354         * iconvdata/unicode.c (gconv_end): Likewise.
37355         * iconvdata/utf-16.c (gconv_end): Likewise.
37356         * iconvdata/utf-32.c (gconv_end): Likewise.
37357         * iconvdata/utf-7.c (base64): Likewise.
37358         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37359         * iconv/gconv_close.c (__gconv_close): Likewise.
37360         * iconv/gconv_open.c (__gconv_open): Likewise.
37361         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37362         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37363         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37364         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37365         (ucs4le_internal_loop_single): Likewise.
37366         * iconv/iconv.c (iconv): Likewise.
37367         * iconv/iconv_close.c: Likewise.
37368         * iconv/loop.c (SINGLE): Likewise.
37369         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37370         * include/atomic.h: Likewise.
37371         * inet/inet6_option.c (option_alloc): Likewise.
37372         * intl/bindtextdom.c (set_binding_values): Likewise.
37373         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37374         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37375         * intl/localealias.c (read_alias_file): Likewise.
37376         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37377         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37378         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37379         * libio/fmemopen.c (fmemopen): Likewise.
37380         * libio/iofgets.c (_IO_fgets): Likewise.
37381         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37382         * libio/iofgetws.c (fgetws): Likewise.
37383         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37384         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37385         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37386         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37387         * locale/findlocale.c (_nl_find_locale): Likewise.
37388         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37389         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37390         Likewise.
37391         * locale/setlocale.c (setlocale): Likewise.
37392         * login/programs/pt_chown.c (main): Likewise.
37393         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37394         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37395         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37396         (mmap, mmap64, mremap, munmap): Likewise.
37397         * math/e_exp2l.c: Likewise.
37398         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37399         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37400         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37401         * math/s_catan.c (__catan): Likewise.
37402         * math/s_catanf.c (__catanf): Likewise.
37403         * math/s_catanh.c (__catanh): Likewise.
37404         * math/s_catanhf.c (__catanhf): Likewise.
37405         * math/s_catanhl.c (__catanhl): Likewise.
37406         * math/s_catanl.c (__catanl): Likewise.
37407         * math/s_ccosh.c (__ccosh): Likewise.
37408         * math/s_ccoshf.c (__ccoshf): Likewise.
37409         * math/s_ccoshl.c (__ccoshl): Likewise.
37410         * math/s_cexp.c (__cexp): Likewise.
37411         * math/s_cexpf.c (__cexpf): Likewise.
37412         * math/s_cexpl.c (__cexpl): Likewise.
37413         * math/s_clog10.c (__clog10): Likewise.
37414         * math/s_clog10f.c (__clog10f): Likewise.
37415         * math/s_clog10l.c (__clog10l): Likewise.
37416         * math/s_clog.c (__clog): Likewise.
37417         * math/s_clogf.c (__clogf): Likewise.
37418         * math/s_clogl.c (__clogl): Likewise.
37419         * math/s_csin.c (__csin): Likewise.
37420         * math/s_csinf.c (__csinf): Likewise.
37421         * math/s_csinh.c (__csinh): Likewise.
37422         * math/s_csinhf.c (__csinhf): Likewise.
37423         * math/s_csinhl.c (__csinhl): Likewise.
37424         * math/s_csinl.c (__csinl): Likewise.
37425         * math/s_csqrt.c (__csqrt): Likewise.
37426         * math/s_csqrtf.c (__csqrtf): Likewise.
37427         * math/s_csqrtl.c (__csqrtl): Likewise.
37428         * math/s_ctan.c (__ctan): Likewise.
37429         * math/s_ctanf.c (__ctanf): Likewise.
37430         * math/s_ctanh.c (__ctanh): Likewise.
37431         * math/s_ctanhf.c (__ctanhf): Likewise.
37432         * math/s_ctanhl.c (__ctanhl): Likewise.
37433         * math/s_ctanl.c (__ctanl): Likewise.
37434         * math/w_pow.c: Likewise.
37435         * math/w_powf.c: Likewise.
37436         * math/w_powl.c: Likewise.
37437         * math/w_scalb.c (sysv_scalb): Likewise.
37438         * math/w_scalbf.c (sysv_scalbf): Likewise.
37439         * math/w_scalbl.c (sysv_scalbl): Likewise.
37440         * misc/error.c (error_tail): Likewise.
37441         * misc/pselect.c (__pselect): Likewise.
37442         * nis/nis_callback.c (__nis_create_callback): Likewise.
37443         * nis/nis_call.c (__nisfind_server): Likewise.
37444         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37445         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37446         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37447         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37448         * nis/nis_lookup.c (nis_lookup): Likewise.
37449         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37450         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37451         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37452         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37453         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37454         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37455         * nis/nss_compat/compat-initgroups.c (add_group)
37456         (internal_getgrent_r): Likewise.
37457         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37458         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37459         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37460         (internal_getspnam_r): Likewise.
37461         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37462         (_nss_nis_getaliasbyname_r): Likewise.
37463         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37464         (_nss_nis_getntohost_r): Likewise.
37465         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37466         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37467         (_nss_nis_getgrgid_r): Likewise.
37468         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37469         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37470         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37471         (_nss_nis_gethostbyname4_r): Likewise.
37472         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37473         (initgroups_netid): Likewise.
37474         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37475         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37476         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37477         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37478         (_nss_nis_getprotobynumber_r): Likewise.
37479         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37480         (_nss_nis_getsecretkey): Likewise.
37481         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37482         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37483         (_nss_nis_getpwuid_r): Likewise.
37484         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37485         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37486         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37487         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37488         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37489         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37490         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37491         Likewise.
37492         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37493         (_nss_nisplus_getntohost_r): Likewise.
37494         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37495         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37496         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37497         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37498         Likewise.
37499         * nis/nss_nisplus/nisplus-initgroups.c
37500         (_nss_nisplus_initgroups_dyn): Likewise.
37501         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37502         (_nss_nisplus_getnetbyaddr_r): Likewise.
37503         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37504         (_nss_nisplus_getprotobynumber_r): Likewise.
37505         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37506         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37507         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37508         Likewise.
37509         * nis/nss_nisplus/nisplus-service.c
37510         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37511         (_nss_nisplus_getservbyport_r): Likewise.
37512         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37513         (_nss_nisplus_getspnam_r): Likewise.
37514         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37515         Likewise.
37516         * nscd/aicache.c (addhstaiX): Likewise.
37517         * nscd/cache.c (cache_search, prune_cache): Likewise.
37518         * nscd/connections.c (register_traced_file, send_ro_fd)
37519         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37520         (main_loop_epoll): Likewise.
37521         * nscd/grpcache.c (addgrbyX): Likewise.
37522         * nscd/hstcache.c (addhstbyX): Likewise.
37523         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37524         * nscd/mem.c (gc, mempool_alloc): Likewise.
37525         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37526         (addinnetgrX): Likewise.
37527         * nscd/nscd-client.h (__nscd_acquire_maplock)
37528         (__nscd_drop_map_ref): Likewise.
37529         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37530         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37531         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37532         Likewise.
37533         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37534         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37535         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37536         (__nscd_get_map_ref): Likewise.
37537         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37538         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37539         Likewise.
37540         * nscd/pwdcache.c (addpwbyX): Likewise.
37541         * nscd/selinux.c (preserve_capabilities): Likewise.
37542         * nscd/servicescache.c (addservbyX): Likewise.
37543         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37544         * posix/fnmatch.c (fnmatch): Likewise.
37545         * posix/getopt.c (_getopt_internal_r): Likewise.
37546         * posix/glob.c (glob, glob_in_dir): Likewise.
37547         * posix/wordexp.c (exec_comm_child): Likewise.
37548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37549         (getanswer_r, gaih_getanswer_slice): Likewise.
37550         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37551         * resolv/res_init.c: Likewise.
37552         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37553         * resolv/res_query.c (__libc_res_nquery): Likewise.
37554         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37555         Likewise.
37556         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37557         * stdio-common/perror.c (perror): Likewise.
37558         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37559         * stdio-common/tmpnam.c (tmpnam): Likewise.
37560         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37561         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37562         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37563         Likewise.
37564         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37565         * stdlib/putenv.c (putenv): Likewise.
37566         * stdlib/setenv.c (__add_to_environ): Likewise.
37567         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37568         * stdlib/strtol_l.c (INTERNAL): Likewise.
37569         * string/memmem.c (memmem): Likewise.
37570         * string/strerror.c (strerror): Likewise.
37571         * string/strnlen.c (__strnlen): Likewise.
37572         * string/test-memmem.c (simple_memmem): Likewise.
37573         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37574         * sunrpc/pm_getport.c (__get_socket): Likewise.
37575         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37576         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37577         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37578         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37579         Likewise.
37580         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37582         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37583         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37584         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37585         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37586         Likewise.
37587         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37588         Likewise.
37589         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37590         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37591         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37592         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37593         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37595         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37596         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37597         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37598         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37599         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37600         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37601         Likewise.
37602         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37603         Likewise.
37604         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37605         Likewise.
37606         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37608         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37609         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37610         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37611         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37612         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37613         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37615         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37616         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37617         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37618         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37619         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37620         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37621         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37622         Likewise.
37623         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37624         Likewise.
37625         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37626         Likewise.
37627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37628         Likewise.
37629         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37630         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37631         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37632         Likewise.
37633         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37634         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37635         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37636         * sysdeps/posix/sleep.c: Likewise.
37637         * sysdeps/posix/tempname.c: Likewise.
37638         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37639         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37640         Likewise.
37641         * sysdeps/powerpc/powerpc32/dl-machine.h
37642         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37643         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37645         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37646         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37647         Likewise.
37648         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37649         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37650         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37651         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37652         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37653         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37654         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37655         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37656         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37657         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37658         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37659         (elf_machine_lazy_rel): Likewise.
37660         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37662         (elf_machine_lazy_rel): Likewise.
37663         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37664         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37665         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37666         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37667         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37668         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37669         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37670         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37671         Likewise.
37672         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37673         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37674         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37675         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37676         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37677         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37678         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37679         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37680         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37681         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37682         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37685         (__posix_fallocate64_l64): Likewise.
37686         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37687         (posix_fallocate): Likewise.
37688         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37689         Likewise.
37690         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37691         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37692         (getifaddrs_internal): Likewise.
37693         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37694         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37695         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37696         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37697         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37698         (__posix_fallocate64_l64): Likewise.
37699         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37700         Likewise.
37701         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37702         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37703         (__get_clockfreq): Likewise.
37704         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37705         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37706         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37709         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37710         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37711         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37712         Likewise.
37713         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37714         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37715         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37716         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37717         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37718         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37719         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37720         Likewise.
37721         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37722         (posix_fallocate): Likewise.
37723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37724         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37725         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37726         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37727         (elf_machine_rela, elf_machine_rela_relative)
37728         (elf_machine_lazy_rel): Likewise.
37729         * time/asctime.c (asctime_internal): Likewise.
37730         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37731         * time/tzset.c (__tzset_parse_tz): Likewise.
37732         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37733         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37734         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37735         * wcsmbs/wcsmbsload.h: Likewise.
37737         [BZ #15894]
37738         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37740         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37741         (arena_get2): Remove THREAD_STATS conditionals.
37742         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37743         (__malloc_stats, int): Likewise.
37745 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37747         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37748         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37750         * manual/setjmp.texi: Fix typos/grammar errors.
37752         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37753         Only return early when n is <= 0.  Delete unused return statement.
37755         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37756         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37757         * debug/tst-longjmp_chk3.c: New file.
37759         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37760         (test_main): Replace code with set_fortify_handler call.
37761         * debug/test-strcpy_chk.c: Likewise.
37762         * debug/tst-chk1.c: Likewise.
37763         * debug/tst-longjmp_chk.c: Likewise.
37764         * test-skeleton.c: Include fcntl.h & paths.h
37765         (set_fortify_handler): Define.
37767         * debug/tst-longjmp_chk.c: Add header comment and include
37768         ../test-skeleton.c.
37769         (do_test): Mark static.
37770         (TEST_FUNCTION): Define.
37772         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37773         (IP_PMTUDISC_INTERFACE): Likewise.
37774         (IP_MULTICAST_IF): Likewise.
37775         (IP_MULTICAST_TTL): Likewise.
37776         (IP_MULTICAST_LOOP): Likewise.
37777         (IP_ADD_MEMBERSHIP): Likewise.
37778         (IP_DROP_MEMBERSHIP): Likewise.
37779         (IP_UNBLOCK_SOURCE): Likewise.
37780         (IP_BLOCK_SOURCE): Likewise.
37781         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37782         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37783         (IP_MSFILTER): Likewise.
37784         (MCAST_JOIN_GROUP): Likewise.
37785         (MCAST_BLOCK_SOURCE): Likewise.
37786         (MCAST_UNBLOCK_SOURCE): Likewise.
37787         (MCAST_LEAVE_GROUP): Likewise.
37788         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37789         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37790         (MCAST_MSFILTER): Likewise.
37791         (IP_MULTICAST_ALL): Likewise.
37792         (IP_UNICAST_IF): Likewise.
37794         * timezone/Makefile: Delete $(have-ksh) check.
37795         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37796         * timezone/tzselect.ksh: Add +x mode bits.
37798         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37799         (ANON_INODE_FS_MAGIC): Likewise.
37800         (BDEVFS_MAGIC): Likewise.
37801         (BINFMTFS_MAGIC): Likewise.
37802         (BTRFS_TEST_MAGIC): Likewise.
37803         (CRAMFS_MAGIC_WEND): Likewise.
37804         (DEBUGFS_MAGIC): Likewise.
37805         (ECRYPTFS_SUPER_MAGIC): Likewise.
37806         (EXT3_SUPER_MAGIC): Likewise.
37807         (EXT4_SUPER_MAGIC): Likewise.
37808         (FUTEXFS_SUPER_MAGIC): Likewise.
37809         (HOSTFS_SUPER_MAGIC): Likewise.
37810         (HUGETLBFS_MAGIC): Likewise.
37811         (MINIX3_SUPER_MAGIC): Likewise.
37812         (MTD_INODE_FS_MAGIC): Likewise.
37813         (NILFS_SUPER_MAGIC): Likewise.
37814         (OPENPROM_SUPER_MAGIC): Likewise.
37815         (PIPEFS_MAGIC): Likewise.
37816         (PSTOREFS_MAGIC): Likewise.
37817         (QNX6_SUPER_MAGIC): Likewise.
37818         (RAMFS_MAGIC): Likewise.
37819         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37820         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37821         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37822         (SECURITYFS_MAGIC): Likewise.
37823         (SELINUX_MAGIC): Likewise.
37824         (SMACK_MAGIC): Likewise.
37825         (SOCKFS_MAGIC): Likewise.
37826         (SQUASHFS_MAGIC): Likewise.
37827         (STACK_END_MAGIC): Likewise.
37828         (TMPFS_MAGIC): Likewise.
37829         (USBDEVICE_SUPER_MAGIC): Likewise.
37830         (V9FS_MAGIC): Likewise.
37831         (XENFS_SUPER_MAGIC): Likewise.
37832         (CRAMFS_MAGIC): Fix typo in comment.
37833         (EXT2_SUPER_MAGIC): Update comment.
37834         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37836 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37838         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37839         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37840         * sysdeps/unix/sysv/linux/arm: Move directory from
37841         ports/sysdeps/unix/sysv/linux/arm.
37842         * README: Update listing for arm-*-linux-gnueabi.
37844         * README: Remove mention of am33.
37846 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37848         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37849         than the comma operator, to avoid "rhs of comma has no effect"
37850         compiler warnings.
37851         (__sigfillset, __sigandset, __sigorset): Likewise.
37852         * include/signal.h (__sigemptyset): Likewise.
37853         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37855 2014-02-07  Allan McRae  <allan@archlinux.org>
37857         * version.h (RELEASE): Set to "development".
37858         (VERSION): Set to "2.19.90"
37859         * NEWS: Add 2.20 section.
37861 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37863         [BZ #16529]
37864         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37866 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37868         * manual/contrib.texi: Update entry for Carlos O'Donell,
37869         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37871 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37873         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37875         * sysdeps/unix/sysv/linux/kernel-features.h
37876         [__LINUX_KERNEL_VERSION >= 0x020621]
37877         (__ASSUME_PROC_PID_TASK_COMM): Define.
37879 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37881         [BZ #16398]
37882         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37883         conversion when destination buffer does not have enough space.
37884         * libio/tst-ftell-partial-wide.c: New test case.
37885         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37887         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37888         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37889         Leonard and Allan McRae.
37891 2014-02-04  David S. Miller  <davem@davemloft.net>
37893         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37894         32-bit.
37896 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37899         New file
37900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37901         New file
37902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37903         New file.
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37905         New file.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37907         New file.
37908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37909         New file.
37910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37911         New file.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37913         New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37915         New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37917         New file.
37918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37919         New file.
37920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37921         New file.
37922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37923         New file.
37925 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37927         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37928         * shlib-versions: Likewise.
37930 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37933         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37934         (abilist-pattern): New variable, set to %-le.abilist.
37936         * Makerules (abilist-pattern): New variable.
37937         (vpath): Use $(abilist-pattern) in place of %.abilist.
37938         (check-abi-% pattern rule): Likewise.
37939         (check-abi, update-abi): Likewise.
37941 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37945 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37947         * manual/startup.texi: Add next, previous, and top entries for
37948         the `Program Arguments' and `Environment Variables' nodes.
37950 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37952         * manual/macros.texi: Add comments before MTASC-safety macros.
37954         * manual/users.texi: Document MTASC-safety properties.
37956         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37957         (pthread_getspecific, pthread_setspecific): Format with
37958         @deftypefun, and add @safety note.
37959         * manual/signal.texi: Move comments that analyze the above
37960         functions to their home place.
37962 2014-02-03  Allan McRae  <allan@archlinux.org>
37964         * po/sl.po: Update Slovenian translation from translation project.
37966 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37968         * manual/time.texi (timegm): Add missing blank after @c.
37969         Reported by Joseph Myers <joseph@codesourcery.com>.
37971 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37973         * manual/check-safety.sh: New.
37974         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37976         * manual/terminal.texi: Document MTASC-safety properties.
37978         * manual/filesys.texi: Document MTASC-safety properties.
37980         * manual/errno.texi: Document MTASC-safety properties.
37982         * manual/intro.texi: Document safety identifiers and
37983         conditionals.
37985         * manual/string.texi (wcstok): Fix prototype.
37986         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37988         * manual/time.texi: Document MTASC-safety properties.
37990         * manual/string.texi: Document MTASC-safety properties.
37992         * manual/threads.texi: Document MTASC-safety properties.
37994         * manual/stdio.texi: Document MTASC-safety properties.
37996         * manual/syslog.texi: Document MTASC-safety properties.
37998         * manual/sysinfo.texi: Document MTASC-safety properties.
38000         * manual/startup.texi: Document MTASC-safety properties.
38002         * manual/socket.texi: Document MTASC-safety properties.
38004         * manual/signal.texi: Document MTASC-safety properties.
38006 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38008         * manual/setjmp.texi: Document MTASC-safety properties.
38010         * manual/search.texi: Document MTASC-safety properties.
38012         * manual/resource.texi: Document MTASC-safety properties.
38014         * manual/process.texi: Document MTASC-safety properties.
38016         * manual/platform.texi: Document MTASC-safety properties.
38018         * manual/pipe.texi: Document MTASC-safety properties.
38020         * manual/pattern.texi: Document MTASC-safety properties.
38022         * manual/message.texi: Document MTASC-safety properties.
38024         [BZ #12751]
38025         * manual/memory.texi: Document MTASC-safety properties.
38027         * manual/math.texi: Document MTASC-safety properties.
38029         * manual/locale.texi: Document MTASC-safety properties.
38031         * manual/llio.texi: Document MTASC-safety properties.
38033         * manual/libdl.texi: New.
38035         * manual/lang.texi: Document MTASC-safety properties.
38037         * manual/job.texi: Document MTASC-safety properties.
38039         * manual/getopt.texi: Document MTASC-safety properties.
38041         * manual/ctype.texi: Document MTASC-safety properties.
38043 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38045         [BZ #16046]
38046         * csu/libc-tls.c (static_map): Remove variable.
38047         (__libc_setup_tls): Use main executable's link map for TLS data.
38048         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38049         casing for LM_ID_BASE and GL(dl_nns).
38050         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38051         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38052         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38053         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38054         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38055         member.
38056         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38057         l_phnum members.
38059 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38061         * manual/debug.texi: Document MTASC-safety properties.
38063 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38065         [BZ #16510]
38066         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38067         of __x86_64__ when disabling x87 inline functions.
38069 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38071         * manual/charset.texi: Document MTASC-safety properties.
38073         * manual/crypt.texi: Document MTASC-safety properties.
38075         * manual/conf.texi: Document MTASC-safety properties.
38077         * manual/arith.texi: Document MTASC-safety properties.
38079         * manual/argp.texi: Document MTASC-safety properties.
38081         * manual/macros.texi: Introduce macros to document multi
38082         thread, asynchronous signal and asynchronous cancellation
38083         safety properties.
38084         * manual/intro.texi: Introduce the properties themselves.
38086 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38088         * sysdeps/sh/sh4/Makefile: New file.
38090 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38092         * math/gen-libm-test.pl ($srcdir): New variable.
38093         ($auto_input): Use it.
38095 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38097         [BZ #16506]
38098         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38099         access beyond array bounds when parsing netgroups file.
38101         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38102         the old buffer before realloc.
38104 2014-01-27  Allan McRae  <allan@archlinux.org>
38106         * po/fr.po: Update French translation from translation project.
38108 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38110         * sysdeps/sh/libm-test-ulps: Regenerate.
38112 2014-01-24  David S. Miller  <davem@davemloft.net>
38114         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38116 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38118         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38119         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38121 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38123         [BZ #16474]
38124         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38125         string pointers after reallocation.
38127 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38129         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38130         __SH4A__ instead of __SH_FPU_ANY__.
38132 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38134         * sysdeps/sh/fpu_control.h: New file.
38135         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38136         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38137         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38138         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38139         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38140         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38141         * sysdeps/sh/sys/ucontext.h: Remove.
38142         * sysdeps/sh/sys: Remove directory.
38144 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38146         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38147         s390/sys/ucontext.h.
38148         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38149         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38151 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38153         [BZ #15605]
38154         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38156 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38158         [BZ#16431]
38159         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38160         Adjust the vDSO correctly for internal calls.
38161         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38163 2014-01-20  Allan McRae  <allan@archlinux.org>
38165         * po/ca.po: Update Catalan translation from translation project.
38167 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38169         * sysdeps/s390/sotruss-lib.c: New file.
38171 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38173         [BZ#16430]
38174         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38175         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38176         local calls issues by not having a PLT stub required for IFUNC calls.
38177         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38179 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38181         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38182         * math/test-fpucw-static.c: Likewise.
38184 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38186         [BZ #16453]
38187         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38189 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38191         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38192         implementation for powerpc.
38194 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38196         [BZ #14782]
38197         * sysdeps/posix/system.c (__libc_system): Do not enable
38198         asynchronous cancellation.
38200 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38202         [BZ #16427]
38203         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38204         handling only for numbers special also in the IEEE case.
38206 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38208         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38210 2014-01-11  Allan McRae  <allan@archlinux.org>
38212         * po/bg.po: Update Bulgarian translation from translation project.
38214         * po/de.po: Update German translation from translation project.
38216 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38218         * sysdeps/generic/gcc-compat.h: New file.
38220 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38222         * benchtests/asin-inputs: Correct slow inputs.
38223         * benchtests/acos-inputs: Likewise.
38225 2014-01-10  Allan McRae  <allan@archlinux.org>
38227         * po:sv.po: Update Swedish translation from translation project.
38229         * po/vi.po: Update Vietnamese translation from translation project.
38231         * po/eo.po: Update Esperanto translation from translation project.
38233         * po/cs.po: Update Czech translation from translation project.
38235         * po/nl.po: Update Dutch translation from translation project.
38237         * po/pl.po: Update Polish translation from translation project.
38239         * po/ru.po: Update Russian translation from translation project.
38241         * po/uk.po: Update Ukrainian translation from translation project.
38243 2014-01-08  Brooks Moses  <bmoses@google.com>
38245         * elf/dl-load.c: Fix comment typo.
38247 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38249         * po/header.pot: Rename to...
38250         * po/pot.header: ... this.
38251         * po/Makefile: Use pot.header.
38253 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38254             Maxim Kuvyrkov  <maxim@kugelworks.com>
38256         [BZ #16394]
38257         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38258         SRC and DEST against LEN.
38260 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38262         [BZ #16414]
38263         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38264         implementation.
38265         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38267 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38271 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38273         [BZ #16408]
38274         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38275         for large positive arguments.
38277 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38279         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38281         * math/auto-libm-test-in: Mark various tests with
38282         xfail-rounding:ldbl-128ibm.
38283         * math/auto-libm-test-out: Regenerated.
38285         [BZ #16407]
38286         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38287         Increase overflow threshold.
38289 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38291         [BZ #14286]
38292         * stdio-common/vfprintf.c: Check for integer overflow.
38294 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38296         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38297         the first argument and return value of __tls_get_addr_internal.
38299 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38301         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38302         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38304 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38306         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38307         * sysdeps/s390/rtld-global-offsets.sym: New file.
38308         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38309         GLIBC_2.19 symbol.
38310         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38311         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38312         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38313         ... this.
38314         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38315         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38316         ... this.
38317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38318         Regenerate.
38319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38320         Regenerate.
38321         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38322         halfs of GPRs for high_gprs contexts.
38323         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38324         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38325         field.
38326         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38327         uc_flags field.
38328         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38329         64 bit versions:
38330         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38331         for high GPRs (uc_high_gprs) and for future extensions
38332         (__reserved).
38333         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38334         for future extensions (__reserved).
38335         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38336         64 bit versions:
38337         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38338         SC_HIGHGPRS offset definition.
38339         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38340         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38342         * Versions.def: Add GLIBC_2.19 for libpthread.
38343         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38344         siglongjmp for libpthread with GLIBC_2.19 symver.
38345         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38346         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38347         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38348         * sysdeps/s390/__longjmp.c: New file.
38349         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38350         * sysdeps/s390/longjmp.c: New file.
38351         * sysdeps/s390/setjmp.S: New file.
38352         * sysdeps/s390/sigjmp.S: New file.
38353         * sysdeps/s390/v1-longjmp.c: New file.
38354         * sysdeps/s390/v1-setjmp.h: New file.
38355         * sysdeps/s390/v1-sigjmp.c: New file.
38356         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38357         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38358         GLIBC_2.19 version.
38359         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38360         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38361         versioned symbols for ____longjmp_chk.
38362         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38363         Likewise.
38364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38365         Regenerate.
38366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38367         Regenerate.
38368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38369         Regenerate.
38370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38371         Regenerate.
38372         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38373         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38374         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38375         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38376         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38377         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38378         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38379         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38380         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38381         * sysdeps/s390/rtld-__longjmp.c: New file.
38382         * sysdeps/s390/rtld-setjmp.S: New file.
38384 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38386         [BZ #16400]
38387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38388         Return -__logl (x) for small positive arguments without evaluating
38389         a polynomial.
38391 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38393         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38394         Rename to ...
38395         (__ptrace_peeksiginfo_args): ... this.
38396         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38397         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38398         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38400 2014-01-06  Allan McRae  <allan@archlinux.org>
38402         * inet/netinet/in.h: Fix typo in comment.
38404 2014-01-05  Andreas Jaeger  <aj@suse.de>
38406         * sysdeps/i386/fpu/libm-test-ulps: Update.
38408 2014-01-05  Allan McRae  <allan@archlinux.org>
38410         * po/libc.pot: Regenerated.
38412         * malloc/memusagestat.c: Fix gettext call formatting.
38414 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38416         * nscd/nscd.c: Improve usage() output.
38418 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38420         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38421         * sysdeps/unix/sysv/linux/configure: Regenerated.
38422         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38423         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38425 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38427         [BZ #16390]
38428         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38429         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38431 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38433         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38434         extra tokens at end of #undef directive.
38435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38436         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38437         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38439 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38441         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38443         * math/auto-libm-test-in: Mark various tests with
38444         xfail-rounding:ldbl-128ibm.
38445         * math/auto-libm-test-out: Regenerated.
38447 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38449         [BZ #16386]
38450         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38451         numbers with subnormal high part when calculating exponent.
38453         [BZ #16385]
38454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38455         fabs.
38457         [BZ #16384]
38458         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38459         M_LN2l.
38460         (__ieee754_acoshl): Use __log1pl not __log1p.
38462 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38464         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38465         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38466         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38467         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38468         (reused_arena, arena_get2): Convert to GNU style.
38469         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38470         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38471         (memalign_check, __malloc_set_state): Likewise.
38472         * malloc/mallocbug.c (main): Likewise.
38473         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38474         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38475         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38476         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38477         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38478         (__posix_memalign, malloc_info): Likewise.
38479         * malloc/malloc.h: Likewise.
38480         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38481         (mallochook, memalignhook, reallochook, mabort): Likewise.
38482         * malloc/mcheck.h: Likewise.
38483         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38484         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38485         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38486         * malloc/morecore.c (__default_morecore): Likewise.
38487         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38488         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38489         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38490         (print_and_abort): Likewise.
38491         * malloc/obstack.h: Likewise.
38492         * malloc/set-freeres.c (__libc_freeres): Likewise.
38493         * malloc/tst-mallocstate.c (main): Likewise.
38494         * malloc/tst-mtrace.c (main): Likewise.
38495         * malloc/tst-realloc.c (do_test): Likewise.
38497 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38499         [BZ #16366]
38500         * nscd/netgroupcache.c (do_notfound): New function.
38501         (addgetnetgrentX): Use it.
38503         [BZ # 16365]
38504         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38505         NSS_STATUS_NOTFOUND.
38507 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38509         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38512 2014-01-01  Allan McRae  <allan@archlinux.org>
38514         * scripts/update-copyrights: Update configure input file suffix.
38516         * NEWS: Update copyright year.
38517         * catgets/gencat.c: Likewise.
38518         * csu/version.c: Likewise.
38519         * debug/catchsegv.sh: Likewise.
38520         * debug/pcprofiledump.c: Likewise.
38521         * debug/xtrace.sh: Likewise.
38522         * elf/ldconfig.c: Likewise.
38523         * elf/ldd.bash.in: Likewise.
38524         * elf/pldd.c: Likewise.
38525         * elf/sotruss.ksh: Likewise.
38526         * elf/sprof.c: Likewise.
38527         * iconv/iconv_prog.c: Likewise.
38528         * iconv/iconvconfig.c: Likewise.
38529         * locale/programs/locale.c: Likewise.
38530         * locale/programs/localedef.c: Likewise.
38531         * login/programs/pt_chown.c: Likewise.
38532         * malloc/memusage.sh: Likewise.
38533         * malloc/memusagestat.c: Likewise.
38534         * malloc/mtrace.pl: Likewise.
38535         * manual/libc.texinfo: Likewise.
38536         * nscd/nscd.c: Likewise.
38537         * nss/getent.c: Likewise.
38538         * nss/makedb.c: Likewise.
38539         * posix/getconf.c: Likewise.
38540         * scripts/test-installation.pl: Likewise.
38542         * All files with FSF copyright notices: Update copyright dates
38543         using scripts/update-copyrights.
38544         * intl/plural.c: Regenerated.
38545         * locale/programs/charmap-kw.h: Likewise.
38546         * locale/programs/locfile-kw.h: Likewise.
38548 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38550         * sysdeps/unix/sysv/linux/configure: Regenerated.
38551         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38552         the linux/fanotify.h header.
38553         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38554         HAVE_LINUX_FANOTIFY_H is defined.
38556 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38558         * benchtests/cos-inputs: New inputs.
38559         * benchtests/sin-inputs: Likewise.
38561         * benchtests/atan-inputs: New inputs. Fix name of multiple
38562         precision fallback inputs.
38564         * benchtests/atanh-inputs: New inputs.
38565         * benchtests/tanh-inputs: Likewise.
38567         * benchtests/acosh-inputs: New inputs.
38568         * benchtests/asinh-inputs: Likewise.
38570         * benchtests/cosh-inputs: New inputs.
38571         * benchtests/sinh-inputs: Likewise.
38573         * benchtests/acos-inputs: Add more inputs.
38574         * benchtests/asin-inputs: Likewise.
38576 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38578         [BZ #16375]
38579         * manual/arith.texi: Fix spelling.
38580         * manual/charset.texi: Likewise.
38581         * manual/errno.texi: Likewise.
38582         * manual/filesys.texi: Likewise.
38583         * manual/lang.texi: Likewise.
38584         * manual/llio.texi: Likewise.
38585         * manual/locale.texi: Likewise.
38586         * manual/message.texi: Likewise.
38587         * manual/resource.texi: Likewise.
38588         * manual/search.texi: Likewise.
38589         * manual/setjmp.texi: Likewise.
38590         * manual/stdio.texi: Likewise.
38591         * manual/string.texi: Likewise.
38592         * manual/sysinfo.texi: Likewise.
38593         * manual/time.texi: Likewise.
38595 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38597         * po/sl.po: New file.
38599 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38601         * .gitignore: Add core/.gdbinit/.gdb_history.
38603 2013-12-27  Allan McRae  <allan@archlinux.org>
38605         [BZ #16369]
38606         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38607         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38609 2013-12-24  Brooks Moses  <bmoses@google.com>
38611         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38612         all compilers that claim C++98 compliance, not just GCC.
38613         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38614         Likewise.
38616 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38618         * NEWS: Restore accidentally deleted bug-fix entries.
38620 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38621             Ondřej Bílka  <neleai@seznam.cz>
38623         [BZ #15073]
38624         * malloc/malloc.c (_int_free): Perform sanity check only if we
38625         have_lock.
38627 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38629         [BZ #12986]
38630         * manual/stdio.texi (String Input Conversions): Clarify that character
38631         classes are not supported.
38633 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38637 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38639         [BZ #16337]
38640         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38641         Calculate results for small negative arguments directly rather
38642         than using reflection formula with special underflow handling.
38644         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38645         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38646         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38647         (fchflags): Likewise.
38648         (revoke): Likewise.
38649         (setlogin): Likewise.
38650         (sigaltstack): Likewise.
38651         (wait4): Likewise.
38652         (sigblock): Remove.
38653         (sigsetmask): Likewise.
38654         (wait3): Likewise.
38655         (waitpid): Likewise.
38656         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38657         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38658         file.
38659         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38660         * sysdeps/unix/bsd/Makefile: ... here.
38661         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38662         * sysdeps/unix/bsd/Versions: ... here.
38663         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38664         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38665         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38666         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38667         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38668         * sysdeps/unix/bsd/sigblock.c: ... here.
38669         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38670         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38671         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38672         * sysdeps/unix/bsd/sigvec.c: ... here.
38673         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38674         * sysdeps/unix/bsd/tcdrain.c: ... here.
38675         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38676         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38677         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38678         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38679         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38680         * sysdeps/unix/bsd/wait.c: ... here.
38681         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38682         * sysdeps/unix/bsd/wait3.c: ... here.
38683         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38684         * sysdeps/unix/bsd/waitpid.c: ... here.
38686 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38688         [BZ #16356]
38689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38690         round-to-nearest for [!USE_AS_EXPM1L].
38691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38692         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38693         more tests of exp and exp10.  Expect some exp10 tests to miss
38694         exceptions or fail in directed rounding modes.
38695         * math/auto-libm-test-out: Regenerated.
38696         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38697         (exp10_test_tonearest): New function.
38698         (exp10_towardzero_test_data): New array.
38699         (exp10_test_towardzero): New function.
38700         (exp10_downward_test_data): New array.
38701         (exp10_test_downward): New function.
38702         (exp10_upward_test_data): New array.
38703         (exp10_test_upward): New function.
38704         (main): Call the new functions.
38705         * sysdeps/i386/fpu/libm-test-ulps: Update.
38706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38708 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38710         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38711         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38712         * math/auto-libm-test-out: Regenerated.
38713         * math/libm-test.inc (acosh_test_data): Add more tests.
38714         (atanh_test_data): Likewise.
38715         (ceil_test_data): Likewise.
38716         (copysign_test_data): Likewise.
38717         * sysdeps/i386/fpu/libm-test-ulps: Update.
38718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38720         * timezone/checktab.awk: Update from tzcode 2013i.
38721         * timezone/private.h: Likewise.
38722         * timezone/scheck.c: Likewise.
38723         * timezone/tzfile.h: Likewise.
38724         * timezone/tzselect.ksh: Likewise.
38725         * timezone/zdump.c: Likewise.
38726         * timezone/zic.c: Likewise.
38728         * math/auto-libm-test-in: Add tests of cpow.
38729         * math/auto-libm-test-out: Regenerated.
38730         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38731         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38732         mpc_cc_c.
38733         (func_calc_desc): Add mpc_cc_c union field.
38734         (test_functions): Add cpow.
38735         (special_fill_2pi): New function.
38736         (special_real_inputs): Add 2pi.
38737         (calc_generic_results): Handle mpc_cc_c.
38738         * sysdeps/i386/fpu/libm-test-ulps: Update.
38739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38741         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38742         csqrt, ctan and ctanh.
38743         * math/auto-libm-test-out: Regenerated.
38744         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38745         (TEST_COND_x86): Likewise.
38746         (ccos_test_data): Use AUTO_TESTS_c_c.
38747         (ccosh_test_data): Likewise.
38748         (cexp_test_data): Likewise.
38749         (clog_test_data): Likewise.
38750         (csqrt_test_data): Likewise.
38751         (ctan_test_data): Likewise.
38752         (ctan_tonearest_test_data): Likewise.
38753         (ctan_towardzero_test_data): Likewise.
38754         (ctan_downward_test_data): Likewise.
38755         (ctan_upward_test_data): Likewise.
38756         (ctanh_test_data): Likewise.
38757         (ctanh_tonearest_test_data): Likewise.
38758         (ctanh_towardzero_test_data): Likewise.
38759         (ctanh_downward_test_data): Likewise.
38760         (ctanh_upward_test_data): Likewise.
38761         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38762         mpc_c_c.
38763         (func_calc_desc): Add mpc_c_c union field.
38764         (FUNC_mpc_c_c): New macro.
38765         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38766         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38767         ctanh.
38768         (special_fill_min_subnorm_p120): New function.
38769         (special_real_inputs): Add min_subnorm_p120.
38770         (calc_generic_results): Handle mpc_c_c.
38771         * sysdeps/i386/fpu/libm-test-ulps: Update.
38772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38774 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38776         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38777         (do_sin_slow): New functions.
38778         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38779         (cslow2, csloww1, csloww2): Use the new functions.
38781         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38782         Use M to change sign of result instead of X.  Assume X is
38783         positive.
38784         (csloww1): Likewise.
38785         (__sin): Adjust.
38786         (__cos): Adjust.
38788         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38789         arguments A and DA.
38790         (__sin): Adjust.
38791         (__cos): Likewise.
38793         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38794         (__cos): Likewise.
38795         (sloww1): Don't adjust sign of DX.
38796         (csloww1): Likewise.
38797         (sloww2): Use X directly and don't adjust sign of DX.
38798         (csloww2): Likewise.
38800 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38802         * math/auto-libm-test-in: Add tests of cabs and carg.
38803         * math/auto-libm-test-out: Regenerated.
38804         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38805         (carg_test_data): Likewise.
38806         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38807         mpc_c_f.
38808         (func_calc_desc): Add mpc_c_f union field.
38809         (test_functions): Add cabs and carg.
38810         (calc_generic_results): Handle mpc_c_f.
38812         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38813         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38814         as a macro and a compat symbol.
38815         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38816         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38817         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38818         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38819         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38820         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38821         not use .hidden.
38822         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38823         Likewise.
38824         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38825         Likewise.
38826         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38827         Likewise.
38828         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38829         Likewise.
38830         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38831         Likewise.
38832         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38833         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38834         from GLIBC_2.3.2.
38836 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38840 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38842         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38843         trailing whitespace removed.
38844         * scripts/config.guess: Update to version 2013-11-29.
38845         * scripts/config.sub: Update to version 2013-10-01.
38847         * math/auto-libm-test-in: Add tests of sincos.
38848         * math/auto-libm-test-out: Regenerated.
38849         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38850         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38851         mpfr_f_11.
38852         (func_calc_desc): Add mpfr_f_11 union field.
38853         (test_functions): Add sincos.
38854         (calc_generic_results): Handle mpfr_f_11.
38855         * sysdeps/i386/fpu/libm-test-ulps: Update.
38856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38858 2013-12-19  Andreas Schwab  <schwab@suse.de>
38860         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38861         CALL_MCOUNT.
38862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38863         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38864         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38866 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38868         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38869         * sysdeps/i386/fpu/libm-test-ulps: Update.
38870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38872         [BZ #16293]
38873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38874         round-to-nearest mode when using frndint.
38875         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38876         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38878         Likewise.
38879         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38880         sinh test to fail.
38881         * math/auto-libm-test-out: Regenerated.
38882         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38883         (TEST_COND_x86): Likewise.
38884         (expm1_tonearest_test_data): New array.
38885         (expm1_test_tonearest): New function.
38886         (expm1_towardzero_test_data): New array.
38887         (expm1_test_towardzero): New function.
38888         (expm1_downward_test_data): New array.
38889         (expm1_test_downward): New function.
38890         (expm1_upward_test_data): New array.
38891         (expm1_test_upward): New function.
38892         (main): Run the new test functions.
38893         * sysdeps/i386/fpu/libm-test-ulps: Update.
38894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38896         * include/features.h: Update comment documenting feature test
38897         macros.  Mention _DEFAULT_SOURCE in comment.
38898         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38899         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38900         _BSD_SOURCE and _SVID_SOURCE.
38901         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38902         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38903         !_SVID_SOURCE]: Likewise.
38904         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38905         (__USE_POSIX_IMPLICITLY): Define.
38906         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38907         (_POSIX_SOURCE): Undefine and redefine.
38908         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38909         (_POSIX_C_SOURCE): Likewise.
38910         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38911         (Feature Test Macros): Update documentation of default features.
38913 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38915         * benchtests/Makefile: Add bench-strtok.
38916         * benchtests/bench-strtok.c: New file: strtok benchtest.
38918 2013-12-19  Allan McRae  <allan@archlinux.org>
38920         * manual/install.texi: Suppress menu for plain text output.
38921         * INSTALL: Regenerated.
38923 2013-12-18  Brooks Moses  <bmoses@google.com>
38925         [BZ #15846]
38926         * misc/getauxval.c: Include errno.h.
38927         (__getauxval): Set errno to ENOENT if the requested type is not
38928         found.
38929         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38930         don't declare with __attribute_const__.
38931         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38932         * manual/startup.texi: Document that getauxval sets errno.
38934 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38936         * math/auto-libm-test-in: Add tests of jn and yn.
38937         * math/auto-libm-test-out: Regenerated.
38938         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38939         (yn_test_data): Likewise.
38940         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38941         mpfr_if_f.
38942         (func_calc_desc): Add mpfr_if_f union field.
38943         (FUNC_mpfr_if_f): New macro.
38944         (test_functions): Add jn and yn.
38945         (calc_generic_results): Assert type of second input for
38946         mpfr_ff_f.  Handle mpfr_if_f.
38947         (output_for_one_input_case): Disable all checking for arguments
38948         fitting floating-point types in case of an integer argument.
38949         * sysdeps/i386/fpu/libm-test-ulps: Update.
38950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38953         Don't expect fegetround reference in libm.so.
38955 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38957         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38958         $(config-cflags-nofma).
38960 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38962         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38963         * math/auto-libm-test-out: Regenerated.
38965         [BZ #16338]
38966         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38967         to determine exponent and adjust argument to have exponent of -1.
38968         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38969         log2.
38970         * math/auto-libm-test-out: Regenerated.
38971         * sysdeps/i386/fpu/libm-test-ulps: Update.
38972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38976         * manual/probes.texi: Remove cases when per-thread arenas are
38977         disabled.
38979 2013-12-18  Andreas Schwab  <schwab@suse.de>
38981         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38982         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38983         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38984         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38985         * sysdeps/i386/i686/multiarch/Makefile: Update.
38986         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38988 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38990         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38991         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38993 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38995         [BZ #15968]
38996         Support TZ transition times < 00:00:00.
38997         This is needed for version-3 tz-format files; it supports time
38998         stamps past 2037 for America/Godthab (the only entry in the tz
38999         database for which this change is relevant).
39000         * manual/time.texi (TZ Variable): Document transition times
39001         from -167:59:59 through -00:00:01.
39002         * time/tzset.c (tz_rule): Time of day is now signed.
39003         (__tzset_parse_tz): Parse negative time of day.
39005         Document TZ transition times >= 25:00:00.
39006         * manual/time.texi (TZ Variable): Document transition times from
39007         25:00:00 through 167:59:59.  These are already supported, and this
39008         support will help with version-3 tz-format files.
39010         * manual/time.texi (TZ Variable): Modernize North America example
39011         to reflect current (i.e., 2007-and-later) daylight saving rules.
39013         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39015 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39017         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39018         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39019         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39021         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39022         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39023         * sysdeps/unix/bsd/clock.c: Likewise.
39024         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39025         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39026         * sysdeps/unix/bsd/init-posix.c: Likewise.
39027         * sysdeps/unix/bsd/poll.c: Likewise.
39028         * sysdeps/unix/bsd/ptsname.c: Likewise.
39029         * sysdeps/unix/bsd/seekdir.c: Likewise.
39030         * sysdeps/unix/bsd/setegid.c: Likewise.
39031         * sysdeps/unix/bsd/seteuid.c: Likewise.
39032         * sysdeps/unix/bsd/setgid.c: Likewise.
39033         * sysdeps/unix/bsd/setrgid.c: Likewise.
39034         * sysdeps/unix/bsd/setruid.c: Likewise.
39035         * sysdeps/unix/bsd/setsid.c: Likewise.
39036         * sysdeps/unix/bsd/setuid.c: Likewise.
39037         * sysdeps/unix/bsd/sigaction.c: Likewise.
39038         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39039         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39040         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39041         * sysdeps/unix/bsd/telldir.c: Likewise.
39042         * sysdeps/unix/bsd/times.c: Likewise.
39043         * sysdeps/unix/bsd/usleep.c: Likewise.
39045         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39046         ($(objpfx)libbsd-compat.a): Remove rule.
39048         * include/features.h (__FAVOR_BSD): Do not define.
39049         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39050         features conflicting with POSIX.
39051         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39052         (_BSD_SOURCE): Remove description of not being a subset of other
39053         feature test macros.
39054         * manual/job.texi (getpgrp): Do not document BSD version.
39055         (getpgid): Do not document by reference to BSD getpgrp.
39056         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39057         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39058         * signal/signal.h [__FAVOR_BSD]: Likewise.
39059         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39060         instead of making contents conditional on [__FAVOR_BSD].
39061         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39063 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39067 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39069         [BZ #16314]
39070         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39071         values below 2**-450, not 2**-500.
39072         * math/auto-libm-test-in: Don't allow spurious underflow from
39073         hypot.
39074         * math/auto-libm-test-out: Regenerated.
39076         [BZ #16316]
39077         [BZ #16330]
39078         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39079         values of ha and hb and sort them after adjusting subnormal
39080         arguments.
39081         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39082         Likewise.
39083         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39084         values of ea and eb and sort them after adjusting subnormal
39085         arguments.
39086         * math/auto-libm-test-in: Do not expect some hypot tests of
39087         subnormals to fail.  Add more hypot tests.
39088         * math/auto-libm-test-out: Regenerated.
39090 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39092         [BZ #13304]
39093         * sysdeps/sh/s_fma.c: New file.
39094         * sysdeps/sh/s_fmaf.c: New file.
39095         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39096         version.
39097         * sysdeps/sh/Implies: Add sh/soft-fp.
39099 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39101         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39102         level of indirection to members `objname', `errstring', `malloced'.
39103         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39104         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39105         it as the __longjmp argument (just pass 1 instead).
39106         (_dl_catch_error): Initialize C with argument pointers and address of
39107         volatile local ERRCODE rather than copying values out of C at return.
39109 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39111         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39112         * math/auto-libm-test-out: Regenerated.
39113         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39114         (hypot_test_data): Likewise.
39115         (pow_test_data): Likewise.
39116         (pow_tonearest_test_data): Likewise.
39117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39118         mpfr_ff_f.
39119         (func_calc_desc): Add mpfr_ff_f union field.
39120         (FUNC_mpfr_ff_f): New macro.
39121         (test_functions): Add atan2, hypot and pow.
39122         (special_fill_min): New function.
39123         (special_fill_minus_min): Likewise.
39124         (special_fill_min_subnorm): Likewise.
39125         (special_fill_minus_min_subnorm): Likewise.
39126         (special_real_inputs): Add min, -min, min_subnorm and
39127         -min_subnorm.
39128         (calc_generic_results): Handle mpfr_ff_f.
39129         * sysdeps/i386/fpu/libm-test-ulps: Update.
39130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39132 2013-12-16  Will Newton  <will.newton@linaro.org>
39134         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39135         (Aligned Memory Blocks): Add documentation for aligned_alloc
39136         and suggest it as an alternative to posix_memalign.
39137         (Hooks for Malloc): Document __memalign_hook is also called
39138         for aligned_alloc.  (Summary of Malloc): Add summary for
39139         aligned alloc.  Document __memalign_hook is also called
39140         for aligned_alloc.
39142 2013-12-16  Will Newton  <will.newton@linaro.org>
39144         * manual/memory.texi (Malloc Examples): Clarify default
39145         alignment documentation.  Suggest posix_memalign rather
39146         than memalign or valloc.
39147         (Aligned Memory Blocks): Remove suggestion to use memalign
39148         or valloc.  Remove obsolete comment about BSD.
39149         Document memalign errno values and mark the function obsolete.
39150         Document posix_memalign returned error codes.  Mark valloc
39151         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39152         called for posix_memalign and valloc.
39153         (Summary of Malloc): Add posix_memalign to function summary.
39154         __memalign_hook is also called for posix_memalign and valloc.
39156 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39158         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39159         TAYLOR_SIN.
39160         (__sin): Adjust.
39161         (__cos): Likewise.
39162         (sloww): Use mynumber union.  Expand ternary operator into
39163         if-else statements.
39164         (cslow): use mynumber union.
39166 2013-12-16  Allan McRae  <allan@archlinux.org>
39168         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39169         * configure: Regenerated.
39171         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39173         [BZ #14120]
39174         * configure.ac: Added --enable-maintainer-mode. Check for
39175         autoconf when enabled.
39176         * configure: Regenerated.
39178         * nscd/nscd.service: New file.
39179         * nscd/nscd.tmpfiles: New file.
39181 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39183         [BZ #12100]
39184         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39185         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39186         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39187         (strstr): Add __strstr_sse2_unaligned ifunc.
39188         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39189         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39190         (strcasestr): Remove __strcasestr_sse42 ifunc.
39191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39195 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39197         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39198         * sysdeps/sh/bits/fenv.h: ... here.
39199         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39201 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39203         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39206         hypotf multiarch implementations.
39207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39210         multiarch hypot for PPC64.
39211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39212         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39213         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39214         multiarch hypotf for PPC64.
39216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39217         modff multiarch implementations.
39218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39221         multiarch modf for PPC64.
39222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39225         multiarch modff for PPC64.
39227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39228         and logl multiarch implementations.
39229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39232         multiarch logb for PPC64.
39233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39236         multiarch logb for PPC64.
39237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39240         multiarch logb for PPC64.
39242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39243         isinff multiarch implementation.
39244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39245         file.
39246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39248         multiarch isinf for PPC64.
39249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39250         file.
39251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39252         multiarch isinff for PPC64.
39254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39255         finitef multiarch implementation.
39256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39257         file.
39258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39260         multiarch finite for PPC64.
39261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39262         file.
39263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39264         multiarch finitef for PPC64.
39266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39267         lrint multiarch implementation.
39268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39269         file.
39270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39272         multiarch llrint for PPC64.
39273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39274         multiarch lrint for PPC64.
39276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39277         copysignf multiarch implementation.
39278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39279         file.
39280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39281         file.
39282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39283         multiarch copysign for PPC64.
39284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39285         multiarch copysignf for PPC64.
39287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39288         multiarch implementation.
39289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39290         file.
39291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39292         file.
39293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39294         file.
39295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39296         file.
39297         multiarch llround for PPC64.
39298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39299         multiarch trunc for PPC64.
39300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39301         multiarch truncf for PPC64.
39303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39304         multiarch implementation.
39305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39306         file.
39307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39308         file.
39309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39310         file.
39311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39312         file.
39313         multiarch llround for PPC64.
39314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39315         multiarch round for PPC64.
39316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39317         multiarch roundf for PPC64.
39319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39320         multiarch implementation.
39321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39322         file.
39323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39324         file.
39325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39326         file.
39327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39328         file.
39329         multiarch llround for PPC64.
39330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39331         multiarch floor for PPC64.
39332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39333         multiarch floorf for PPC64.
39335         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39336         multiarch implementation.
39337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39338         file.
39339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39340         file.
39341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39342         file.
39343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39344         file.
39345         multiarch llround for PPC64.
39346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39347         multiarch ceil for PPC64.
39348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39349         multiarch ceilf for PPC64.
39351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39352         multiarch implementation.
39353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39354         file.
39355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39356         file.
39357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39358         file.
39359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39360         multiarch llround for PPC64.
39361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39362         multiarch lround for PPC64.
39364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39365         multiarch implementation.
39366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39369         file.
39370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39373         multiarch isnan for PPC64.
39374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39375         multiarch isnanf for PPC64.
39377         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39378         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39379         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39380         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39381         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39384         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39385         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39386         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39387         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39390         multiarch implementations.
39391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39392         (__libc_ifunc_impl_list): Likewise.
39393         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39395         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39396         multiarch stpcpy for PPC64.
39398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39399         multiarch implementations.
39400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39401         (__libc_ifunc_impl_list): Likewise.
39402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39403         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39404         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39405         multiarch strcpy for PPC64.
39407         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39408         redefine function name.
39409         (_wordcopy_fwd_dest_aligned): Likewise.
39410         (_wordcopy_bwd_aligned): Likewise.
39411         (_wordcopy_bwd_dest_aligned): Likewise.
39412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39413         multiarch implementations.
39414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39415         (__libc_ifunc_impl_list): Likewise.
39416         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39417         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39418         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39419         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39420         multiarch wcscpy for PPC64.
39422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39423         multiarch implementations.
39424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39425         (__libc_ifunc_impl_list): Likewise.
39426         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39427         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39428         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39429         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39430         multiarch wcscpy for PPC64.
39432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39433         multiarch implementations.
39434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39435         (__libc_ifunc_impl_list): Likewise.
39436         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39437         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39438         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39439         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39440         multiarch wcsrchr for PPC64.
39442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39443         multiarch implementations.
39444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39445         (__libc_ifunc_impl_list): Likewise.
39446         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39447         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39448         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39449         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39450         multiarch wcschr for PPC64.
39452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39453         multiarch implementations.
39454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39455         (__libc_ifunc_impl_list): Likewise.
39456         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39457         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39458         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39459         multiarch strchrnul for PPC64.
39461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39462         implementations.
39463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39464         (__libc_ifunc_impl_list): Likewise.
39465         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39466         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39467         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39468         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39469         strchr for PPC64.
39471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39472         implementations.
39473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39474         (__libc_ifunc_impl_list): Likewise.
39475         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39476         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39477         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39478         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39479         strncmp for PPC64.
39481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39482         multiarch implementations.
39483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39484         (__libc_ifunc_impl_list): Likewise.
39485         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39486         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39487         strncasecmp for PPC64.
39488         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39489         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39490         multiarch strncasecmp_l for PPC64.
39492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39493         multiarch implementations.
39494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39495         (__libc_ifunc_impl_list): Likewise.
39496         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39497         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39498         multiarch strcasecmp for PPC64.
39499         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39500         file.
39501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39502         multiarch strcasecmp_l for PPC64.
39504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39505         implementations.
39506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39507         (__libc_ifunc_impl_list): Likewise.
39508         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39509         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39510         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39511         strnlen for PPC64.
39513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39514         implementations.
39515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39516         (__libc_ifunc_impl_list): Likewise.
39517         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39518         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39519         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39520         strlen for PPC64.
39522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39523         implementations.
39524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39525         (__libc_ifunc_impl_list): Likewise.
39526         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39527         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39528         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39529         rawmemrchr for PPC64.
39531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39532         implementation.
39533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39534         (__libc_ifunc_impl_list): Likewise.
39535         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39536         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39537         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39538         memrchr for PPC64.
39540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39541         implementation.
39542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39543         (__libc_ifunc_impl_list): Likewise.
39544         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39545         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39546         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39547         memchr for PPC64.
39549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39550         implementation.
39551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39552         (__libc_ifunc_impl_list): Likewise.
39553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39554         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39555         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39556         mempcpy for PPC64.
39558         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39559         avoid cretion of __bzero symbol.
39560         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39561         Likewise.
39562         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39563         Likewise.
39564         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39565         Likewise.
39566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39567         multiarch implementations.
39568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39569         (__libc_ifunc_impl_list): Likewise.
39570         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39571         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39572         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39573         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39574         bzero for PPC32.
39575         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39576         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39577         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39578         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39579         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39580         memset for PPC64.
39581         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39583         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39585         implementations.
39586         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39587         (__libc_ifunc_impl_list): Likewise.
39588         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39589         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39590         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39591         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39592         memcmp for PPC64.
39594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39595         multiarch for POWER/PPC64.
39596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39597         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39601         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39602         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39603         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39604         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39605         memcpy for PPC64.
39607         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39608         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39609         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39610         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39611         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39612         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39613         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39614         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39615         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39616         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39617         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39618         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39619         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39620         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39621         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39630 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39632         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39634 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39636         * benchtests/Makefile (bench): Add exp2 and log2.
39637         (LDLIBS-bench-exp2): Add -lm.
39638         (LDLIBS-bench-log2): Likewise.
39639         * benchtests/exp2-inputs: New inputs file.
39640         * benchtests/log2-inputs: New inputs file.
39641         * benchtests/log-inputs: Add new inputs.
39642         * benchtests/tan-inputs: Likewise.
39644 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39647         definition...
39648         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39649         (csloww2): ... from here.
39651         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39652         instead of structures.
39653         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39654         (POLYNOMIAL): Likewise.
39655         (TAYLOR_SLOW): Likewise.
39656         (__sin): Likewise.
39657         (__cos): Likewise.
39658         (slow1): Likewise.
39659         (slow2): Likewise.
39660         (sloww): Likewise.
39661         (sloww1); Likewise.
39662         (sloww2): Likewise.
39663         (bsloww1): Likewise.
39664         (bsloww2): Likewise.
39665         (cslow2): Likewise.
39666         (csloww): Likewise.
39667         (csloww1): Likewise.
39668         (csloww2): Likewise.
39670 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39672         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39673         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39674         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39675         * malloc/hooks.c (realloc_check): Likewise.
39677         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39678         * malloc/arena.c: Remove PER_THREAD conditional.
39679         [!PER_THREAD]: Remove code.
39680         (ptmalloc_unlock_all2): Likewise.
39681         (ptmalloc_init): Likewise.
39682         (_int_new_arena): Likewise.
39683         (arena_get2): Likewise.
39684         * malloc/hooks.c (__malloc_get_state): Likewise.
39685         (__malloc_set_state): Likewise.
39686         * malloc/malloc.c: Likewise.
39687         (struct malloc_state): Likewise.
39688         (struct malloc_par): Likewise.
39689         (__libc_realloc): Likewise.
39690         (__libc_mallopt): Likewise.
39692 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39694         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39696 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39698         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39699         macro to a function.  Check for zero perturb_byte.
39700         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39702         * malloc/malloc.c: (force_reg): Remove.
39703         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39704         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39705         force_reg by atomic_forced_read.
39706         * malloc/arena.c (ptmalloc_init): Likewise.
39707         * malloc/hooks.c (top_check): Likewise.
39709 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39713 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39717 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39719         * math/auto-libm-test-in: Add tests of lgamma.
39720         * math/auto-libm-test-out: Regenerated.
39721         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39722         (M_LOG_2_SQRT_PIl): Likewise.
39723         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39724         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39725         mpfr_f_f1.
39726         (func_calc_desc): Add mpfr_f_f1 union field.
39727         (ARGS1): New macro.
39728         (ARGS2): Likewise.
39729         (ARGS3): Likewise.
39730         (ARGS4): Likewise.
39731         (RET1): Likewise.
39732         (RET2): Likewise.
39733         (CALC): Likewise.
39734         (FUNC): Likewise.
39735         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39736         (test_functions): Add lgamma.
39737         (calc_generic_results): Handle mpfr_f_f1.
39738         * sysdeps/i386/fpu/libm-test-ulps: Update.
39739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39741 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39743         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39744         __mpn_add_n for PowerPC64/POWER7.
39745         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39746         __mpn_sub_n for PowerPC64/POWER7.
39748         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39749         __mpn_addmul_1 for PowerPC64.
39750         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39751         __mpn_submul_1 for PowerPC64.
39752         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39753         for PowerPC64.
39754         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39755         for PowerPC64.
39757 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39759         [BZ #15089]
39760         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39762 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39764         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39766         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39767         add multiarch folders.
39768         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39769         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39770         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39771         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39772         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39773         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39774         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39775         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39776         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39777         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39778         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39787         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39789         New file.
39790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39791         New file.
39792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39793         multiarch __ieee754_hypot for PowerPC32.
39794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39795         New file.
39796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39797         New file.
39798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39799         multiarch __ieee754_hypotf for PowerPC32.
39801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39802         long_double_symbol only if __logbl is defined.
39803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39804         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39806         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39807         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39808         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39809         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39810         path for implementation.
39811         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39812         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39814         logb, and logbl multiarch implementations for PowerPC32.
39815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39816         file.
39817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39818         file.
39819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39820         multiarch logb for PowerPC32.
39821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39822         file.
39823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39824         file.
39825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39826         multiarch logbf for PowerPC32.
39827         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39829         file.
39830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39831         multiarch logbl implementation for PowerPC32.
39833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39834         and modff multiarch implementations.
39835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39836         New file.
39837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39838         New file.
39839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39840         multiarch modf for PowerPC32.
39841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39842         New file.
39843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39844         New file.
39845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39846         multiarch modff for PowerPC32.
39848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39849         and lrintf multiarch implementations.
39850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39851         New file.
39852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39853         New file.
39854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39855         multiarch lrint for PowerPC32.
39856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39857         file: multiarch lrintf for PowerPC32.
39859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39860         and lroundf multiarch implementations.
39861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39862         New file.
39863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39864         New file.
39865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39866         New file.
39867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39868         multiarch lround for PowerPC32.
39869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39870         file: multiarch lroundf for PowerPC32.
39872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39873         copysign and copysignf multiarch implementations.
39874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39875         New file.
39876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39877         New file.
39878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39879         file: multiarch copysign for PowerPC32.
39880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39881         file: multiarch copysignf for PowerPC32.
39883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39884         and truncf multiarch implementations.
39885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39886         New file.
39887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39888         file.
39889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39890         multiarch trunc for PowerPC32.
39891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39892         New file.
39893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39894         New file.
39895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39896         multiarch truncf for PowerPC32.
39898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39899         and roundf multiarch implementations.
39900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39901         New file.
39902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39903         file.
39904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39905         multiarch round for PowerPC32.
39906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39907         New file.
39908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39909         New file.
39910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39911         multiarch roundf for PowerPC32.
39913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39914         and floorf multiarch implementations.
39915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39916         New file.
39917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39918         file.
39919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39920         multiarch floor for PowerPC32.
39921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39922         New file.
39923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39924         New file.
39925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39926         multiarch floorf for PowerPC32.
39928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39929         and ceilf multiarch implementations.
39930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39931         New file.
39932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39933         file.
39934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39935         multiarch ceil for PowerPC32.
39936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39937         New file.
39938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39939         file.
39940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39941         multiarch ceilf for PowerPC32.
39943         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39944         is defined.
39945         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39946         FINITEF is defined.
39947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39948         and finitef multiarch implementations.
39949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39950         New file.
39951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39952         file.
39953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39954         multiarch finite for PowerPC32.
39955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39956         New file.
39957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39958         file: multiarch finitef for PowerPC32.
39960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39961         and isinff multiarch implementations.
39962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39963         file.
39964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39965         file.
39966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39967         multiarch isinf for PowerPC32.
39968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39969         New file.
39970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39971         multiarch isinff for PowerPC32.
39973         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39974         alias when __isnan is defined.
39975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39976         and isnanf multiarch implementations.
39977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39978         file.
39979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39980         file.
39981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39982         file.
39983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39984         file.
39985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39986         multiarch isnan for PowerPC32.
39987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39988         New file.
39989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39990         New file.
39991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39992         multiarch isnanf for PowerPC32.
39994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39995         and sqrtf multiarch implementations.
39996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39997         file.
39998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39999         file.
40000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40001         multiarch sqrt for PowerPC32.
40002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40003         file.
40004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40005         file.
40006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40007         multiarch sqrtf for PowerPC32.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40010         and llroundf multiarch implementations.
40011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40012         New file.
40013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40014         New file.
40015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40016         New file.
40017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40018         file: multiarch llround for PowerPC32.
40019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40020         file: multiarch llroundf for PowerPC32.
40022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40023         multiarch PowerPC32 fpu implementations.
40024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40025         New file.
40026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40027         New file.
40028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40029         multiarch llrint for PowerPC32.
40030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40031         New file.
40032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40033         New file.
40034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40035         file.
40037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40039         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40040         file.
40041         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40042         file.
40043         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40044         file.
40045         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40046         multiarch wordcopy for PPC32.
40047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40048         wordcopy objects.
40049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40050         (__libc_ifunc_impl_list): Likewise.
40051         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40052         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40053         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40054         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40055         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40056         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40058         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40060         file.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40062         file.
40063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40064         file.
40065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40066         multiarch wcscpy for PPC32.
40067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40068         multiarch objects.
40069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40070         (__libc_ifunc_impl_list): Likewise.
40071         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40072         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40073         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40074         sysdeps/powerpc/power6/wcscpy.c.
40076         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40078         file.
40079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40080         file.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40082         file.
40083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40084         multiarch wcsrchr for PPC32.
40085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40086         multiarch objects.
40087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40088         (__libc_ifunc_impl_list): Likewise.
40089         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40090         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40091         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40092         sysdeps/powerpc/power6/wcsrchr.c.
40094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40095         file.
40096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40097         file.
40098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40100         multiarch wcschr for PPc32.
40101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40102         multiarch objects.
40103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40104         (__libc_ifunc_impl_list): Likewise.
40105         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40106         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40107         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40108         sysdeps/powerpc/power6/wcschr.c.
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40111         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40112         file.
40113         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40114         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40115         file: multiarch strchr for PPC32.
40116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40117         multiarch objects.
40118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40119         (__libc_ifunc_impl_list): Likewise.
40121         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40122         name.
40123         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40124         file.
40125         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40126         file.
40127         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40128         multiarch strchrnul for PPC32.
40129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40130         multiarch objects.
40131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40132         (__libc_ifunc_impl_list): Likewise.
40134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40135         file.
40136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40137         multiarch strncasecmp for PPC32.
40138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40139         file.
40140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40141         multiarch strncasecmp_l for PPC32.
40142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40143         strncasecmp multiarch objects.
40144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40145         (__libc_ifunc_impl_list): Likewise.
40147         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40148         file.
40149         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40150         multiarch strncasecmp for PPC32.
40151         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40152         New file.
40153         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40154         multiarch strcasecmp_l for PPC32.
40155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40156         multiarch objects.
40157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40158         (__libc_ifunc_impl_list): Likewise.
40160         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40161         file.
40162         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40163         file.
40164         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40165         multiarch strncmp for PPC32.
40166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40167         multiarch objects.
40168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40169         (__libc_ifunc_impl_list): Likewise.
40171         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40172         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40173         file.
40174         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40175         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40177         multiarch objects.
40178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40179         (__libc_ifunc_impl_list): Likewise.
40181         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40182         file.
40183         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40184         file.
40185         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40187         multiarch objects.
40188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40189         (__libc_ifunc_impl_list): Likewise.
40191         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40192         file.
40193         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40194         file.
40195         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40196         multiarch rawmemchr for PPC32.
40197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40198         multiarch objects.
40199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40200         (__libc_ifunc_impl_list): Likewise.
40202         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40203         file.
40204         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40205         file.
40206         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40207         file: memrchr multiarch for PPC32.
40208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40209         multiarch objects.
40210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40211         (__libc_ifunc_impl_list): Likewise.
40213         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40214         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40215         file.
40216         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40217         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40218         multiarch memchr for PPC32.
40219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40220         multiarch objects.
40221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40222         (__libc_ifunc_impl_list): Likewise.
40224         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40225         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40226         file.
40227         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40228         file.
40229         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40230         file: multiarch mempcpy for PPC32.
40231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40232         multiarch objects.
40233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40234         (__libc_ifunc_impl_list): Likewise.
40236         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40237         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40238         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40239         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40240         multiarch bzero for PPC32.
40241         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40242         file.
40243         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40244         file.
40245         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40246         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40247         file: multiarch memset for PPC32.
40248         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40249         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40250         memset multiarch objects.
40251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40252         (__libc_ifunc_impl_list): Likewise.
40254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40255         file.
40256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40258         memcmp for PPC32.
40259         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40261         multiarch objects.
40262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40263         (__libc_ifunc_impl_list): Likewise.
40265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40266         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40268         file.
40269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40270         file.
40271         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40272         file.
40273         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40274         multiarch memcpy for PPC32.
40275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40276         multiarch objects.
40277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40278         (__libc_ifunc_impl_list): Likewise.
40280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40281         support multiarch for POWER/PPC32.
40282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40283         Likewise.
40284         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40286         Implies file to make multiarch folder appers before the fpu and
40287         default folder for power4 configuration.
40289 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40291         * scripts/bench.pl: Append volatile keyword to type.
40293 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40295         * sysdeps/sh/sotruss-lib.c: New file.
40296         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40298 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40302 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40304         [BZ #6810]
40305         * math/w_tgamma.c: Include <errno.h>.
40306         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40307         * math/w_tgammaf.c: Include <errno.h>.
40308         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40309         * math/w_tgammal.c: Include <errno.h>.
40310         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40311         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40312         underflow.  Add more tgamma tests.
40313         * math/auto-libm-test-out: Regenerated.
40314         * sysdeps/i386/fpu/libm-test-ulps: Update.
40315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40317         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40318         sin, sinh, tan, tanh, tgamma, y0 and y1.
40319         * math/auto-libm-test-out: Regenerated.
40320         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40321         (TEST_COND_x86): Likewise.
40322         (M_E2l): Remove macro.
40323         (M_E3l): Likewise.
40324         (M_2_SQRT_PIl): Likewise.
40325         (M_SQRT_PIl): Likewise.
40326         (M_1_DIV_El): Likewise.
40327         (log_test_data): Use AUTO_TESTS_f_f.
40328         (log10_test_data): Likewise.
40329         (log1p_test_data): Likewise.
40330         (log2_test_data): Likewise.
40331         (sin_test_data): Likewise.
40332         (sin_tonearest_test_data): Likewise.
40333         (sin_towardzero_test_data): Likewise.
40334         (sin_downward_test_data): Likewise.
40335         (sin_upward_test_data): Likewise.
40336         (sinh_test_data): Likewise.
40337         (sinh_tonearest_test_data): Likewise.
40338         (sinh_towardzero_test_data): Likewise.
40339         (sinh_downward_test_data): Likewise.
40340         (sinh_upward_test_data): Likewise.
40341         (tan_test_data): Likewise.
40342         (tan_tonearest_test_data): Likewise.
40343         (tan_towardzero_test_data): Likewise.
40344         (tan_downward_test_data): Likewise.
40345         (tan_upward_test_data): Likewise.
40346         (tanh_test_data): Likewise.
40347         (tgamma_test_data): Likewise.
40348         (y0_test_data): Likewise.
40349         (y1_test_data): Likewise.
40350         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40351         (special_real_inputs): Add pi/4.
40352         * sysdeps/i386/fpu/libm-test-ulps: Update.
40353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40355 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40357         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40358         "longjmp_target" static probes.
40359         (__longjmp): Rename to __longjmp_symbol.
40360         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40361         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40362         on which longjmp to generate.
40363         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40365         probe.
40366         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40367         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40368         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40369         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40370         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40371         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40373         __longjmp_symbol based on which __longjmp to generate.
40374         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40375         probe.
40376         (setjmp): Rename to setjmp_symbol.
40377         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40378         (_setjmp): Rename to _setjmp_symbol.
40379         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40380         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40381         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40382         which setjmp to generate.
40383         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40384         "longjmp_target" static probes.
40386 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40388         * benchtests/README: Add note about output arguments.
40389         * benchtests/bench-sincos.c: Remove file.
40390         * benchtests/sincos-inputs: New file.
40391         * scripts/bench.pl: Identify output arguments and define
40392         static variables for them.
40394         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40396         [BZ #15941]
40397         * Makefile (INSTALL): Add install-plain.texi as the primary
40398         dependency.
40399         * manual/install-plain.texi: New file.
40400         * manual/install.texi: Include node directive only for
40401         non-plaintext output.
40403 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40405         * stdlib/longlong.h: Update from GCC.
40407         [BZ #6807]
40408         [BZ #15901]
40409         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40410         * math/w_j0f.c (y0f): Likewise.
40411         * math/w_j0l.c (__y0l): Likewise.
40412         * math/w_j1.c (y1): Likewise.
40413         * math/w_j1f.c (y1f): Likewise.
40414         * math/w_j1l.c (__y1l): Likewise.
40415         * math/w_jn.c (yn): Likewise.
40416         * math/w_jnf.c (ynf): Likewise.
40417         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40418         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40419         value for Bessel function domain errors outside _SVID_ mode.
40420         Adjust sign of return value for yn (negative integer, 0).
40421         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40422         by zero in return for negative x and set sign appropriately for
40423         negative n.
40424         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40425         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40426         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40427         expectations in error cases.
40428         (y1_test_data): Likewise.
40429         (yn_test_data): Likewise.
40430         * sysdeps/i386/fpu/libm-test-ulps: Update.
40431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40433 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40435         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40436         "64" to "64-v1".  Add "64-v2".
40437         (abi-64-options): Rename to ...
40438         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40439         (abi-64-condition): Rename to ...
40440         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40441         (abi-64-ld-soname): Rename to ...
40442         (abi-64-v1-ld-soname): ... this.
40443         (abi-64-v2-options): Define.
40444         (abi-64-v2-condition): Likewise.
40445         (abi-64-v2-ld-soname): Likewise.
40446         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40447         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40452 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40453             Alan Modra  <amodra@gmail.com>
40455         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40456         New versions for use with the ELFv2 ABI.
40457         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40458         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40459         declaration.
40460         (struct La_ppc64v2_retval): Likewise.
40461         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40462         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40463         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40464         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40465         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40466         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40467         Do not save or restore CR.
40468         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40469         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40470         return values for ELFv2 ABI.  Fix location of FPR return registers.
40471         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40472         updated values for _CALL_ELF == 2.
40473         (La_regs, La_retval, int_retval): Likewise.
40475 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40477         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40478         (FRAME_MIN_SIZE_PARM): Likewise.
40479         (FRAME_BACKCHAIN): Likewise.
40480         (FRAME_CR_SAVE): Likewise.
40481         (FRAME_LR_SAVE): Likewise.
40482         (FRAME_TOC_SAVE): Likewise.
40483         (FRAME_PARM_SAVE): Likewise.
40484         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40485         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40486         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40487         (call_mcount_parm_offset): New macro.
40488         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40489         (PROF): Use symbolic stack frame offsets.
40490         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40491         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40492         Redefine in terms of FRAME_MIN_SIZE.
40493         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40494         (_dl_profile_resolve): Likewise.  Update comment.
40495         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40496         symbols stack frame offsets.
40497         (__sigsetjmp): Likewise.
40498         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40499         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40500         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40501         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40504         (FRAME_BACKCHAIN): Remove.
40505         (FRAME_CR_SAVE): Likewise.
40506         (FRAME_LR_SAVE): Likewise.
40507         (FRAME_COMPILER_DW): Likewise.
40508         (FRAME_LINKER_DW): Likewise.
40509         (FRAME_TOC_SAVE): Likewise.
40510         (FRAME_PARM_SAVE): Likewise.
40511         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40512         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40513         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40515         (CHECK_SP): Use symbolic stack frame offsets.
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40517         zone" instead of caller's parameter save area for temp storage.
40518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40519         Likewise.  Also, use symbolic stack frame offsets.
40520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40521         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40522         our own stack frame instead of the caller's.
40523         (__socket): Use symbolic stack frame offsets.
40525 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40526             Alan Modra  <amodra@gmail.com>
40528         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40529         Define.
40530         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40531         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40532         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40533         New function.
40534         (elf_machine_fixup_plt): Call it.
40535         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40536         reloc arguments.
40537         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40538         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40539         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40540         r2 before calling target.
40542 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40543             Alan Modra  <amodra@gmail.com>
40545         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40546         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40547         versions of macros to support ELFv2 ABI.
40548         (LOCALENTRY): New macro.
40549         (ENTRY, EALIGN): Use it.
40550         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40551         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40552         fall through into ENTRY entry point.
40553         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40554         Only define if _CALL_ELF != 2.
40556         (elf_machine_matches_host): Verify ABI version matches.
40557         (RTLD_START): Use LOCALENTRY.
40558         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40559         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40560         (PLT_ENTRY_WORDS): New macro.
40561         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40562         (elf_machine_runtime_setup): Support ELFv2 ABI.
40563         (elf_machine_fixup_plt): Likewise.
40564         (elf_machine_plt_conflict): Likewise.
40565         (resolve_ifunc): Likewise.
40566         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40567         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40568         Likewise.
40569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40570         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40572         (makecontext): Support ELFv2 ABI.
40573         * elf/elf.h (EF_PPC64_ABI): Define.
40575 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40577         * sysdeps/powerpc/powerpc64/sysdep.h
40578         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40579         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40580         (ENTRY) [ASSEMBLER]: ... but instead here ...
40581         (EALIGN) [ASSEMBLER]: ... and here.
40582         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40583         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40584         (ENTRY_2) [!ASSEMBLER]: Use it.
40585         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40586         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40587         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40588         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40589         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40591         Use PPC64_LOAD_FUNCPTR.
40593         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40595 2013-12-04  Alan Modra  <amodra@gmail.com>
40597         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40598         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40599         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40600         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40603         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40604         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40605         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40606         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40607         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40609 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40612         (__makecontext): Fix incorrect CFI when backtracing out of
40613         context created via makecontext.
40614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40615         (__setcontext): Fix incorrect CFI during switch to new context.
40616         (__novec_setcontext): Likewise.
40618 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40620         [BZ #4772]
40621         * time/strptime_l.c (__strptime_internal): Allow modifiers
40622         in strptime.
40623         * time/tst-strptime.c (day_tests): Add testcase.
40625 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40627         * scripts/bench.pl: Skip over blank lines.
40629 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40631         [BZ #926]
40632         * manual/time.texi (Calendar Time): Clarify what timezone functions
40633         use.
40635 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40639 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40641         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40642         implementation.
40643         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40644         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40645         * debug/memset_chk.c (__memset_chk): Likewise.
40646         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40647         * debug/strncpy_chk.c: Likewise.
40649 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40651         [BZ #15268]
40652         [BZ #15425]
40653         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40654         (__ieee754_exp): For possibly underflowing results, check size of
40655         result and force underflow exception if required.
40656         * math/auto-libm-test-in: Add more tests of exp.
40657         * math/auto-libm-test-out: Regenerated.
40658         * sysdeps/i386/fpu/libm-test-ulps: Update.
40659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40661         [BZ #16283]
40662         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40663         * math/w_exp2f.c (__exp2f): Likewise.
40664         * math/w_exp2l.c (__exp2l): Likewise.
40665         * math/auto-libm-test-in: Do not allow missing errno on exp2
40666         underflow.
40667         * math/auto-libm-test-out: Regenerated.
40669 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40671         [BZ #16274]
40672         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40673         handle filename validation.
40674         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40675         (do_open): Delete.
40677 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40679         [BZ #6786]
40680         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40681         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40682         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40683         <float.h>.
40684         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40685         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40686         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40688         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40689         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40690         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40691         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40692         Add more erfc tests.
40693         * math/auto-libm-test-out: Regenerated.
40694         * sysdeps/i386/fpu/libm-test-ulps: Update.
40695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40697         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40698         exp2, expm1, j0 and j1.
40699         * math/auto-libm-test-out: Regenerated.
40700         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40701         (erfc_test_data): Likewise.
40702         (exp_test_data): Likewise.
40703         (exp_tonearest_test_data): Likewise.
40704         (exp_towardzero_test_data): Likewise.
40705         (exp_downward_test_data): Likewise.
40706         (exp_upward_test_data): Likewise.
40707         (exp10_test_data): Likewise.
40708         (exp2_test_data): Likewise.
40709         (expm1_test_data): Likewise.
40710         (j0_test_data): Likewise.
40711         (j1_test_data): Likewise.
40712         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40713         (input_flag_type): Add flag_xfail_rounding.
40714         (input_flags): Add xfail-rounding.
40715         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40716         (output_for_one_input_case): Handle flag_xfail_rounding.
40717         * sysdeps/i386/fpu/libm-test-ulps: Update.
40718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40722         [BZ #16289]
40723         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40724         division by 0.
40726 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40728         [BZ #16195]
40729         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40730         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40731         (STAP_PROBE0): New macro.
40732         (STAP_PROBE1): Likewise.
40733         (STAP_PROBE2): Likewise.
40734         (STAP_PROBE3): Likewise.
40735         (STAP_PROBE4): Likewise.
40737 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40739         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40741 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40743         * benchtests/Makefile (bench): Add sqrt.
40744         (LDLIBS-bench-sqrt): New.
40745         * benchtests/sqrt-input: New.
40747 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40749         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40750         (GAIH_EAI): Likewise.
40751         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40752         (gaih_inet): Likewise.
40753         (getaddrinfo): Don't use GAIH_EAI.
40755         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40756         (struct gaih): Remove definition.
40758 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40760         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40761         Use HERRNOP directly.
40763 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40767 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40769         * math/gen-auto-libm-tests.c (test_functions): Add more
40770         single-argument functions.
40771         (special_fill_pi_2): New function.
40772         (special_fill_minus_pi_2): Likewise.
40773         (special_fill_pi_6): Likewise.
40774         (special_fill_minus_pi_6): Likewise.
40775         (special_fill_pi_3): Likewise.
40776         (special_fill_2pi_3): Likewise.
40777         (special_fill_e): Likewise.
40778         (special_fill_1_e): Likewise.
40779         (special_fill_e_minus_1): Likewise.
40780         (special_real_inputs): Add more special inputs.
40781         (output_for_one_input_case): Do not require ERANGE on underflow to
40782         zero if round-to-nearest result does not underflow to zero, unless
40783         exact results required.
40784         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40785         atan, atanh, cbrt, cos and cosh.
40786         * math/auto-libm-test-out: Regenerated.
40787         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40788         (acos_tonearest_test_data): Likewise.
40789         (acos_towardzero_test_data): Likewise.
40790         (acos_downward_test_data): Likewise.
40791         (acos_upward_test_data): Likewise.
40792         (acosh_test_data): Likewise.
40793         (asin_test_data): Likewise.
40794         (asin_tonearest_test_data): Likewise.
40795         (asin_towardzero_test_data): Likewise.
40796         (asin_upward_test_data): Likewise.
40797         (asinh_test_data): Likewise.
40798         (atan_test_data): Likewise.
40799         (atanh_test_data): Likewise.
40800         (cbrt_test_data): Likewise.
40801         (cos_test_data): Likewise.
40802         (cos_tonearest_test_data): Likewise.
40803         (cos_towardzero_test_data): Likewise.
40804         (cos_downward_test_data): Likewise.
40805         (cos_upward_test_data): Likewise.
40806         (cosh_test_data): Likewise.
40807         (cosh_tonearest_test_data): Likewise.
40808         (cosh_towardzero_test_data): Likewise.
40809         (cosh_downward_test_data): Likewise.
40810         (cosh_upward_test_data): Likewise.
40811         * sysdeps/i386/fpu/libm-test-ulps: Update.
40812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40814 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40816         [BZ #6787]
40817         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40818         * math/w_exp10f.c (__exp10f): Likewise.
40819         * math/w_exp10l.c (__exp10l): Likewise.
40820         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40821         errno settings in existing tests.
40823         [BZ #14032]
40824         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40825         precision control set to double precision.
40826         * sysdeps/i386/fpu/w_sqrt.c: New file.
40827         * math/auto-libm-test-in: Add more tests.
40828         * math/auto-libm-test-out: Update.
40830         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40831         (sqrt_test_tonearest): New function.
40832         (sqrt_towardzero_test_data): New variable.
40833         (sqrt_test_towardzero): New function.
40834         (sqrt_downward_test_data): New variable.
40835         (sqrt_test_downward): New function.
40836         (sqrt_upward_test_data): New variable.
40837         (sqrt_test_upward): New function.
40838         (main): Call the new functions.
40840         * math/gen-auto-libm-tests.c: New file.
40841         * math/auto-libm-test-in: Likewise.
40842         * math/auto-libm-test-out: New generated file.
40843         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40844         variables.
40845         (%beautify): Add generated representations of zero.
40846         (top level): Set $auto_input and call parse_auto_input.
40847         (beautify): Remove trailing "f" from hex float constants.
40848         (parse_args): Handle XFAIL_TEST.
40849         (convert_condition): New function.
40850         (or_value): Likewise.
40851         (or_cond_value): Likewise.
40852         (generate_testfile): Handle AUTO_TESTS_* lines.
40853         (parse_auto_input): New function.
40854         * math/libm-test.inc (XFAIL_TEST): New macro.
40855         (ERRNO_UNCHANGED): Update value.
40856         (ERRNO_EDOM): Likewise.
40857         (ERRNO_ERANGE): Likewise.
40858         (IGNORE_RESULT): Likewise.
40859         (TEST_COND_flt_32): New macro.
40860         (TEST_COND_dbl_64): Likewise.
40861         (TEST_COND_ldbl_96_intel): Likewise.
40862         (TEST_COND_ldbl_96_m68k): Likewise.
40863         (TEST_COND_ldbl_128): Likewise.
40864         (TEST_COND_ldbl_128ibm): Likewise.
40865         (TEST_COND_long32): Likewise.
40866         (TEST_COND_long64): Likewise.
40867         (TEST_COND_before_rounding): Likewise.
40868         (TEST_COND_after_rounding): Likewise.
40869         (enable_test): Handle XFAIL_TEST flag.
40870         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40871         with finite results.
40872         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40873         auto-libm-test-out.
40875 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40876             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40878         [BZ #16214]
40879         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40880         __tls_get_addr_internal instead of __tls_get_offset in order to
40881         avoid GOT pointer dependency.  Make rtld export
40882         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40883         __tls_get_addr since we are a __tls_get_offset platform.
40884         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40885         GOT pointer being set up before.
40886         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40888 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40890         * manual/math.texi (Errors in Math Functions): Document accuracy
40891         goals.
40893         [BZ #15004]
40894         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40895         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40897         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40898         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40900         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40901         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40904         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40905         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40906         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40907         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40908         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40909         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40911         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40912         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40913         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40914         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40915         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40916         Likewise.
40917         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40918         Likewise.
40919         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40920         Likewise.
40921         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40922         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40923         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40924         atomic-feupdateenv and flt-rounds.
40925         * sysdeps/powerpc/nofpu/Versions (libc): Add
40926         __atomic_feholdexcept, __atomic_feclearexcept,
40927         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40928         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40929         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40930         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40931         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40932         here.
40933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40934         Update.
40936         * manual/arith.texi (FP Exceptions): Document that exceptions may
40937         not be raised when matherr is used.
40938         (Math Error Reporting): Document overflow in directed rounding
40939         modes.  Document that errno may not be set when finite values are
40940         returned on overflow.  Document intent to set errno on underflow
40941         only for underflow to zero.
40943         [BZ #16271]
40944         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40945         round-to-nearest then adjust result for other rounding modes.
40946         * include/fenv.h (fegetround): Use libm_hidden_proto.
40947         * math/fegetround.c (fegetround): Use libm_hidden_def.
40948         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40949         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40950         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40951         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40952         Likewise.
40953         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40954         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40955         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40956         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40958 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40960         [BZ #16077]
40961         * nss/Versions (libnss_files): Add
40962         _nss_files_gethostbyname3_r.
40963         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40964         New function.
40965         (HOST_DB_LOOKUP): Remove macro.
40966         (_nss_files_gethostbyname_r): Implement function without the
40967         HOST_DB_LOOKUP macro.
40968         (_nss_files_gethostbyname2_r): Likewise.
40970 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40972         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40974 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40976         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40977         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40978         warning.
40980 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40982         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40983         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40984         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40985         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40986         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40987         __fe_nomask_env_priv and attribute_hidden.
40988         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40989         (libc_feupdateenv_test_ppc): Likewise.
40990         (libc_feresetround_ppc): Likewise.
40991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40992         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40993         compat_symbol macro.
40994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40995         (__fe_nomask_env): Likewise.
40996         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40998 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41000         * string/Makefile: Remove ifunc tests.
41001         * string/test-string.h: Define TEST_IFUNC.
41002         * string/test-bcopy-ifunc.c: Remove.
41003         * string/test-bzero-ifunc.c: Likewise.
41004         * string/test-memccpy-ifunc.c: Likewise.
41005         * string/test-memchr-ifunc.c: Likewise.
41006         * string/test-memcmp-ifunc.c: Likewise.
41007         * string/test-memcpy-ifunc.c: Likewise.
41008         * string/test-memmem-ifunc.c: Likewise.
41009         * string/test-memmove-ifunc.c: Likewise.
41010         * string/test-mempcpy-ifunc.c: Likewise.
41011         * string/test-memrchr-ifunc.c: Likewise.
41012         * string/test-memset-ifunc.c: Likewise.
41013         * string/test-rawmemchr-ifunc.c: Likewise.
41014         * string/test-stpcpy-ifunc.c: Likewise.
41015         * string/test-stpncpy-ifunc.c: Likewise.
41016         * string/test-strcasecmp-ifunc.c: Likewise.
41017         * string/test-strcasestr-ifunc.c: Likewise.
41018         * string/test-strcat-ifunc.c: Likewise.
41019         * string/test-strchr-ifunc.c: Likewise.
41020         * string/test-strchrnul-ifunc.c: Likewise.
41021         * string/test-strcmp-ifunc.c: Likewise.
41022         * string/test-strcpy-ifunc.c: Likewise.
41023         * string/test-strcspn-ifunc.c: Likewise.
41024         * string/test-strlen-ifunc.c: Likewise.
41025         * string/test-strncasecmp-ifunc.c: Likewise.
41026         * string/test-strncat-ifunc.c: Likewise.
41027         * string/test-strncmp-ifunc.c: Likewise.
41028         * string/test-strncpy-ifunc.c: Likewise.
41029         * string/test-strnlen-ifunc.c: Likewise.
41030         * string/test-strpbrk-ifunc.c: Likewise.
41031         * string/test-strrchr-ifunc.c: Likewise.
41032         * string/test-strspn-ifunc.c: Likewise.
41033         * string/test-strstr-ifunc.c: Likewise.
41035 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41037         * benchtests/Makefile: Remove ifunc tests.
41038         * benchtests/bench-string.h: Define TEST_IFUNC.
41039         * benchtests/bench-bcopy-ifunc.c: Remove.
41040         * benchtests/bench-bzero-ifunc.c: Likewise.
41041         * benchtests/bench-memccpy-ifunc.c: Likewise.
41042         * benchtests/bench-memchr-ifunc.c: Likewise.
41043         * benchtests/bench-memcmp-ifunc.c: Likewise.
41044         * benchtests/bench-memcpy-ifunc.c: Likewise.
41045         * benchtests/bench-memmem-ifunc.c: Likewise.
41046         * benchtests/bench-memmove-ifunc.c: Likewise.
41047         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41048         * benchtests/bench-memrchr-ifunc.c: Likewise.
41049         * benchtests/bench-memset-ifunc.c: Likewise.
41050         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41051         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41052         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41053         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41054         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41055         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41056         * benchtests/bench-strcat-ifunc.c: Likewise.
41057         * benchtests/bench-strchr-ifunc.c: Likewise.
41058         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41059         * benchtests/bench-strcmp-ifunc.c: Likewise.
41060         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41061         * benchtests/bench-strcpy-ifunc.c: Likewise.
41062         * benchtests/bench-strcspn-ifunc.c: Likewise.
41063         * benchtests/bench-strlen-ifunc.c: Likewise.
41064         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41065         * benchtests/bench-strncat-ifunc.c: Likewise.
41066         * benchtests/bench-strncmp-ifunc.c: Likewise.
41067         * benchtests/bench-strncpy-ifunc.c: Likewise.
41068         * benchtests/bench-strnlen-ifunc.c: Likewise.
41069         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41070         * benchtests/bench-strrchr-ifunc.c: Likewise.
41071         * benchtests/bench-strsep-ifunc.c: Likewise.
41072         * benchtests/bench-strspn-ifunc.c: Likewise.
41073         * benchtests/bench-strstr-ifunc.c: Likewise.
41075 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41077         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41079 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41081         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41082         * rt/aio.h: Likewise.
41083         * sysdeps/gnu/bits/utmp.h: Likewise.
41084         * sysdeps/gnu/bits/utmpx.h: Likewise.
41085         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41086         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41087         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41088         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41089         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41090         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41091         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41092         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41093         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41094         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41095         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41096         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41097         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41099         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41100         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41101         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41102         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41103         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41104         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41105         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41106         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41107         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41108         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41109         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41110         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41111         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41112         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41113         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41114         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41115         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41116         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41117         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41118         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41119         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41120         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41121         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41122         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41123         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41124         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41125         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41126         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41128 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41130         [BZ #16245]
41131         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41132         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41134 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41136         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41137         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41138         Likewise.
41140 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41142         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41143         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41144         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41145         (__fesetround): Remove define.
41146         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41147         rounding and exceptions handling.
41148         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41150         (__fe_nomask_env): Likewise.
41151         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41152         __fegetround instead of fegetround.
41153         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41154         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41156 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41158         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41159         it's there.
41161         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41163 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41165         [BZ #11157]
41166         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41167         (encrypt_r): Likewise.
41168         * malloc/obstack.h (obstack_free): Likewise.
41169         * posix/unistd.h (encrypt): Likewise.
41171 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41173         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41174         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41175         DL_CALL_DT_FINI() that call the functions directly.
41176         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41177         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41178         * elf/dl-fini.c: Likewise.
41180 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41182         * malloc/hooks.c (memalign_check): Add alignment rounding.
41183         * malloc/malloc.c (_mid_memalign): New function.
41184         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41185         Implement by calling _mid_memalign.
41186         * manual/probes.texi (Memory Allocation Probes): Remove
41187         memory_valloc_retry and memory_pvalloc_retry.
41189 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41191         * locale/programs/locarchive.c (open_archive): Add const
41192         qualifier to ARCHIVEFNAME and copy default fname to
41193         DEFAULT_FNAME.
41195         [BZ #15601]
41196         * libio/tst-widetext.input: Rename Oriya to Odia.
41197         * locale/iso-639.def: Likewise.
41199         * manual/probes.texi (Mathematical Function Probes): Add
41200         documentation for sin, cos, asin and acos probes.
41201         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41202         (__sin32): Add slowasin probe.
41203         (__cos32): Add slowacos probe.
41204         (__mpsin): Add slowsin probe.
41205         (__mpcos): Add slowcos probe.
41207 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41209         [BZ #15483]
41210         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41211         thread-local __sim_exceptions_thread and global
41212         __sim_exceptions_global.
41213         (__sim_disabled_exceptions): Change to thread-local
41214         __sim_disabled_exceptions_thread and global
41215         __sim_disabled_exceptions_global.
41216         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41217         and global __sim_round_mode_global.
41218         (__simulate_exceptions): Use thread-local floating-point state and
41219         set global state from it as needed.
41220         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41221         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41222         __sim_round_mode_thread.
41223         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41224         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41225         and global __sim_exceptions_global.
41226         (__sim_disabled_exceptions): Change to thread-local
41227         __sim_disabled_exceptions_thread and global
41228         __sim_disabled_exceptions_global.
41229         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41230         and global __sim_round_mode_global.
41231         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41232         (SIM_SET_GLOBAL): Likewise.
41233         * sysdeps/powerpc/soft-fp/sfp-machine.h
41234         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41235         __sim_round_mode_thread.
41236         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41237         __sim_disabled_exceptions_thread.
41238         (__sim_exceptions): Change to __sim_exceptions_thread.
41239         (__sim_disabled_exceptions): Change to
41240         __sim_disabled_exceptions_thread.
41241         (__sim_round_mode): Change to __sim_round_mode_thread.
41242         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41243         thread-local floating-point state and set global state from it as
41244         needed.
41245         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41246         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41247         (__sim_disabled_exceptions): Remove extern declaration.
41248         (feenableexcept): Use thread-local floating-point state and set
41249         global state from it as needed.
41250         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41251         extern declaration.
41252         (__sim_disabled_exceptions): Likewise.
41253         (__sim_round_mode): Likewise.
41254         (__fegetenv): Use thread-local floating-point state.
41255         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41256         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41257         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41258         floating-point state and set global state from it as needed.
41259         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41260         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41261         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41262         Likewise.
41263         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41264         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41265         Likewise.
41266         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41267         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41268         Use __sim_round_mode_thread.
41269         * math/test-fenv-tls.c: New file.
41270         * math/Makefile (tests): Add test-fenv-tls.
41271         ($(objpfx)test-fenv-tls): Depend on
41272         $(common-objpfx)nptl/libpthread.so.
41274 2013-11-19  Andreas Schwab  <schwab@suse.de>
41276         * locale/programs/locale.c (show_info): Decode wordarray elements.
41277         * locale/categories.def (LC_MONETARY): Add element for
41278         _NL_MONETARY_CRNCYSTR.
41279         * locale/C-monetary.c (conversion_rate): New variable.
41280         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41281         element.
41283 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41285         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41286         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41288 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41290         * elf/Makefile (tst-auxv): New test.
41291         * elf/tst-auxv.c: New
41292         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41294 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41296         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41297         (hidden_proto): Caller changed.
41298         (hidden_tls_proto): New macro.
41299         (libc_hidden_tls_proto): Likewise.
41300         (rtld_hidden_tls_proto): Likewise.
41301         (libm_hidden_tls_proto): Likewise.
41302         (libresolv_hidden_tls_proto): Likewise.
41303         (librt_hidden_tls_proto): Likewise.
41304         (libdl_hidden_tls_proto): Likewise.
41305         (libnss_files_hidden_tls_proto): Likewise.
41306         (libnsl_hidden_tls_proto): Likewise.
41307         (libnss_nisplus_hidden_tls_proto): Likewise.
41308         (libutil_hidden_tls_proto): Likewise.
41310 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41312         [BZ #10253]
41313         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41314         (decompose_rpath): Defer expansion to fillin_rpath.
41315         (_dl_init_paths): Pass linkmap to fillin_rpath.
41317 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41319         * benchtests/Makefile: Add strsep.
41320         * benchtests/bench-strsep.c: New file: strsep benchtest.
41321         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41323 2013-11-18  Andreas Schwab  <schwab@suse.de>
41325         * locale/programs/locale.c (show_info) [case byte]: Check for
41326         '\377' instead of '\177'.
41327         * locale/C-monetary.c (not_available): Always use "\377".
41328         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41329         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41330         detect unavailable sign_posn locale elements.
41331         * locale/localeconv.c (__localeconv): For grouping and
41332         mon_grouping handle "\177" and "\377" like no grouping.
41333         (INT_ELEM): New macro.  Use it to set all numeric members.
41334         * locale/programs/ld-monetary.c (monetary_read)
41335         <tok_mon_grouping>: Normalize single -1 to the empty string.
41336         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41337         Likewise.
41339 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41341         [BZ #16055]
41342         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41343         when we match (nil).
41344         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41346 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41348         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41349         (NO_TEST_INLINE): Update value.
41350         (ERRNO_UNCHANGED): Likewise.
41351         (ERRNO_EDOM): Likewise.
41352         (ERRNO_ERANGE): Likewise.
41353         (IGNORE_RESULT): Likewise.
41354         (check_float_internal): Check signs of NaN results if
41355         TEST_NAN_SIGN used.
41356         (check_complex): Pass TEST_NAN_SIGN flag through to second
41357         check_float_internal call.
41358         (copysign_test_data): Add tests with quiet NaNs as second
41359         argument.  Use TEST_NAN_SIGN.
41360         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41361         TEST_NAN_SIGN.
41362         (signbit_test_data): Add tests of quiet NaN argument.
41363         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41365         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41366         $ignore_result.
41367         (parse_args): Handle function results specified as IGNORE.
41368         * math/libm-test.inc (IGNORE_RESULT): New macro.
41369         (check_float_internal): Do not check numerical result if flag
41370         IGNORE_RESULT set.
41371         (check_complex): Pass through IGNORE_RESULT to second
41372         check_float_internal call.
41373         (check_int): Do not check numerical result if flag IGNORE_RESULT
41374         set.
41375         (check_long): Likewise.
41376         (check_bool): Likewise.
41377         (check_longlong): Likewise.
41378         (lrint_test_data): Add tests of infinite and NaN arguments.
41379         (lrint_tonearest_test_data): Likewise.
41380         (lrint_towardzero_test_data): Likewise.
41381         (lrint_downward_test_data): Likewise.
41382         (lrint_upward_test_data): Likewise.
41383         (llrint_test_data): Likewise.
41384         (llrint_tonearest_test_data): Likewise.
41385         (llrint_towardzero_test_data): Likewise.
41386         (llrint_downward_test_data): Likewise.
41387         (llrint_upward_test_data): Likewise.
41388         (lround_test_data): Likewise.
41389         (llround_test_data): Likewise.
41391         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41392         (ERRNO_UNCHANGED): Update value.
41393         (ERRNO_EDOM): Likewise.
41394         (ERRNO_ERANGE): Likewise.
41395         (NO_TEST_INLINE_FLOAT): New macro.
41396         (NO_TEST_INLINE_DOUBLE): Likewise.
41397         (enable_test): New function.
41398         (RUN_TEST_f_f): Check enable_test before running test.
41399         (RUN_TEST_2_f): Likewise.
41400         (RUN_TEST_fff_f): Likewise.
41401         (RUN_TEST_c_f): Likewise.
41402         (RUN_TEST_f_f1): Likewise.
41403         (RUN_TEST_fF_f1): Likewise.
41404         (RUN_TEST_fI_f1): Likewise.
41405         (RUN_TEST_ffI_f1): Likewise.
41406         (RUN_TEST_c_c): Likewise.
41407         (RUN_TEST_cc_c): Likewise.
41408         (RUN_TEST_f_i): Likewise.
41409         (RUN_TEST_f_i_tg): Likewise.
41410         (RUN_TEST_ff_i_tg): Likewise.
41411         (RUN_TEST_f_b): Likewise.
41412         (RUN_TEST_f_b_tg): Likewise.
41413         (RUN_TEST_f_l): Likewise.
41414         (RUN_TEST_f_L): Likewise.
41415         (RUN_TEST_fFF_11): Likewise.
41416         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41417         conditionals.
41418         (cosh_test_data): Likewise.
41419         (exp_test_data): Likewise.
41420         (expm1_test_data): Likewise.
41421         (hypot_test_data): Likewise.
41422         (pow_test_data): Likewise.
41423         (sinh_test_data): Likewise.
41424         (tanh_test_data): Likewise.
41425         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41426         flags argument.
41428         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41429         tests with quiet NaN input and output.
41430         (acosh_test_data): Likewise.
41431         (asin_test_data): Likewise.
41432         (asinh_test_data): Likewise.
41433         (atan_test_data): Likewise.
41434         (atanh_test_data): Likewise.
41435         (atan2_test_data): Likewise.
41436         (cbrt_test_data): Likewise.
41437         (cos_test_data): Likewise.
41438         (cosh_test_data): Likewise.
41439         (erf_test_data): Likewise.
41440         (erfc_test_data): Likewise.
41441         (exp_test_data): Likewise.
41442         (exp10_test_data): Likewise.
41443         (exp2_test_data): Likewise.
41444         (expm1_test_data): Likewise.
41445         (hypot_test_data): Likewise.
41446         (j0_test_data): Likewise.
41447         (j1_test_data): Likewise.
41448         (jn_test_data): Likewise.
41449         (lgamma_test_data): Likewise.
41450         (log_test_data): Likewise.
41451         (log10_test_data): Likewise.
41452         (log1p_test_data): Likewise.
41453         (log2_test_data): Likewise.
41454         (pow_test_data): Likewise.
41455         (scalb_test_data): Likewise.
41456         (sin_test_data): Likewise.
41457         (sincos_test_data): Likewise.
41458         (sinh_test_data): Likewise.
41459         (tan_test_data): Likewise.
41460         (tanh_test_data): Likewise.
41461         (tgamma_test_data): Likewise.
41462         (y0_test_data): Likewise.
41463         (y1_test_data): Likewise.
41464         (yn_test_data): Likewise.
41466         [BZ #16167]
41467         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41468         argument being NaN and avoid computations with second argument in
41469         that case.
41470         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41471         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41472         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41474 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41476         * locale/iso-639.def: Add Chitwani Tharu (the).
41478 2013-11-14  Andreas Schwab  <schwab@suse.de>
41480         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41481         word instead of empty string.
41483 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41486         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41488         (__fe_nomask_env): Likewise.
41490 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41492         * benchtests/bench-timing.h: Include time.h.
41494 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41496         [BZ #15997]
41497         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41498         to 3.4.0 for x32.
41499         * sysdeps/unix/sysv/linux/configure: Regenerated.
41501 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41503         [BZ #16151]
41504         * stdlib/strtod_l.c (round_and_return): Do not consider
41505         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41506         exponent one less than half the least subnormal exponent.
41507         * stdlib/test-strtod-round-data: Add more tests.
41508         * stdlib/tst-strtod-round.c (tests): Regenerated.
41510 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41512         [BZ #14143]
41513         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41514         (__fe_mask_env): Likewise.
41515         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41516         libm_hidden_proto and add function prototype.
41517         (__fe_mask_env): Add function prototype.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41519         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41521         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41523         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41525 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41527         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41528         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41530 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41532         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41533         of htab_find_slot().
41535 2013-11-11  David S. Miller  <davem@davemloft.net>
41537         [BZ #16150]
41538         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41539         symbol in the non-vis3 case in static builds.
41540         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41541         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41542         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41543         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41545 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41547         [BZ #387]
41548         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41549         it is empty.
41551 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41553         * benchtests/Makefile: Add bench-strtod.
41554         * benchtests/bench-strtod.c: New file: strtod benchtest
41556 2013-11-11  Andreas Schwab  <schwab@suse.de>
41558         [BZ #16153]
41559         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41560         terminating NUL in key length.
41562 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41564         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41565         Add artificial ODP entry for vDSO symbol for PPC64.
41566         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41567         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41569 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41571         [BZ #15374]
41572         * nss/getent.c (services_keys): Recognize services starting with digit.
41574 2013-11-06  David S. Miller  <davem@davemloft.net>
41576         [BZ #15985]
41577         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41578         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41580 2013-11-06  Will Newton  <will.newton@linaro.org>
41582         * manual/memory.texi (Malloc Examples): Remove register
41583         keyword from examples.
41585 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41587         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41589 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41591         [BZ #6981]
41592         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41593         depending on [__GCC_IEC_559 > 0].
41594         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41595         depending on [__GCC_IEC_559_COMPLEX > 0].
41597 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41599         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41600         to iso-639.def.
41602 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41604         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41606 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41608         [BZ #16112]
41609         * malloc/malloc (malloc_info): Do not handle first bin as
41610         special case.
41612 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41614         * locale/iso-639.def: Add Central Nahuatl (nhn).
41616 2013-11-01  Bruno Haible  <bruno@clisp.org>
41618         [BZ #7003]
41619         * manual/math.texi (BSD Random): Specify range upper bound as
41620         in POSIX.
41622 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41624         * locale/iso-639.def: Add Meadow Mari (mhr).
41626 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41628         [BZ #14752], [BZ #15763]
41629         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41630         Validate name.
41631         * rt/tst_shm.c: Add test for escaping directory.
41633 2013-10-31  Andreas Schwab  <schwab@suse.de>
41635         [BZ #15917]
41636         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41637         followed by 'x' as part of digit sequence.
41638         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41640 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41642         [BZ #16037]
41643         * configure.ac: allow GNU Make 4.0 and greater.
41644         * configure: Regenerated.
41646 2013-10-30  Will Newton  <will.newton@linaro.org>
41648         [BZ #16038]
41649         * malloc/hooks.c (memalign_check): Limit alignment to the
41650         maximum representable power of two.
41651         * malloc/malloc.c (__libc_memalign): Likewise.
41652         * malloc/tst-memalign.c (do_test): Add test for very
41653         large alignment values.
41654         * malloc/tst-posix_memalign.c (do_test): Likewise.
41656 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41658         [BZ #11087]
41659         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41660         (munmap_chunk): Likewise.
41661         (mremap_chunk): Likewise.
41663 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41665         [BZ #15799]
41666         * stdlib/div.c (div): Remove obsolete code.
41667         * stdlib/ldiv.c (ldiv): Likewise.
41668         * stdlib/lldiv.c (lldiv): Likewise.
41670 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41672         [BZ #16071]
41673         * nss/nss_files/files-XXX.c (get_contents_ret): New
41674         enumerator.
41675         (get_contents): New function.
41676         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41678 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41680         * configure.in: Moved to ...
41681         * configure.ac: ... here. Change reference to configure.in
41682         to configure.ac.
41683         * sysdeps/arm/preconfigure.ac: ... here.
41684         configure.in to configure.ac.
41685         * sysdeps/gnu/configure.in: Moved to ...
41686         * sysdeps/gnu/configure.ac: ... here.
41687         * sysdeps/i386/configure.in: Moved to ...
41688         * sysdeps/i386/configure.ac: ... here.
41689         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41690         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41691         * sysdeps/mach/configure.in: Moved to ...
41692         * sysdeps/mach/configure.ac: ... here.
41693         * sysdeps/mach/hurd/configure.in: Moved to ...
41694         * sysdeps/mach/hurd/configure.ac: ... here.
41695         * sysdeps/powerpc/configure.in: Moved to ...
41696         * sysdeps/powerpc/configure.ac: ... here.
41697         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41698         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41699         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41700         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41701         * sysdeps/s390/s390-32/configure.in: Moved to ...
41702         * sysdeps/s390/s390-32/configure.ac: ... here.
41703         * sysdeps/s390/s390-64/configure.in: Moved to ...
41704         * sysdeps/s390/s390-64/configure.ac: ... here.
41705         * sysdeps/sh/configure.in: Moved to ...
41706         * sysdeps/sh/configure.ac: ... here.
41707         * sysdeps/sparc/configure.in: Moved to ...
41708         * sysdeps/sparc/configure.ac: ... here.
41709         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41710         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41711         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41712         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41713         * sysdeps/x86_64/configure.in: Moved to ...
41714         * sysdeps/x86_64/configure.ac: ... here.
41715         * sysdeps/x86_64/preconfigure.in: Moved to ...
41716         * sysdeps/x86_64/preconfigure.ac: ... here.
41717         * aclocal.m4: Change reference to configure.in to configure.ac.
41718         * config.h.in: Likewise.
41719         * manual/install.texi: Likewise.
41720         * manual/maint.texi: Likewise.
41721         * Makefile: Likewise.
41722         * malloc/Makefile: Likewise.
41723         * nscd/Makefile: Likewise.
41724         * Makeconfig: Change reference to configure.in and
41725         preconfigure.in to configure.ac and preconfigure.ac
41726         respectively.
41727         * INSTALL: Regenerated.
41728         * configure: Likewise.
41729         * sysdeps/gnu/configure: Likewise.
41730         * sysdeps/i386/configure: Likewise.
41731         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41732         * sysdeps/mach/configure: Likewise.
41733         * sysdeps/mach/hurd/configure: Likewise.
41734         * sysdeps/powerpc/configure: Likewise.
41735         * sysdeps/powerpc/powerpc32/configure: Likewise.
41736         * sysdeps/powerpc/powerpc64/configure: Likewise.
41737         * sysdeps/s390/s390-32/configure: Likewise.
41738         * sysdeps/s390/s390-64/configure: Likewise.
41739         * sysdeps/sh/configure: Likewise.
41740         * sysdeps/sparc/configure: Likewise.
41741         * sysdeps/unix/sysv/linux/configure: Likewise.
41742         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41743         * sysdeps/x86_64/configure: Likewise.
41744         * sysdeps/x86_64/preconfigure: Likewise.
41746 2013-10-29  Andreas Schwab  <schwab@suse.de>
41748         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41750 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41752         * benchtests/pow-inputs: Add new inputs.
41754         * benchtests/exp-inputs: Add new inputs.
41756         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41757         conditional check for return value.
41758         (__cos32): Likewise.
41760 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41762         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41763         to provide a boost for large inputs with word alignment.
41764         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41765         implementation based on optimized PPC64 strcpy.
41766         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41767         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41768         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41769         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41771 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41773         [BZ #2801]
41774         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41776 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41778         [BZ #14876]
41779         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41780         * time/tst-strptime.c (day_tests): Add testcase.
41782 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41784         [BZ #14029]
41785         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41787 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41789         [BZ #16074]
41790         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41791         MAP_FAILED on error.
41793 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41795         [BZ #16072]
41796         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41797         heap for large requests.
41799 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41801         [BZ #9954]
41802         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41803         result if the result has no associated interface.
41804         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41805         interface for all 127.X.Y.Z addresses.
41807 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41809         * locale/iso-639.def: Add Ligurian (lij)
41811 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41813         [BZ #15825]
41814         * sunrpc/rpc_main.c: Document rpcgen -5.
41816 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41818         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41820 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41822         [BZ #10278]
41823         * posix/glob.c: Match only directories when trailing slash is present.
41824         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41825         (main): Add testcase.
41827 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41829         [BZ #15670]
41830         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41832 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41834         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41835         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41836         AUTH_DES and cindex for FIPS 140-2.
41837         (DES Encryption): Add cindex FIPS 46-3.
41839         * locale/locarchive.h (struct locarhandle): Add fname.
41840         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41841         if an optional argument was specified to --list-archive,
41842         otherwise NULL.
41843         * locale/programs/locarchive.c (show_archive_content): Take new
41844         argument fname and pass it via ah.fname to open_archive.
41845         * locale/programs/localedef.h: Update decl.
41846         (open_archive): If AH->fname is non-null, open that file
41847         rather than the default file name, and don't ignore ENOENT.
41848         (create_archive): Set AH.fname to NULL.
41849         (delete_locales_from_archive): Likewise.
41850         (add_locales_to_archive): Likewise.
41851         * locale/programs/locfile.c (write_all_categories): Likewise.
41853 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41854             Aldy Hernandez  <aldyh@redhat.com>
41856         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41857         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41858         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41859         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41860         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41861         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41864         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41865         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41866         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41867         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41868         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41869         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41870         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41871         Likewise.
41872         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41873         Likewise.
41874         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41875         Likewise.
41876         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41877         Likewise.
41878         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41879         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41880         Likewise.
41881         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41882         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41883         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41884         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41885         Likewise.
41886         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41887         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41888         * sysdeps/powerpc/preconfigure: Likewise.
41889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41890         Likewise.
41891         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41892         Replace contents of file by #include of <fenv_libc.h>.
41893         * sysdeps/powerpc/soft-fp/sfp-machine.h
41894         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41895         and <sys/prctl.h>.
41896         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41902         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41903         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41909         Allow copysignl PLT reference to be missing.
41911 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41912             Joseph Myers  <joseph@codesourcery.com
41914         [BZ #15948]
41915         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41916         single character.
41917         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41919 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41921         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41922         * elf/tst-tls1.c: Likewise.
41923         * elf/tst-tls10.h: Likewise.
41924         * elf/tst-tls14.c: Likewise.
41925         * elf/tst-tls2.c: Likewise.
41926         * elf/tst-tls3.c: Likewise.
41927         * elf/tst-tls4.c: Likewise.
41928         * elf/tst-tls5.c: Likewise.
41929         * elf/tst-tls6.c: Likewise.
41930         * elf/tst-tls7.c: Likewise.
41931         * elf/tst-tls8.c: Likewise.
41932         * elf/tst-tls9.c: Likewise.
41933         * elf/tst-tlsmod1.c: Likewise.
41934         * elf/tst-tlsmod13.c: Likewise.
41935         * elf/tst-tlsmod13a.c: Likewise.
41936         * elf/tst-tlsmod14a.c: Likewise.
41937         * elf/tst-tlsmod16a.c: Likewise.
41938         * elf/tst-tlsmod16b.c: Likewise.
41939         * elf/tst-tlsmod2.c: Likewise.
41940         * elf/tst-tlsmod3.c: Likewise.
41941         * elf/tst-tlsmod4.c: Likewise.
41942         * elf/tst-tlsmod5.c: Likewise.
41943         * elf/tst-tlsmod6.c: Likewise.
41945 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41947         [BZ #12486]
41948         * malloc/malloc.c: remove checks for statistics.
41950 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41952         [BZ #15277]
41953         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41954         * inet/tst-network.c: Add testcase.
41956 2013-10-17  Andreas Schwab  <schwab@suse.de>
41958         [BZ #15218]
41959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41960         to determine canonical name.
41962 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41964         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41965         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41966         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41967         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41969         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41970         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41971         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41972         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41973         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41974         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41982         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41983         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41984         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41985         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41986         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41987         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41988         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41989         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41990         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41991         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41992         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41993         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41994         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41995         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41996         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41997         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41998         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41999         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42000         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42001         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42002         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42003         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42004         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42005         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42006         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42007         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42008         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42009         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42010         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42011         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42012         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42013         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42014         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42015         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42016         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42017         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42018         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42019         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42020         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42021         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42023 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42025         [BZ #16041]
42026         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42027         make result into a quiet NaN.
42029 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42031         * soft-fp/adddf3.c: Fix horizontal whitespace.
42032         * soft-fp/addsf3.c: Likewise.
42033         * soft-fp/addtf3.c: Likewise.
42034         * soft-fp/divdf3.c: Likewise.
42035         * soft-fp/divsf3.c: Likewise.
42036         * soft-fp/divtf3.c: Likewise.
42037         * soft-fp/double.h: Likewise.
42038         * soft-fp/eqdf2.c: Likewise.
42039         * soft-fp/eqsf2.c: Likewise.
42040         * soft-fp/eqtf2.c: Likewise.
42041         * soft-fp/extenddftf2.c: Likewise.
42042         * soft-fp/extended.h: Likewise.
42043         * soft-fp/extendsfdf2.c: Likewise.
42044         * soft-fp/extendsftf2.c: Likewise.
42045         * soft-fp/extendxftf2.c: Likewise.
42046         * soft-fp/fixdfdi.c: Likewise.
42047         * soft-fp/fixdfsi.c: Likewise.
42048         * soft-fp/fixdfti.c: Likewise.
42049         * soft-fp/fixsfdi.c: Likewise.
42050         * soft-fp/fixsfsi.c: Likewise.
42051         * soft-fp/fixsfti.c: Likewise.
42052         * soft-fp/fixtfdi.c: Likewise.
42053         * soft-fp/fixtfsi.c: Likewise.
42054         * soft-fp/fixtfti.c: Likewise.
42055         * soft-fp/fixunsdfdi.c: Likewise.
42056         * soft-fp/fixunsdfsi.c: Likewise.
42057         * soft-fp/fixunsdfti.c: Likewise.
42058         * soft-fp/fixunssfdi.c: Likewise.
42059         * soft-fp/fixunssfsi.c: Likewise.
42060         * soft-fp/fixunssfti.c: Likewise.
42061         * soft-fp/fixunstfdi.c: Likewise.
42062         * soft-fp/fixunstfsi.c: Likewise.
42063         * soft-fp/fixunstfti.c: Likewise.
42064         * soft-fp/floatdidf.c: Likewise.
42065         * soft-fp/floatdisf.c: Likewise.
42066         * soft-fp/floatditf.c: Likewise.
42067         * soft-fp/floatsidf.c: Likewise.
42068         * soft-fp/floatsisf.c: Likewise.
42069         * soft-fp/floatsitf.c: Likewise.
42070         * soft-fp/floattidf.c: Likewise.
42071         * soft-fp/floattisf.c: Likewise.
42072         * soft-fp/floattitf.c: Likewise.
42073         * soft-fp/floatundidf.c: Likewise.
42074         * soft-fp/floatundisf.c: Likewise.
42075         * soft-fp/floatunditf.c: Likewise.
42076         * soft-fp/floatunsidf.c: Likewise.
42077         * soft-fp/floatunsisf.c: Likewise.
42078         * soft-fp/floatunsitf.c: Likewise.
42079         * soft-fp/floatuntidf.c: Likewise.
42080         * soft-fp/floatuntisf.c: Likewise.
42081         * soft-fp/floatuntitf.c: Likewise.
42082         * soft-fp/fmadf4.c: Likewise.
42083         * soft-fp/fmasf4.c: Likewise.
42084         * soft-fp/fmatf4.c: Likewise.
42085         * soft-fp/gedf2.c: Likewise.
42086         * soft-fp/gesf2.c: Likewise.
42087         * soft-fp/getf2.c: Likewise.
42088         * soft-fp/ledf2.c: Likewise.
42089         * soft-fp/lesf2.c: Likewise.
42090         * soft-fp/letf2.c: Likewise.
42091         * soft-fp/muldf3.c: Likewise.
42092         * soft-fp/mulsf3.c: Likewise.
42093         * soft-fp/multf3.c: Likewise.
42094         * soft-fp/negdf2.c: Likewise.
42095         * soft-fp/negsf2.c: Likewise.
42096         * soft-fp/negtf2.c: Likewise.
42097         * soft-fp/op-1.h: Likewise.
42098         * soft-fp/op-2.h: Likewise.
42099         * soft-fp/op-4.h: Likewise.
42100         * soft-fp/op-8.h: Likewise.
42101         * soft-fp/op-common.h: Likewise.
42102         * soft-fp/quad.h: Likewise.
42103         * soft-fp/single.h: Likewise.
42104         * soft-fp/soft-fp.h: Likewise.
42105         * soft-fp/sqrtdf2.c: Likewise.
42106         * soft-fp/sqrtsf2.c: Likewise.
42107         * soft-fp/sqrttf2.c: Likewise.
42108         * soft-fp/subdf3.c: Likewise.
42109         * soft-fp/subsf3.c: Likewise.
42110         * soft-fp/subtf3.c: Likewise.
42111         * soft-fp/truncdfsf2.c: Likewise.
42112         * soft-fp/trunctfdf2.c: Likewise.
42113         * soft-fp/trunctfsf2.c: Likewise.
42114         * soft-fp/trunctfxf2.c: Likewise.
42115         * soft-fp/unorddf2.c: Likewise.
42116         * soft-fp/unordsf2.c: Likewise.
42117         * soft-fp/unordtf2.c: Likewise.
42119 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42121         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42122         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42124 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42126         * elf/dl-libc.c: Clear initfini list after freeing.
42128 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42130         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42131         * soft-fp/addsf3.c: Likewise.
42132         * soft-fp/addtf3.c: Likewise.
42133         * soft-fp/divdf3.c: Likewise.
42134         * soft-fp/divsf3.c: Likewise.
42135         * soft-fp/divtf3.c: Likewise.
42136         * soft-fp/double.h: Likewise.
42137         * soft-fp/eqdf2.c: Likewise.
42138         * soft-fp/eqsf2.c: Likewise.
42139         * soft-fp/eqtf2.c: Likewise.
42140         * soft-fp/extenddftf2.c: Likewise.
42141         * soft-fp/extended.h: Likewise.
42142         * soft-fp/extendsfdf2.c: Likewise.
42143         * soft-fp/extendsftf2.c: Likewise.
42144         * soft-fp/extendxftf2.c: Likewise.
42145         * soft-fp/fixdfdi.c: Likewise.
42146         * soft-fp/fixdfsi.c: Likewise.
42147         * soft-fp/fixdfti.c: Likewise.
42148         * soft-fp/fixsfdi.c: Likewise.
42149         * soft-fp/fixsfsi.c: Likewise.
42150         * soft-fp/fixsfti.c: Likewise.
42151         * soft-fp/fixtfdi.c: Likewise.
42152         * soft-fp/fixtfsi.c: Likewise.
42153         * soft-fp/fixtfti.c: Likewise.
42154         * soft-fp/fixunsdfdi.c: Likewise.
42155         * soft-fp/fixunsdfsi.c: Likewise.
42156         * soft-fp/fixunsdfti.c: Likewise.
42157         * soft-fp/fixunssfdi.c: Likewise.
42158         * soft-fp/fixunssfsi.c: Likewise.
42159         * soft-fp/fixunssfti.c: Likewise.
42160         * soft-fp/fixunstfdi.c: Likewise.
42161         * soft-fp/fixunstfsi.c: Likewise.
42162         * soft-fp/fixunstfti.c: Likewise.
42163         * soft-fp/floatdidf.c: Likewise.
42164         * soft-fp/floatdisf.c: Likewise.
42165         * soft-fp/floatditf.c: Likewise.
42166         * soft-fp/floatsidf.c: Likewise.
42167         * soft-fp/floatsisf.c: Likewise.
42168         * soft-fp/floatsitf.c: Likewise.
42169         * soft-fp/floattidf.c: Likewise.
42170         * soft-fp/floattisf.c: Likewise.
42171         * soft-fp/floattitf.c: Likewise.
42172         * soft-fp/floatundidf.c: Likewise.
42173         * soft-fp/floatundisf.c: Likewise.
42174         * soft-fp/floatunsidf.c: Likewise.
42175         * soft-fp/floatunsisf.c: Likewise.
42176         * soft-fp/floatuntidf.c: Likewise.
42177         * soft-fp/floatuntisf.c: Likewise.
42178         * soft-fp/floatuntitf.c: Likewise.
42179         * soft-fp/fmadf4.c: Likewise.
42180         * soft-fp/fmasf4.c: Likewise.
42181         * soft-fp/fmatf4.c: Likewise.
42182         * soft-fp/gedf2.c: Likewise.
42183         * soft-fp/gesf2.c: Likewise.
42184         * soft-fp/getf2.c: Likewise.
42185         * soft-fp/ledf2.c: Likewise.
42186         * soft-fp/lesf2.c: Likewise.
42187         * soft-fp/letf2.c: Likewise.
42188         * soft-fp/muldf3.c: Likewise.
42189         * soft-fp/mulsf3.c: Likewise.
42190         * soft-fp/multf3.c: Likewise.
42191         * soft-fp/negdf2.c: Likewise.
42192         * soft-fp/negsf2.c: Likewise.
42193         * soft-fp/negtf2.c: Likewise.
42194         * soft-fp/op-1.h: Likewise.
42195         * soft-fp/op-2.h: Likewise.
42196         * soft-fp/op-4.h: Likewise.
42197         * soft-fp/op-8.h: Likewise.
42198         * soft-fp/op-common.h: Likewise.
42199         * soft-fp/quad.h: Likewise.
42200         * soft-fp/single.h: Likewise.
42201         * soft-fp/soft-fp.h: Likewise.
42202         * soft-fp/sqrtdf2.c: Likewise.
42203         * soft-fp/sqrtsf2.c: Likewise.
42204         * soft-fp/sqrttf2.c: Likewise.
42205         * soft-fp/subdf3.c: Likewise.
42206         * soft-fp/subsf3.c: Likewise.
42207         * soft-fp/subtf3.c: Likewise.
42208         * soft-fp/truncdfsf2.c: Likewise.
42209         * soft-fp/trunctfdf2.c: Likewise.
42210         * soft-fp/trunctfsf2.c: Likewise.
42211         * soft-fp/trunctfxf2.c: Likewise.
42212         * soft-fp/unorddf2.c: Likewise.
42213         * soft-fp/unordsf2.c: Likewise.
42214         * soft-fp/unordtf2.c: Likewise.
42216 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42218         [BZ #15672]
42219         * misc/error.c (error_tail): Fix possible buffer overflow.
42221 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42223         [BZ #13028]
42224         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42225         address.
42227 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42229         [BZ #832]
42230         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42231         testing pipefail option.
42233 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42235         * soft-fp/double.h: Indent preprocessor directives inside #if.
42236         * soft-fp/extended.h: Likewise.
42237         * soft-fp/op-2.h: Likewise.
42238         * soft-fp/op-4.h: Likewise.
42239         * soft-fp/op-common.h: Likewise.
42240         * soft-fp/quad.h: Likewise.
42241         * soft-fp/single.h: Likewise.
42242         * soft-fp/soft-fp.h: Likewise.
42244 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42246         * iconv/iconv_prog.c: Fix typos.
42247         * stdio-common/psiginfo-data.h: Likewise.
42249 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42251         [BZ #15764]
42252         * locale/setlocale.c: Fix typo.
42254 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42256         [BZ #16036]
42257         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42258         signaling NaN arguments.
42259         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42260         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42262         [BZ #14910]
42263         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42264         unordered operands.
42265         * soft-fp/gesf2.c (__gesf2): Likewise.
42266         * soft-fp/getf2.c (__getf2): Likewise.
42267         * soft-fp/ledf2.c (__ledf2): Likewise.
42268         * soft-fp/lesf2.c (__lesf2): Likewise.
42269         * soft-fp/letf2.c (__letf2): Likewise.
42271         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42272         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42273         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42274         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42275         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42276         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42277         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42278         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42279         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42280         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42281         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42282         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42283         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42284         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42285         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42286         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42287         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42288         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42289         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42290         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42291         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42292         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42293         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42294         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42295         * soft-fp/floattidf.c (__floattidf): Likewise.
42296         * soft-fp/floattisf.c (__floattisf): Likewise.
42297         * soft-fp/floattitf.c (__floattitf): Likewise.
42298         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42299         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42300         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42301         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42302         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42303         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42304         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42305         * soft-fp/gesf2.c (__gesf2): Likewise.
42306         * soft-fp/getf2.c (__getf2): Likewise.
42307         * soft-fp/ledf2.c (__ledf2): Likewise.
42308         * soft-fp/lesf2.c (__lesf2): Likewise.
42309         * soft-fp/letf2.c (__letf2): Likewise.
42311         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42312         Undefine and redefine.
42313         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42314         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42315         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42316         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42317         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42318         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42319         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42320         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42321         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42322         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42323         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42324         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42325         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42326         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42327         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42329         [BZ #16032]
42330         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42331         without decrementing exponent if mantissa >= that for the
42332         denominator, not >.
42333         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42334         denominator, not >.  Decrement exponent in < case instead of
42335         incrementing in >= case.
42336         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42337         without decrementing exponent if mantissa >= that for the
42338         denominator, not >.
42340         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42341         computing saturated result for unsigned overflow.
42343 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42344             Jeff Law  <law@redhat.com>
42346         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42347         (atan2Mp): Add systemtap probe marker.
42348         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42349         (__ieee754_log): Add systemtap probe marker.
42350         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42351         (atanMp): Add systemtap probe marker.
42352         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42353         (tanMp): Add systemtap probe marker.
42354         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42355         (__slowexp): Add systemtap probe marker.
42356         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42357         (__slowpow): Add systemtap probe marker.
42358         * manual/probes.texi: Document probes.
42360 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42362         [BZ #15362]
42363         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42364         written.
42365         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42366         written.
42367         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42368         written to buffer but not flushed.
42369         * libio/iofwrite_u.c:  Likewise.
42370         * libio/iopadn.c:  Return bytes returned even if EOF was
42371         encountered.
42372         * libio/iowpadn.c:  Likewise.
42373         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42374         if _IO_padn does not write the whole buffer.
42375         [!COMPILE_WPRINTF] (PAD): Likewise.
42377 2013-10-10  David S. Miller  <davem@davemloft.net>
42379         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42380         directory block.
42382 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42384         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42385         instead of FSF address.
42386         * soft-fp/fixdfti.c: Likewise.
42387         * soft-fp/fixsfti.c: Likewise.
42388         * soft-fp/fixtfti.c: Likewise.
42389         * soft-fp/fixunsdfti.c: Likewise.
42390         * soft-fp/fixunssfti.c: Likewise.
42391         * soft-fp/fixunstfti.c: Likewise.
42392         * soft-fp/floattidf.c: Likewise.
42393         * soft-fp/floattisf.c: Likewise.
42394         * soft-fp/floattitf.c: Likewise.
42395         * soft-fp/floatuntidf.c: Likewise.
42396         * soft-fp/floatuntisf.c: Likewise.
42397         * soft-fp/floatuntitf.c: Likewise.
42398         * soft-fp/trunctfxf2.c: Likewise.
42400         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42401         * soft-fp/fixdfti.c: Likewise.
42402         * soft-fp/fixsfti.c: Likewise.
42403         * soft-fp/fixtfti.c: Likewise.
42404         * soft-fp/fixunsdfti.c: Likewise.
42405         * soft-fp/fixunssfti.c: Likewise.
42406         * soft-fp/fixunstfti.c: Likewise.
42407         * soft-fp/floattidf.c: Likewise.
42408         * soft-fp/floattisf.c: Likewise.
42409         * soft-fp/floattitf.c: Likewise.
42410         * soft-fp/floatuntidf.c: Likewise.
42411         * soft-fp/floatuntisf.c: Likewise.
42412         * soft-fp/floatuntitf.c: Likewise.
42413         * soft-fp/trunctfxf2.c: Likewise.
42415 2013-10-10  David S. Miller  <davem@davemloft.net>
42417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42419 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42421         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42422         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42423         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42424         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42425         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42426         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42427         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42430         for NaNs before doing comparisons on argument.
42431         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42432         Likewise.
42434 2013-10-10  Will Newton  <will.newton@linaro.org>
42436         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42437         passed to _int_memalign does not overflow.
42439 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42441         * scripts/bench.pl: Add include-sources directive.
42442         * benchtests/README: Update documentation.
42444 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42446         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42447         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42448         instead of FP_INIT_ROUNDMODE.
42449         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42450         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42452         [BZ #16034]
42453         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42454         copy class of input value.
42455         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42456         not handle exceptions.
42457         * soft-fp/negsf2.c (__negsf2): Likewise.
42458         * soft-fp/negtf2.c (__negtf2): Likewise.
42459         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42461 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42463         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42464         semicolon.  From Linux kernel.
42466 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42468         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42470 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42472         [BZ #156]
42473         * manual/socket.texi: Added statement about buffer
42474         for gethostbyname2_r.
42476 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42478         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42479         Use .p2align directive instead, throughout.
42480         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42481         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42482         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42483         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42484         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42485         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42486         * sysdeps/x86_64/strchr.S: Likewise.
42487         * sysdeps/x86_64/strrchr.S: Likewise.
42489 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42491         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42493         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42495         * sysdeps/generic/math_private.h (__mpsin1): Remove
42496         declaration.
42497         (__mpcos1): Likewise.
42498         (__mpsin): New argument __range_reduce.
42499         (__mpcos): Likewise.
42500         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42501         (slow): Use __mpsin and __mpcos.
42502         (slow1): Likewise.
42503         (slow2): Likewise.
42504         (sloww): Likewise.
42505         (sloww1): Likewise.
42506         (sloww2): Likewise.
42507         (bsloww): Likewise.
42508         (bsloww1): Likewise.
42509         (bsloww2): Likewise.
42510         (cslow2): Likewise.
42511         (csloww): Likewise.
42512         (csloww1): Likewise.
42513         (csloww2): Likewise.
42514         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42515         range_reduce.  Merge in __mpsin1.
42516         (__mpcos): Likewise.
42517         (__mpsin1): Remove.
42518         (__mpcos1): Likewise.
42520 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42522         * locale/loadlocale.c (_nl_intern_locale_data): Use
42523         LOCFILE_ALIGNED_P.
42524         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42525         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42526         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42527         obstack data is appropriately aligned.
42528         (obstack_int32_grow_fast): Likewise.
42529         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42530         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42531         (add_locale_uint32_array): Likewise.
42533 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42535         * benchtests/Makefile: Remove ARGLIST and RET variables.
42536         ($(objpfx)bench-%.c): Pass only function name to the script.
42537         * benchtests/README: Update documentation.
42538         * benchtests/acos-inputs: Add new directives.
42539         * benchtests/acosh-inputs: Likewise.
42540         * benchtests/asin-inputs: Likewise.
42541         * benchtests/asinh-inputs: Likewise.
42542         * benchtests/atan-inputs: Likewise.
42543         * benchtests/atanh-inputs: Likewise.
42544         * benchtests/cos-inputs: Likewise.
42545         * benchtests/cosh-inputs: Likewise.
42546         * benchtests/exp-inputs: Likewise.
42547         * benchtests/log-inputs: Likewise.
42548         * benchtests/pow-inputs: Likewise.
42549         * benchtests/rint-inputs: Likewise.
42550         * benchtests/sin-inputs: Likewise.
42551         * benchtests/sinh-inputs: Likewise.
42552         * benchtests/tan-inputs: Likewise.
42553         * benchtests/tanh-inputs: Likewise.
42554         * scripts/bench.pl: Add support for new directives.
42556 2013-10-07  Alan Modra  <amodra@gmail.com>
42558         * README: Fix careless merge.
42560 2013-10-05  Alan Modra  <amodra@gmail.com>
42562         * NEWS: Mention powerpc64le support and bugs fixed.
42563         * README: Both big-endian and little-endian powerpc64 supported.
42565 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42567         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42568         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42569         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42570         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42572 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42574         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42575         match prototype.
42577 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42579         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42580         Move -mhard-float appending from
42581         ports/sysdeps/powerpc/powerpc32/Makefile.
42582         [$(with-fp) = yes] (ASFLAGS): Likewise.
42583         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42584         * sysdeps/powerpc/nofpu: Move directory from
42585         ports/sysdeps/powerpc/nofpu.
42586         * sysdeps/powerpc/soft-fp: Move directory from
42587         ports/sysdeps/powerpc/soft-fp.
42588         * sysdeps/powerpc/powerpc32/405: Move directory from
42589         ports/sysdeps/powerpc/powerpc32/405.
42590         * sysdeps/powerpc/powerpc32/440: Move directory from
42591         ports/sysdeps/powerpc/powerpc32/440.
42592         * sysdeps/powerpc/powerpc32/464: Move directory from
42593         ports/sysdeps/powerpc/powerpc32/464.
42594         * sysdeps/powerpc/powerpc32/476: Move directory from
42595         ports/sysdeps/powerpc/powerpc32/476.
42596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42597         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42599         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42601         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42603         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42605         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42606         * README: Update for powerpc-*-linux-gnu software floating point
42607         support in libc.
42609         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42610         case to powerpc/powerpc32*.
42611         * sysdeps/unix/sysv/linux/configure: Regenerated.
42613         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42614         (_FPU_MASK_OM): Define as 0x04.
42615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42617         0x00c10080.
42618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42619         0x0000003c.
42620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42623         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42624         getcontext_e500.
42625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42626         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42627         setcontext_e500.
42628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42629         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42630         and setcontext_e500.
42632 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42634         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42636 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42638         * manual/threads.texi (Default Thread Attributes): Fix typo.
42640 2013-10-04  Will Newton  <will.newton@linaro.org>
42642         * malloc/Makefile: Add tst-memalign.
42643         * malloc/tst-memalign.c: New file.
42645         * malloc/tst-posix_memalign.c: Add comments.
42646         (do_test): Add comments and call free on all potentially
42647         allocated pointers. Add space after cast.
42649         * malloc/tst-pvalloc.c: Add comments.
42650         (do_test): Add comments and call free on all potentially
42651         allocated pointers. Remove duplicate check for NULL pointer.
42652         Add space after cast.
42654         * malloc/tst-valloc.c: Add comments.
42655         (do_test): Add comments and call free on all potentially
42656         allocated pointers. Remove duplicate check for NULL pointer.
42657         Add space after cast.
42659 2013-10-04  Alan Modra  <amodra@gmail.com>
42661         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42662         Use stdint types in rather than __attribute__((mode())).
42663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42665 2013-10-04  Alan Modra  <amodra@gmail.com>
42667         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42668         Correct handling of unaligned relocs for little-endian.
42669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42671 2013-10-04  Alan Modra  <amodra@gmail.com>
42673         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42674         * configure: Regenerate.
42675         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42676         * shlib-versions: Likewise.
42678 2013-10-04  Alan Modra  <amodra@gmail.com>
42680         * string/tester.c (test_memrchr): Increment reported test cycle.
42682 2013-10-04  Alan Modra  <amodra@gmail.com>
42684         * string/test-memcpy.c (do_one_test): When reporting errors, print
42685         string address and don't overrun end of string.
42687 2013-10-04  Alan Modra  <amodra@gmail.com>
42689         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42690         insrdi.  Make better use of reg selection to speed exit slightly.
42691         Schedule entry path a little better.  Remove useless "are we done"
42692         checks on entry to main loop.  Handle wrapping around zero address.
42693         Correct main loop count.  Handle single left-over word from main
42694         loop inline rather than by using loop_small.  Remove extra word
42695         case in loop_small caused by wrong loop count.  Add little-endian
42696         support.
42697         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42698         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42699         cache hint.
42700         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42701         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42702         support.  Avoid rlwimi.
42703         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42705 2013-10-04  Alan Modra  <amodra@gmail.com>
42707         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42708         insrdi.  Formatting.
42709         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42710         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42711         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42712         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42713         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42714         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42716 2013-10-04  Alan Modra  <amodra@gmail.com>
42718         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42720         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42721         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42722         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42723         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42724         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42725         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42726         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42727         use of regs.  Use power7 mtocrf.  Tidy function tails.
42729 2013-10-04  Alan Modra  <amodra@gmail.com>
42731         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42732         Formatting.  Consistently use rXXX register defines or rN defines.
42733         Use early exit labels that avoid restoring unused non-volatile regs.
42734         Make cr field use more consistent with rWORDn compares.  Rename
42735         regs used as shift registers for unaligned loop, using rN defines
42736         for short lifetime/multiple use regs.
42737         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42738         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42739         addi 1,1,64 to pop stack frame.  Simplify return value code.
42740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42742 2013-10-04  Alan Modra  <amodra@gmail.com>
42744         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42745         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42746         rather than rlwimi.
42747         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42748         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42749         little-endian support.  Correct typos.
42750         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42751         rather than rlwimi.
42752         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42753         in loop and entry code to keep "and." results.
42754         (strchr): Add little-endian support.  Comment.  Move cntlzd
42755         earlier in tail.
42756         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42758 2013-10-04  Alan Modra  <amodra@gmail.com>
42760         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42761         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42762         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42763         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42765 2013-10-04  Alan Modra  <amodra@gmail.com>
42767         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42768         (rTMP): Define as r11.
42769         (strcmp): Add little-endian support.  Optimise tail.
42770         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42771         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42772         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42773         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42774         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42775         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42778 2013-10-04  Alan Modra  <amodra@gmail.com>
42780         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42781         little-endian support.  Remove unnecessary "are we done" tests.
42782         Handle "s" wrapping around zero and extremely large "size".
42783         Correct main loop count.  Handle single left-over word from main
42784         loop inline rather than by using small_loop.  Correct comments.
42785         Delete "zero" tail, use "end_max" instead.
42786         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42788 2013-10-04  Alan Modra  <amodra@gmail.com>
42790         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42791         support.  Don't branch over align.
42792         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42793         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42794         support.  Rearrange tmp reg use to suit.  Comment.
42795         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42797 2013-10-04  Alan Modra  <amodra@gmail.com>
42799         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42801 2013-10-04  Alan Modra  <amodra@gmail.com>
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42804         conditional form of branch and link when obtaining pc.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42807 2013-10-04  Alan Modra  <amodra@gmail.com>
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42810         HIWORD/LOWORD.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42814 2013-10-04  Alan Modra  <amodra@gmail.com>
42816         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42817         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42818         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42819         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42820         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42821         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42822         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42823         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42824         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42825         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42827 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42828             Alistair Popple <alistair@ozlabs.au.ibm.com>
42829             Alan Modra <amodra@gmail.com>
42831         [BZ #15723]
42832         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42833         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42834         _dl_hwcap access for little-endian.
42835         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42836         destroy vmx regs when saving unaligned.
42837         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42838         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42839         destroy vmx regs when saving unaligned.
42841 2013-10-04  Alan Modra  <amodra@gmail.com>
42843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42844         Don't use a union to pack hi/low value.
42846 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42848         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42849         for little-endian.
42850         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42852         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42853         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42854         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42856 2013-10-04  Alan Modra  <amodra@gmail.com>
42858         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42859         constants to usual value for .cst8 section, and remove redundant
42860         high address load.
42861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42862         constant for 0x1p52.  Load little-endian words of double from
42863         correct stack offsets.
42865 2013-10-04  Alan Modra  <amodra@gmail.com>
42867         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42868         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42869         words of double from correct stack offsets.
42870         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42871         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42872         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42875         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42876         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42877         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42878         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42879         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42880         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42881         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42882         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42883         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42884         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42885         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42886         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42888 2013-10-04  Alan Modra  <amodra@gmail.com>
42890         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42891         64-bit int/double union.
42892         (_FPU_SETCW): Likewise.
42893         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42894         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42896 2013-10-04  Alan Modra  <amodra@gmail.com>
42898         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42899         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42901 2013-10-04  Alan Modra  <amodra@gmail.com>
42903         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42904         use vector int constants.
42905         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42907 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42909         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42910         array with long long.
42911         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42912         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42913         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42914         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42915         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42916         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42917         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42918         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42919         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42920         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42921         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42922         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42923         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42925 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42927         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42928         (__signbit): Likewise.  Correct for little-endian.
42929         (__signbitl): Call __signbit.
42930         (lrint): Correct for little-endian.
42931         (lrintf): Call lrint.
42933 2013-10-04  Alan Modra  <amodra@gmail.com>
42935         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42936         union 32-bit int array member with 64-bit int array.
42937         (t515, tm256): Double rather than long double.
42938         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42940 2013-10-04  Alan Modra  <amodra@gmail.com>
42942         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42943         Delete.
42944         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42946         version of math_ldbl.h.
42948 2013-10-04  Alan Modra  <amodra@gmail.com>
42950         [BZ #15734], [BZ #15735]
42951         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42952         all uses of ieee875 long double macros and unions.  Simplify test
42953         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42954         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42955         normalize after ldbl_extract_mantissa, and don't add hidden bit
42956         already handled.  Don't treat low word of ieee854 mantissa like
42957         low word of IBM long double and mask off bit when testing for
42958         zero.
42959         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42960         all uses of ieee875 long double macros and unions.  Simplify tests
42961         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42962         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42963         two1022, instead use their values.  Recognise that tests for large
42964         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42965         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42966         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42967         test for 0.0L and nan.  Correct negation.
42968         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42969         ieee875 long double macros and unions.  Correct output for large
42970         magnitude x.  Correct absolute value calculation.
42971         (__erfcl): Likewise.
42972         * math/libm-test.inc: Add tests for errors discovered in IBM long
42973         double versions of fmodl, remainderl, erfl and erfcl.
42975 2013-10-04  Alan Modra  <amodra@gmail.com>
42977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42978         all uses of ieee854 long double macros and unions.  Simplify tests
42979         for long doubles that are fully specified by the high double.
42980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42981         Likewise.
42982         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42983         Remove dead code too.
42984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42985         (__ieee754_ynl): Likewise.
42986         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42989         Remove dead code too.
42990         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42991         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42992         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42993         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42994         Simplify.
42995         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42996         Simplify.
42997         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42998         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42999         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43000         Comment on variable precision.
43001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43002         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43003         Likewise.
43004         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43005         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43006         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43007         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43008         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43010 2013-10-04  Alan Modra  <amodra@gmail.com>
43012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43013         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43014         all uses of ieee854 long double macros and unions.
43015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43017         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43020         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43021         Likewise.
43022         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43023         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43024         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43025         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43026         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43027         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43028         Simplify sign and nan test too.
43029         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43030         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43031         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43032         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43033         Likewise.
43034         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43035         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43036         Likewise.
43037         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43038         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43039         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43040         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43041         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43044 2013-10-04  Alan Modra  <amodra@gmail.com>
43046         * stdio-common/printf_size.c (__printf_size): Don't use
43047         union ieee854_long_double in fpnum union.
43048         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43049         signbit macro to retrieve sign from long double.
43050         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43051         retrieve sign from long double.
43052         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43053         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43054         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43055         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43056         * math/test-misc.c (main): Don't use union ieee854_long_double.
43058 2013-10-04  Alan Modra  <amodra@gmail.com>
43060         [BZ #15680]
43061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43062         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43063         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43064         calculation.  Remove unnecessary test for denormal exponent.
43065         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43066         Correct handling of denormals.  Avoid undefined shift behaviour.
43067         Correct normalisation of low mantissa when low double is denormal.
43068         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43069         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43070         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43071         Correct normalisation of low mantissa.  Test for overflow of high
43072         mantissa and normalise.
43073         (ldbl_nearbyint): Use more readable constant for two52.
43074         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43075         (__mpn_construct_long_double): Fix test for overflow of high
43076         mantissa and correct normalisation.  Avoid undefined shift.
43078 2013-10-04  Alan Modra  <amodra@gmail.com>
43080         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43081         (union ibm_extended_long_double): Define as an array of ieee754_double.
43082         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43083         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43084         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43085         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43087         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43088         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43089         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43091         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43092         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43094 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43096         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43097         page size instead of calling getpagesize.
43099         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43100         (LOCFILE_ALIGN_MASK): Likewise.
43101         (LOCFILE_ALIGN_UP): Likewise.
43102         (LOCFILE_ALIGNED_P): Likewise.
43103         * locale/programs/ld-collate.c (collate_output): Use the new
43104         macros instead of __alignof__ (int32_t).
43105         * locale/weight.h (findidx): Likewise.
43107 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43109         [BZ #431]
43110         * manual/string.texi: Fix strncat and wcsncat.
43112 2013-10-03  Brooks Moses  <bmoses@google.com>
43114         [BZ #15915]
43115         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43116         * Makerules: ...here, and adjust associated comments.
43118 2013-10-02  Will Newton  <will.newton@linaro.org>
43120         * malloc/Makefile: Add tst-pvalloc.
43121         * malloc/tst-pvalloc.c: New file.
43123 2013-10-02  Will Newton  <will.newton@linaro.org>
43125         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43126         improve test coverage.
43128 2013-10-02  Will Newton  <will.newton@linaro.org>
43130         * malloc/Makefile: Add tst-posix_memalign.
43131         * malloc/tst-posix_memalign.c: New file.
43133 2013-10-01  Eric Blake  <eblake@redhat.com>
43135         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43136         Use __THROWNL rather than __THROW on static functions.
43138 2013-09-30  Petr Machata  <pmachata@redhat.com>
43140         * elf/elf.h (R_AARCH64_ABS16): New macro.
43141         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43142         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43143         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43144         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43145         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43146         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43147         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43148         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43149         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43150         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43151         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43152         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43153         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43154         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43155         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43156         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43157         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43158         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43159         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43160         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43161         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43162         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43163         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43164         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43165         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43166         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43167         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43168         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43169         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43170         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43171         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43172         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43173         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43174         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43175         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43176         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43177         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43178         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43179         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43180         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43181         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43182         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43183         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43184         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43185         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43186         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43187         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43188         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43189         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43190         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43191         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43192         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43193         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43194         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43195         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43196         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43197         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43198         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43199         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43200         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43201         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43202         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43203         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43204         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43205         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43206         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43207         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43208         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43209         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43210         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43211         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43212         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43213         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43214         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43215         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43216         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43217         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43218         (R_AARCH64_TLSDESC_LDR): Likewise.
43219         (R_AARCH64_TLSDESC_ADD): Likewise.
43220         (R_AARCH64_TLSDESC_CALL): Likewise.
43222 2013-09-30  Andreas Schwab  <schwab@suse.de>
43224         [BZ #15048]
43225         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43226         the nss database lookup.
43227         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43230 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43232         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43234 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43236         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43237         ${Bash-specific parameter/pattern/string} parameter expansion.
43238         * sysdeps/unix/make-syscalls.sh: Likewise.
43240 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43242         * sysdeps/sh/stackguard-macros.h: New file.
43244 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43248         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43249         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43250         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43251         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43253 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43255         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43256         Fix thread ID register.
43258 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43260         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43261         [POSIX || UNIX98]: Require rather than permitting all symbols from
43262         <time.h>.
43263         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43264         element of struct sched_param.
43265         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43266         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43267         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43268         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43269         constant.
43271 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43273         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43274         argument calculation.
43276 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43278         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43279         Expect macro.
43280         [POSIX] (pthread_attr_t): Do not require type.
43281         [POSIX] (pthread_cond_t): Likewise.
43282         [POSIX] (pthread_condattr_t): Likewise.
43283         [POSIX] (pthread_key_t): Likewise.
43284         [POSIX] (pthread_mutex_t): Likewise.
43285         [POSIX] (pthread_mutexattr_t): Likewise.
43286         [POSIX] (pthread_once_t): Likewise.
43287         [POSIX] (pthread_t): Likewise.
43288         [POSIX-based standards] (pthread_atfork): Expect function.
43290 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43291             Richard Sandiford  <richard@codesourcery.com>
43293         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43294         (swap_endianness_p): New extern variable.
43295         (set_big_endian): New inline function.
43296         (maybe_swap_uint32): Likewise.
43297         (maybe_swap_uint32_array): Likewise.
43298         (maybe_swap_uint32_obstack): Likewise.
43299         * locale/programs/locfile.c: Include <stdbool.h>.
43300         (swap_endianness_p): New variable.
43301         (add_locale_uint32): Call maybe_swap_uint32.
43302         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43303         (write_locale_data): Call maybe_swap_uint32_array.
43304         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43305         maybe_swap_uint32.
43306         (obstack_int32_grow_fast): Likewise.
43307         (output_weightwc): Call maybe_swap_uint32_obstack.
43308         (collate_output): Likewise.
43309         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43310         (OPT_LITTLE_ENDIAN): Likewise.
43311         (options): Add --little-endian and --big-endian options.
43312         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43313         * locale/programs/locarchive.c: Include "locfile.h".
43314         (GET): New macro.
43315         (SET): Likewise.
43316         (INC): Likewise.
43317         (create_archive): Use the new macros to access fields of
43318         structures directly mapped from or written to locale archives.
43319         (oldlocrecentcmp): Likewise.
43320         (enlarge_archive): Likewise.
43321         (insert_name): Likewise.
43322         (add_alias): Likewise.
43323         (add_locale): Likewise.
43324         (delete_locales_from_archive): Likewise.
43325         (show_archive_content): Likewise.
43326         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43327         locale data.
43329 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43331         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43332         http://www.gnu.org/doc/freemanuals.texi.
43333         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43335 2013-09-24  Will Newton  <will.newton@linaro.org>
43337         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43338         macro.
43340 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43342         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43343         unsigned char.
43345 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43347         * manual/threads.texi (POSIX Threads): Fix a typo.
43349 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43351         [BZ #14547]
43352         * string/tst-strcoll-overflow.c: New test case.
43353         * string/Makefile (xtests): Add tst-strcoll-overflow.
43354         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43355         cache if string sizes may cause integer overflow.
43357         [BZ #14547]
43358         * string/strcoll_l.c (coll_seq): New members rule, idx,
43359         save_idx and back_us.
43360         (get_next_seq_nocache): New function.
43361         (do_compare_nocache): New function.
43362         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43363         when malloc fails.
43365 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43367         [BZ #15754]
43368         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43369         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43370         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43372         [BZ #15754]
43373         * elf/Makefile (tests): Add tst-ptrguard1.
43374         (tests-static): Add tst-ptrguard1-static.
43375         (tst-ptrguard1-ARGS): Define.
43376         (tst-ptrguard1-static-ARGS): Define.
43377         * elf/tst-ptrguard1.c: New file.
43378         * elf/tst-ptrguard1-static.c: New file.
43379         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43380         * sysdeps/i386/stackguard-macros.h: Likewise.
43381         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43382         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43383         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43384         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43385         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43386         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43388 2013-09-23  Hector Marco  <hecmargi@upv.es>
43389             Ismael Ripoll  <iripoll@disca.upv.es>
43390             Carlos O'Donell  <carlos@redhat.com>
43392         [BZ #15754]
43393         * sysdeps/generic/stackguard-macros.h: Define
43394         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43395         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43396         Define __pointer_chk_guard_local.
43397         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43398         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43400 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43402         [BZ #15859]
43403         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43405 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43407         * include/string.h (__ffs): Declare as hidden.
43408         * string/ffs.c (__ffs): Define as hidden.
43409         * sysdeps/i386/ffs.c (__ffs): Likewise.
43410         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43411         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43412         * sysdeps/s390/ffs.c (__ffs): Likewise.
43413         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43415 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43417         * NEWS: Mention malloc probes.
43419         * malloc/arena.c (new_heap): New memory_heap_new probe.
43420         (grow_heap): New memory_heap_more probe.
43421         (shrink_heap): New memory_heap_less probe.
43422         (heap_trim): New memory_heap_free probe.
43423         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43424         (systrim): New memory_sbrk_less probe.
43425         * manual/probes.texi: Document them.
43427         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43428         * manual/probes.texi: Document it.
43430         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43431         (__libc_realloc): Add memory_realloc_retry probe.
43432         (__libc_memalign): Add memory_memalign_retry probe.
43433         (__libc_valloc): Add memory_valloc_retry probe.
43434         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43435         (__libc_calloc): Add memory_calloc_retry probe.
43436         * manual/probes.texi: Document them.
43438         * malloc/arena.c (get_free_list): Add probe
43439         memory_arena_reuse_free_list.
43440         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43441         and memory_arena_reuse.
43442         (arena_get2) [!PER_THREAD]: Likewise.
43443         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43444         memory_arena_reuse_realloc.
43445         * manual/probes.texi: Document them.
43447         * malloc/malloc.c (__libc_free): Add
43448         memory_mallopt_free_dyn_thresholds probe.
43449         (__libc_mallopt): Add multiple memory_mallopt probes.
43450         * manual/probes.texi: Document them.
43452         * malloc/malloc.c: Include stap-probe.h.
43453         (__libc_mallopt): Add memory_mallopt probe.
43454         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43455         * manual/probes.texi: New.
43456         * manual/Makefile (chapters): Add probes.
43457         * manual/threads.texi: Set next node.
43459 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43461         [BZ #15963, #13985]
43462         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43463         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43464         Add `Chinese' to `nan' entry name.
43466 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43468         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43469         (POLYNOMIAL): Likewise.
43470         (TAYLOR_SINCOS): Likewise.
43471         (TAYLOR_SLOW): Likewise.
43472         (__sin): Use TAYLOR_SINCOS.
43473         (__cos): Likewise.
43474         (slow): Use TAYLOR_SLOW.
43475         (sloww): Likewise.
43476         (bsloww): Likewise.
43477         (csloww): Likewise.
43479 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43481         * stdlib/strtod_l.c: Fix buffer overrun.
43483 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43485         * benchtests/Makefile (bench): Add sincos.
43486         * benchtests/bench-sincos.c: New file.
43488         * math/libm-test.inc (cos_test_data): New test inputs.
43489         (sin_test_data): Likewise.
43491         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43492         macro.
43493         (__sin): Use it.
43494         (__cos): Likewise.
43495         (slow1): Likewise.
43496         (slow2): Likewise.
43497         (sloww1): Likewise.
43498         (sloww2): Likewise.
43499         (bsloww1): Likewise.
43500         (bsloww2): Likewise.
43501         (cslow2): Likewise.
43502         (csloww1): Likewise.
43503         (csloww2): Likewise.
43505         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43506         function.
43507         (__sin): Use it.
43508         (__cos): Likewise.
43510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43511         gotos.
43512         (__cos): Likewise.
43514 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43516         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43517         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43518         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43519         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43520         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43521         * elf/cache.c (print_entry): Handle the new cache flags.
43523 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43524             Aldy Hernandez  <aldyh@redhat.com>
43526         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43527         Change condition to [_SOFT_FLOAT].
43528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43540         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43541         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43543         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43544         declaration.
43546 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43548         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43549         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43550         (__longjmp): Use LOAD_GP to load saved GPRs.
43551         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43552         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43553         (__sigsetjmp): Use SAVE_GP to save GPRs.
43555         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43556         Do not append -msoft-float.
43557         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43559 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43561         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43563 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43565         [BZ #15966]
43566         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43567         (_FPU_GETCW): Use initial "__" on variable and field names but not
43568         on macro parameter name.
43569         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43570         parentheses around reference to macro parameter.
43572 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43574         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43575         prototype.
43576         (ctype_startup): Use uint32_t in cast and sizeof for
43577         ctype->charnames.
43579 2013-09-11  Jia Liu  <proljc@gmail.com>
43581         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43582         __daddr_t_defined.
43583         [__FreeBSD__]: Likewise.
43585 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43588         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43589         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43590         (strchr): Remove __strchr_sse42 ifunc selection.
43591         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43592         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43594 2013-09-11  Will Newton  <will.newton@linaro.org>
43596         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43597         parameter to RES. Remove hardcoded 1000 value.
43598         * benchtests/bench-skeleton.c (main): Pass RES parameter
43599         to TIMING_INIT and multiply result by 1000.
43601 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43605 2013-09-11  Andreas Schwab  <schwab@suse.de>
43607         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43608         if not defined.
43609         (O_TMPFILE) [__USE_GNU]: Define.
43610         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43611         Define.
43613 2013-09-11  Will Newton  <will.newton@linaro.org>
43615         [BZ #15857]
43616         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43617         does not overflow.
43619 2013-09-11  Will Newton  <will.newton@linaro.org>
43621         [BZ #15856]
43622         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43623         does not overflow.
43625 2013-09-11  Will Newton  <will.newton@linaro.org>
43627         [BZ #15855]
43628         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43629         does not overflow.
43631 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43633         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43639 2013-09-10  Allan McRae  <allan@archlinux.org>
43641         [BZ #15748]
43642         * manual/arith.texi (Parsing of Floats): Clarify
43643         cross-reference.
43645         [BZ #15849]
43646         * manual/install.texi (Running make install): Mention
43647         --enable-pt-chown.
43648         * INSTALL: Regenerated.
43650 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43652         * csu/init-first.c (_init): Remove the !SHARED condition around
43653         FPU control word initialization.
43654         * elf/dl-support.c (_dl_fpu_control): New variable.
43655         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43656         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43657         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43658         * math/test-fpucw-static.c: New file.
43659         * math/test-fpucw-ieee.c: New file.
43660         * math/test-fpucw-ieee-static.c: New file.
43661         * math/Makefile (tests): Add `test-fpucw-ieee' and
43662         `$(tests-static)'.
43663         (tests-static): New variable.
43664         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43665         dependency to...
43666         [($(build-shared),yes)]
43667         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43668         ... this.
43669         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43670         New dependency.
43672 2013-09-09  Allan McRae  <allan@archlinux.org>
43674         [BZ #15939]
43675         * manual/string.texi (Collation Functions): Fix typo in
43676         strcoll example.
43677         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43679         [BZ #15893]
43680         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43682         [BZ #15892]
43683         * libio/memstream.c (open_memstream): Fix memory leak.
43684         * libio/wmemstream.c (open_wmemstream): Likewise.
43686         [BZ #15895]
43687         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43689 2013-09-09  Will Newton  <will.newton@linaro.org>
43691         * malloc/Makefile: Add tst-realloc to tests.
43692         * malloc/tst-realloc.c: New file.
43694 2013-09-09  Allan McRae  <allan@archlinux.org>
43696         [BZ #15844]
43697         * COPYING: Update from GNU website to fix FSF address.
43698         * COPYING.LIB: Likewise.
43700 2013-09-06  David S. Miller  <davem@davemloft.net>
43702         * po/zh_TW.po: Update Chinese (traditional) translation from
43703         translation project.
43705 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43706             Joseph Myers  <joseph@codesourcery.com>
43708         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43709         "localeinfo.h".
43710         (obstack_chunk_alloc): New macro.
43711         (obstack_chunk_free): Likewise.
43712         (record_offset): New function.
43713         (init_locale_data): Likewise.
43714         (align_locale_data): Likewise.
43715         (add_locale_empty): Likewise.
43716         (add_locale_raw_data): Likewise.
43717         (add_locale_raw_obstack): Likewise.
43718         (add_locale_string): Likewise.
43719         (add_locale_wstring): Likewise.
43720         (add_locale_uint32): Likewise.
43721         (add_locale_uint32_array): Likewise.
43722         (add_locale_char): Likewise.
43723         (start_locale_structure): Likewise.
43724         (end_locale_structure): Likewise.
43725         (start_locale_prelude): Likewise.
43726         (end_locale_prelude): Likewise.
43727         (write_locale_data): Take locale_file structure rather than an
43728         iovec.
43729         * locale/programs/locfile.h: Include "obstack.h".
43730         (struct locale_file): Change to store locale file contents instead
43731         of header.
43732         (init_locale_data): New prototype.
43733         (align_locale_data): Likewise.
43734         (add_locale_empty): Likewise.
43735         (add_locale_raw_data): Likewise.
43736         (add_locale_raw_obstack): Likewise.
43737         (add_locale_string): Likewise.
43738         (add_locale_wstring): Likewise.
43739         (add_locale_uint32): Likewise.
43740         (add_locale_uint32_array): Likewise.
43741         (add_locale_char): Likewise.
43742         (start_locale_structure): Likewise.
43743         (end_locale_structure): Likewise.
43744         (start_locale_prelude): Likewise.
43745         (end_locale_prelude): Likewise.
43746         (write_locale_data): Update prototype.
43747         * locale/programs/3level.h (struct TABLE): Remove result field.
43748         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43749         Use new locale_file interface.
43750         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43751         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43752         * locale/programs/ld-address.c (address_output): Use new
43753         locale_file interface.
43754         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43755         NO_ADD_LOCALE.
43756         (collate_finish): Don't call collseq_table_finalize.
43757         (collate_output): Use new locale_file interface.
43758         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43759         in file.
43760         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43761         (TABLE): Move defines earlier in file.
43762         (ELEMENT): Likewise.
43763         (DEFAULT): Likewise.
43764         (wctrans_table_add): Move macro and inline function earlier in
43765         file.
43766         (struct wctype_table): Move type earlier in file.
43767         (add_locale_wctype_table): New static prototype.
43768         (struct locale_ctype_t): Use logical types instead of struct iovec
43769         pointers for members.
43770         (ctype_output): Use new locale_file interface.
43771         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43772         new locale_file interface.
43773         (allocate_arrays): Update for use of new locale_file interface.
43774         * locale/programs/ld-identification.c (identification_output): Use
43775         new locale_file interface.
43776         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43777         * locale/programs/ld-messages.c (messages_output): Likewise.
43778         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43779         * locale/programs/ld-name.c (name_output): Likewise.
43780         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43781         * locale/programs/ld-paper.c (paper_output): Likewise.
43782         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43783         * locale/programs/ld-time.c (time_output): Likewise.
43785 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43787         * benchtests/Makefile: Add memrchr benchmark.
43788         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43789         benchmark as memrchr.
43790         * benchtests/bench-memrchr-ifunc.c: New file.
43791         * benchtests/bench-memrchr.c: New file.
43793 2013-09-06   Will Newton  <will.newton@linaro.org>
43795         * benchtests/Makefile (string-bench): Add memcpy.
43797 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43798             Cong Wang  <amwang@redhat.com>
43800         [BZ #15850]
43801         * sysdeps/unix/sysv/linux/bits/in.h
43802         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43803         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43804         before __USE_KERNEL_IPV6_DEFS uses.
43805         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43806         IPPROTO_BEETPH.
43807         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43808         sockaddr_in6, or ipv6_mreq.
43810 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43812         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43813         memory access for final bytes in some large inputs.
43814         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43816 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43818         * string/test-memrchr.c: New file.
43819         * string/test-memrchr-ifunc.c: New file.
43820         * string/Makefile: Add new memrchr testcase.
43822 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43824         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43825         fanotify_init returns EPERM.
43827 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43829         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43830         errors.
43831         (top level): Treat second token from macro or constant entries for
43832         allowed headers as allowed.
43833         * include/complex.h: Condition internal declarations on
43834         [!_ISOMAC].
43835         * include/fenv.h: Condition include of <stdbool.h> and internal
43836         declarations on [!_ISOMAC].
43838 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43840         [BZ #15923]
43841         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43843 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43845         * configure.in (--enable-versioning): Remove configure option.
43846         (libc_cv_asm_symver_directive): Remove configure test.
43847         (libc_cv_ld_version_script_option): Likewise.
43848         (VERSIONING): Remove variable and AC_SUBST.
43849         (DO_VERSIONING): Remove AC_DEFINE.
43850         * configure: Regenerated.
43851         * config.h.in (DO_VERSIONING): Remove macro.
43852         * Makerules [$(versioning) = yes]: Change conditionals to
43853         [$(build-shared) = yes].
43854         * config.make.in (versioning): Remove variable.
43855         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43856         [$(build-shared) = yes].
43857         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43858         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43859         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43860         [$(build-shared) = yes].
43861         * extra-lib.mk [$(versioning) = yes]: Likewise.
43862         * hurd/Makefile [$(versioning) = yes]: Likewise.
43863         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43864         [SHARED].
43865         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43866         [SHARED].
43867         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43868         [SHARED && !NO_HIDDEN].
43869         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43870         [SHARED].
43871         [SHARED && DO_VERSIONING]: Likewise..
43872         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43873         [$(build-shared) = yes].
43874         * manual/install.texi (--disable-versioning): Remove
43875         documentation.
43876         * INSTALL: Regenerated.
43877         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43878         to [SHARED].
43879         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43880         [$(build-shared) = yes].
43881         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43882         * sysdeps/i386/i686/multiarch/strstr-c.c
43883         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43884         [SHARED && !NO_HIDDEN].
43885         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43886         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43887         * sysdeps/powerpc/powerpc32/dl-machine.c
43888         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43889         * sysdeps/powerpc/powerpc32/sysdep.h
43890         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43891         to [SHARED && PIC && !NO_HIDDEN].
43892         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43893         conditional to [SHARED].
43895 2013-09-04   Will Newton  <will.newton@linaro.org>
43897         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43898         * benchtests/bench-string.h: Include bench-timing.h instead
43899         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43900         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43901         call to HP_TIMING_DIFF_INIT.
43902         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43903         instead of hp-timing.h macros.
43904         * benchtests/bench-memchr.c: Likewise.
43905         * benchtests/bench-memcmp.c: Likewise.
43906         * benchtests/bench-memcpy.c: Likewise.
43907         * benchtests/bench-memmem.c: Likewise.
43908         * benchtests/bench-memmove.c: Likewise.
43909         * benchtests/bench-memset.c: Likewise.
43910         * benchtests/bench-rawmemchr.c: Likewise.
43911         * benchtests/bench-strcasecmp.c: Likewise.
43912         * benchtests/bench-strcasestr.c: Likewise.
43913         * benchtests/bench-strcat.c: Likewise.
43914         * benchtests/bench-strchr.c: Likewise.
43915         * benchtests/bench-strcmp.c: Likewise.
43916         * benchtests/bench-strcpy.c: Likewise.
43917         * benchtests/bench-strcpy_chk.c: Likewise.
43918         * benchtests/bench-strlen.c: Likewise.
43919         * benchtests/bench-strncasecmp.c: Likewise.
43920         * benchtests/bench-strncat.c: Likewise.
43921         * benchtests/bench-strncmp.c: Likewise.
43922         * benchtests/bench-strncpy.c: Likewise.
43923         * benchtests/bench-strnlen.c: Likewise.
43924         * benchtests/bench-strpbrk.c: Likewise.
43925         * benchtests/bench-strrchr.c: Likewise.
43926         * benchtests/bench-strspn.c: Likewise.
43927         * benchtests/bench-strstr.c: Likewise.
43929 2013-09-04  Will Newton  <will.newton@linaro.org>
43931         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43933 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43935         [BZ #15427]
43936         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43937         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43938         * math/libm-test.inc (lgamma_test_data): Add more tests.
43939         * sysdeps/i386/fpu/libm-test-ulps: Update.
43940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43942 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43944         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43946         Add ifunc.
43947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43948         Add strcmp-sse2-unaligned
43949         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43951 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43953         * Versions.def (libc): Add GLIBC_2.19.
43955 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43957         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43958         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43960 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43962         [BZ #14155]
43963         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43964         intermediate calculations in recurrence.
43965         (__ieee754_ynf): Likewise.
43966         * math/libm-test.inc (jn_test_data): Do not allow spurious
43967         underflow exception.  Add more tests.
43968         (yn_test_data): Add more tests.
43969         * sysdeps/i386/fpu/libm-test-ulps: Update.
43970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43972 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43974         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43976 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43978         * csu/init-first.c: Fix then/than typos.
43979         * locale/programs/ld-collate.c: Likewise.
43980         * locale/programs/linereader.h: Likewise.
43981         * manual/charset.texi: Likewise.
43982         * manual/filesys.texi: Likewise.
43983         * manual/stdio.texi: Likewise.
43984         * manual/string.texi: Likewise.
43985         * stdlib/fmtmsg.c: Likewise.
43986         * sysdeps/i386/stpncpy.S: Likewise.
43987         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43988         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43989         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43990         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43992 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43994         * elf/dl-open.c: Fix typos.
43995         * iconvdata/gbbig5.c: Likewise.
43996         * iconvdata/iso-2022-jp.c: Likewise.
43997         * iconv/gconv_int.h: Likewise.
43998         * iconv/loop.c: Likewise.
43999         * nis/rpcsvc/nis.h: Likewise.
44000         * resolv/ns_name.c: Likewise.
44001         * stdio-common/vfscanf.c: Likewise.
44002         * streams/stropts.h: Likewise.
44003         * sunrpc/rpc_thread.c: Likewise.
44004         * sysdeps/i386/strpbrk.S: Likewise.
44005         * sysdeps/ieee754/k_standard.c: Likewise.
44006         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44007         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44008         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44009         * sysdeps/mach/hurd/profil.c: Likewise.
44010         * sysdeps/s390/dl-procinfo.h: Likewise.
44011         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44012         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44013         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44014         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44015         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44017 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44019         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44022 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44024         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44025         aix specific files.
44026         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44027         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44028         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44029         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44030         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44031         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44032         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44033         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44035 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44036             Roland McGrath  <roland@hack.frob.com>
44038         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44039         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44041 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44043         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44044         __executable_start symbol instead of _start.
44046 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44048         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44049         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44050         Move macros to...
44051         * sysdeps/gnu/ldsodefs.h: ... this new file.
44053         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44054         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44055         instead of ELFOSABI_LINUX.
44057         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44058         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44059         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44060         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44061         Likewise.
44062         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44063         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44064         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44065         Likewise.
44066         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44067         (ibm_extended_long_double): Add ieee_nan member.
44068         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44069         (do_test): New function.
44071         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44072         TEST_TRUNC.
44073         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44074         functions, renamed from truncdfsf_test, trunctfsf_test,
44075         trunctfdf_test.
44076         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44077         functions.
44078         (do_test): Run all these.
44080 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44082         * argp/argp-help.c: Fix typos.
44083         * argp/argp-parse.c: Likewise.
44084         * debug/backtracesyms.c: Likewise.
44085         * elf/elf.h: Likewise.
44086         * malloc/malloc.c: Likewise.
44087         * nis/nis_print.c: Likewise.
44088         * resolv/res_comp.c: Likewise.
44089         * stdlib/stdlib.h: Likewise.
44090         * sunrpc/clnt_tcp.c: Likewise.
44091         * sunrpc/clnt_udp.c: Likewise.
44092         * sunrpc/clnt_unix.c: Likewise.
44093         * sysdeps/unix/bsd/ptsname.c: Likewise.
44094         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44095         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44097         Likewise.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44099         Likewise.
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44101         Likewise.
44102         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44104 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44106         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44109 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44111         [BZ #15897]
44112         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44113         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44114         ($(objpfx)bug-dl-leaf): New rule.
44115         ($(objpfx)bug-dl-leaf.so): Likewise.
44116         ($(objpfx)bug-dl-leaf.out): Likewise.
44117         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44118         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44119         * dlfcn/bug-dl-leaf.c: New test.
44120         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44121         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44122         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44123         (dlclose): Likewise.
44124         (dlmopen): Likewise.
44126 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44128         * include/netdb.h [!_ISOMAC]:
44129         Don't include <tls.h>.
44130         (h_errno, __libc_h_errno): Move declaration and macros out of
44131         [_LIBC_REENTRANT].
44133         * include/resolv.h [_RESOLV_H_]:
44134         Don't include <tls.h>.
44135         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44136         * resolv/res_libc.c: Don't include <tls.h>.
44137         (_res): Use __attribute__ ((nocommon)) in place of
44138         __attribute__ ((section (".bss"))).
44140         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44141         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44143         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44145         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44146         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44148         * resolv/res_mkquery.c: Include <sys/time.h>.
44150         * inet/ifreq.c: Moved to ...
44151         * sysdeps/unix/ifreq.c: ... here.
44152         * inet/ifreq.c: New file, true stub version.
44154         * socket/sa_len.c: New file.
44155         * socket/Makefile (aux): Add it.
44156         * sysdeps/unix/sysv/linux/Makefile
44157         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44158         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44159         and #include <socket/sa_len.c>.
44160         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44161         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44163         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44164         * bits/socket.h: ... here.
44166         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44167         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44168         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44170 2013-08-27  Andreas Schwab  <schwab@suse.de>
44172         [BZ #15736]
44173         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44174         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44175         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44176         * string/test-strcasecmp.c (test_main): Run tests in several
44177         locales.
44178         * string/test-strncasecmp.c (test_main): Likewise.
44180         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44181         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44182         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44183         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44184         (__strncasecmp_ssse3) [PIC]: Likewise.
44186 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44188         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44190         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44191         instead of explicitly declaring xdecrypt.
44192         * nis/nss_nis/nis-publickey.c: Likewise.
44194 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44196         [BZ #15890]
44197         * nscd/aicache.c: Include res_hconf.h.
44198         (addhstaiX): Initialize res_hconf.
44200 2013-08-26  Andreas Schwab  <schwab@suse.de>
44202         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44203         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44205 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44207         * nscd/aicache.c (addhstaiX): Fix indentation.
44209 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44211         * configure.ac: Quote $build_pt_chown test.
44212         * configure: Regenerated.
44214 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44216         [BZ #15532]
44217         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44218         * math/s_cexpf.c (__cexpf): Likewise.
44219         * math/s_cexpl.c (__cexpl): Likewise.
44220         * math/libm-test.inc (cexp_test_data): Correct expected return
44221         value for NaN + i0.  Add another test.
44223 2013-08-22  David S. Miller  <davem@davemloft.net>
44225         * po/ca.po: Update Catalan translation from translation project.
44226         * po/uk.po: Add Ukrainian translations from translation project.
44228 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44230         [BZ #15797]
44231         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44232         is infinite, not alongside NaN test.
44233         * math/s_fdimf.c (__fdimf): Likewise.
44234         * math/s_fdiml.c (__fdiml): Likewise.
44235         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44236         errno is unchanged.
44238 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44240         * argp/argp-help.c: Fix typos.
44241         * crypt/speeds.c: Likewise.
44242         * csu/check_fds.c: Likewise.
44243         * elf/dl-load.c: Likewise.
44244         * elf/dl-open.c: Likewise.
44245         * elf/reldep3.c: Likewise.
44246         * elf/reldep.c: Likewise.
44247         * elf/sprof.c: Likewise.
44248         * iconv/iconv_charmap.c: Likewise.
44249         * iconv/skeleton.c: Likewise.
44250         * iconv/strtab.c: Likewise.
44251         * io/lockf64.c: Likewise.
44252         * libio/libioP.h: Likewise.
44253         * resolv/gai_notify.c: Likewise.
44254         * resolv/ns_name.c: Likewise.
44255         * resolv/ns_samedomain.c: Likewise.
44256         * resolv/res_send.c: Likewise.
44257         * stdlib/random.c: Likewise.
44258         * sunrpc/rpc/xdr.h: Likewise.
44259         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44260         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44261         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44262         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44264         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44266         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44267         * sysdeps/mach/hurd/check_fds.c: Likewise.
44268         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44269         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44270         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44271         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44272         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44273         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44274         * sysdeps/pthread/aio_notify.c: Likewise.
44275         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44276         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44277         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44278         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44279         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44281 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44283         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44284         version if bit_Slow_SSE4_2 is set.
44285         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44288 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44290         [BZ #15867]
44291         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44292         trampoline stack frame information.
44293         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44294         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44295         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44296         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44297         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44298         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44299         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44300         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44301         sa_flags value.
44302         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44303         interrupting a syscall and set with option SA_SIGINFO.
44305 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44307         [BZ #15531]
44308         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44309         argument is infinite.
44310         * math/s_cprojf.c (__cprojf): Likewise.
44311         * math/s_cprojl.c (__cprojl): Likewise.
44312         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44313         * math/libm-test.inc (cproj_test_data): Add more tests.
44315         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44317         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44318         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44319         size.  Use __ffs to determine corresponding shift.
44321 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44322             Roland McGrath  <roland@hack.frob.com>
44324         * Makefile (INSTALL): Remove trailing blank lines from output of
44325         makeinfo.
44327 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44329         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44330         Align 32 bit compat elf_greg to 8 bytes.
44332 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44334         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44336 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44338         * string/strcoll_l.c (coll_seq): New structure.
44339         (get_next_seq_cached): New function.
44340         (get_next_seq): New function.
44341         (do_compare): New function.
44342         (STRCOLL): Use GNU style definition.  Simplify implementation
44343         by using get_next_seq, get_next_seq_cached and do_compare.
44345 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44347         [BZ #14699]
44348         CVE-2013-4237
44349         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44350         member.
44351         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44352         member.
44353         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44354         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44355         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44356         conditional.
44357         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44358         GETDENTS_64BIT_ALIGNED.
44359         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44360         * manual/filesys.texi (Reading/Closing Directory): Document
44361         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44362         strongly.
44363         * manual/conf.texi (Limits for Files): Add portability note to
44364         NAME_MAX, PATH_MAX.
44365         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44367 2013-08-13  Andreas Schwab  <schwab@suse.de>
44369         [BZ #15749]
44370         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44371         of fabs.
44372         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44373         LDBL_MAX_EXP >= 16384]: Add tests for it.
44375 2013-08-12  David S. Miller  <davem@davemloft.net>
44377         * version.h (RELEASE): Set to "development".
44378         (VERSION): Set to "2.18.90".
44379         * NEWS: Add 2.19 section.
44381 2013-08-03  David S. Miller  <davem@davemloft.net>
44383         * po/ko.po: Update Korean translation from translation project.
44385 2013-08-01  David S. Miller  <davem@davemloft.net>
44387         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44388         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44389         Bilka.
44391 2013-07-30  David S. Miller  <davem@davemloft.net>
44393         * po/fr.po: Update French translation from translation project.
44395 2013-07-28  David S. Miller  <davem@davemloft.net>
44397         * po/cs.po: Update Czech translation from translation project.
44399         * po/sv.po: Update Swedish translation from translation project.
44401 2013-07-27  David S. Miller  <davem@davemloft.net>
44403         * po/eo.po: Update Esperanto translation from translation project.
44405         * po/vi.po: Update Vietnamese translation from translation project.
44407         * po/de.po: Update German translation from translation project.
44409 2013-07-26  David S. Miller  <davem@davemloft.net>
44411         * po/bg.po: Update Bulgarian translation from translation project.
44413         * po/nl.po: Update Dutch translation from translation project.
44414         * po/pl.po: Update Polish translation from translation project.
44415         * po/ru.po: Update Russian translation from translation project.
44417 2013-07-24  David S. Miller  <davem@davemloft.net>
44419         * po/libc.pot: Update.
44421 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44423         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44424         variable page size.
44425         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44426         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44427         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44429 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44431         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44433 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44434             Andreas Schwab  <schwab@suse.de>
44435             Roland McGrath  <roland@hack.frob.com>
44436             Joseph Myers  <joseph@codesourcery.com>
44437             Carlos O'Donell  <carlos@redhat.com>
44439         [BZ #15755]
44440         * config.h.in: Define HAVE_PT_CHOWN.
44441         * config.make.in (build-pt-chown): New variable.
44442         * configure.in (--enable-pt_chown): New configure option.
44443         * configure: Regenerate.
44444         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44445         build-pt-chown is enabled.
44446         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44447         pt_chown to fix pty ownership.
44448         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44449         CLOSE_ALL_FDS.
44450         * manual/install.texi (Configuring and compiling): Mention
44451         --enable-pt_chown. Add @findex for grantpt.
44452         * INSTALL: Regenerate.
44454 2013-07-20  David S. Miller  <davem@davemloft.net>
44456         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44457         difference between 32-bit and 64-bit.
44459 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44461         [BZ #15711]
44462         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44463         Avoid system header dependency with -ffreestanding.
44464         ($(objpfx)bits/syscall%d): Likewise.
44466 2013-07-13  David S. Miller  <davem@davemloft.net>
44468         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44469         underflows from atanl/atan2l due to bug 15319.
44470         (casinh_test_data): Likewise.
44472 2013-07-07  David S. Miller  <davem@davemloft.net>
44474         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44476 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44478         * sysdeps/i386/fpu/libm-test-ulps: Update.
44479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44481 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44483         * configure.in (--enable-lock-elision): Fix message text.
44484         * INSTALL: Regenerate.
44485         * configure: Regenerate.
44487 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44491 2013-07-03  Andreas Jaeger  <aj@suse.de>
44493         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44494         define.
44495         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44496         (ptrace_peeksiginfo_args): Add.
44497         (__ptrace_peeksiginfo_flags): Add.
44498         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44499         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44500         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44502 2013-07-03  Allan McRae  <allan@archlinux.org>
44504         * sysdeps/i386/fpu/libm-test-ulps: Update.
44506 2013-07-02  David S. Miller  <davem@davemloft.net>
44508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44510 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44514 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44516         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44519 2013-07-02  Andi Kleen <ak@linux.intel.com>
44521         * config.h.in (ENABLE_LOCK_ELISION): Add.
44522         * configure.in (--enable-lock-elision): Add option.
44523         * manual/install.texi: Document --enable lock elision.
44524         * configure: Regenerate
44525         * INSTALL: Regenerate.
44527 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44529         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44530         SSE4.2 strcasecmp for libc.a.
44531         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44533 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #13304]
44536         * soft-fp/op-common.h (_FP_FMA): New macro.
44537         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44538         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44539         (_FP_MUL_MEAT_1_imm): ... here.
44540         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44541         (_FP_MUL_MEAT_1_wide): ... here.
44542         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44543         (_FP_MUL_MEAT_1_hard): ... here.
44544         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44545         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44546         (_FP_MUL_MEAT_2_wide): ... here.
44547         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44548         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44549         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44550         (_FP_MUL_MEAT_2_gmp): ... here.
44551         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44552         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44553         (_FP_MUL_MEAT_4_wide): ... here.
44554         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44555         (_FP_MUL_MEAT_4_gmp): ... here.
44556         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44557         (_FP_WFRACBITS_DW_S): Likewise.
44558         (_FP_WFRACXBITS_DW_S): Likewise.
44559         (_FP_HIGHBIT_DW_S): Likewise.
44560         (FP_FMA_S): Likewise.
44561         (_FP_FRAC_HIGH_DW_S): Likewise.
44562         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44563         (_FP_WFRACBITS_DW_D): Likewise.
44564         (_FP_WFRACXBITS_DW_D): Likewise.
44565         (_FP_HIGHBIT_DW_D): Likewise.
44566         (FP_FMA_D): Likewise.
44567         (_FP_FRAC_HIGH_DW_D): Likewise.
44568         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44569         (_FP_WFRACBITS_DW_E): Likewise.
44570         (_FP_WFRACXBITS_DW_E): Likewise.
44571         (_FP_HIGHBIT_DW_E): Likewise.
44572         (FP_FMA_E): Likewise.
44573         (_FP_FRAC_HIGH_DW_E): Likewise.
44574         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44575         (_FP_WFRACBITS_DW_Q): Likewise.
44576         (_FP_WFRACXBITS_DW_Q): Likewise.
44577         (_FP_HIGHBIT_DW_Q): Likewise.
44578         (FP_FMA_Q): Likewise.
44579         (_FP_FRAC_HIGH_DW_Q): Likewise.
44580         * soft-fp/fmasf4.c: New file.
44581         * soft-fp/fmadf4.c: Likewise.
44582         * soft-fp/fmatf4.c: Likewise.
44584 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44587         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44588         Silvermont.
44589         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44590         macro.
44591         (index_Slow_SSE4_2): Likewise.
44592         (index_Prefer_PMINUB_for_stringop): Likewise.
44593         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44594         bit_Slow_SSE4_2 is set.
44595         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44596         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44598 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44600         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44601         rtld_global._dl_hwcap2.
44602         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44603         POWER8.
44604         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44605         POWER8 feature descriptions defined in _dl_hwcap2.
44606         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44607         string handling for POWER8 feature bits.
44608         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44609         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44610         _dl_powerpc_cap_flags.
44611         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44612         * sysdeps/powerpc/rtld-global-offsets.sym
44613         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44614         _dl_hwcap2 in the rtld_global_ro structure.
44616 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44618         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44619         hardware capabilities in support of AT_HWCAP2.
44620         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44621         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44622         GLRO(dl_hwcap2).
44623         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44624         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44625         explicitly the unknown a_type display mechanism is used.
44626         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44627         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44628         struct member.
44629         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44630         to macro prototype for AT_HWCAP2 support.
44631         * sysdeps/i386/dl-procinfo.h: Likewise.
44632         * sysdeps/s390/dl-procinfo.h: Likewise.
44633         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44634         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44635         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44636         return -1 for unknown a_type display fallback.
44637         * sysdeps/sparc/dl-procinfo.h: Likewise.
44638         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44639         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44641 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44643         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44644         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44646 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44648         [BZ #12492]
44649         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44650         mprotect making __stack_prot writable.
44652 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44653             Joseph Myers  <joseph@codesourcery.com>
44655         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44656         as being properly aligned.
44658 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44660         * dlfcn/modstatic5.c: New file.
44661         * dlfcn/tststatic5.c: New file.
44662         * dlfcn/Makefile (tests): Add tststatic5.
44663         (tests-static): Likewise.
44664         (modules-names): Add modstatic5.
44665         (tststatic5-ENV): New variable.
44666         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44668         [BZ #15022]
44669         * elf/dl-support.c (_dl_main_map): New variable.
44670         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44671         (_dl_nns, _dl_load_adds): Set to 1.
44672         (_dl_initial_searchlist): Refer to _dl_main_map.
44673         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44674         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44675         call to _dl_get_origin.
44676         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44677         around call_map.
44678         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44679         * dlfcn/modstatic3.c: New file.
44680         * dlfcn/tststatic3.c: New file.
44681         * dlfcn/tststatic4.c: New file.
44682         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44683         (tests-static): Likewise.
44684         (modules-names): Add modstatic3.
44685         (tststatic3-ENV, tststatic4-ENV): New variables.
44686         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44687         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44689 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44691         * configure.in (CC): Require GCC version 4.4 or later.
44692         * configure: Regenerated.
44693         * manual/install.texi (Tools for Compilation): Update GCC version
44694         requirement.
44695         * INSTALL: Regenerated.
44697 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44699         [BZ #15674]
44700         * string/test-memcmp.c (check2): New.
44701         (main): Call check2.
44703         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44705 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44707         [BZ #15022]
44708         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44709         over to...
44710         (dl_open_worker) [!SHARED]: ... here.
44712 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44714         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44716 2013-06-25  Richard Henderson  <rth@redhat.com>
44718         * locale/programs/locarchive.c: Include <libc-internal.h>
44720 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44722         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44723         trailing whitespace removed.
44725 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44727         [BZ #10283]
44728         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44729         * locale/programs/locarchive.c: Include libc-mmap.h.
44730         (prepare_address_space): Take two new outputs (the mmap base and len).
44731         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44732         values.
44733         (create_archive): Declare new mmap base and len values for
44734         prepare_address_space, and store the result in ah.
44735         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44736         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44737         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44738         Declare new mmap base and len values for
44739         prepare_address_space, and store the result in new_ah.
44740         (open_archive): Declare new mmap base and len values for
44741         prepare_address_space, and store the result in ah.
44742         (close_archive): If ah->mmap_base is not NULL, use that and
44743         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44744         * sysdeps/generic/libc-mmap.h: New file.
44746 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44748         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44749         (ALIGN_UP): Likewise.
44750         (PTR_ALIGN_DOWN): Likewise.
44751         (PTR_ALIGN_UP): Likewise.
44753 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44755         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44756         entry mapped to PPC_PLATFORM_POWER8.
44757         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44758         POWER8.
44759         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44760         (_dl_string_platform): Add case for exporting platform position for
44761         POWER8.
44762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44763         search path to sysdeps/powerpc/powerpc32/power8 directory.
44764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44765         search path to sysdeps/powerpc/powerpc64/power8 directory.
44766         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44767         power7 directories.
44768         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44769         power7 directories.
44771 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44773         * INSTALL: Regenerate.
44775         * nscd/connections.c (nscd_init): Fix comment.
44777 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44779         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44781         [BZ #15667]
44782         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44783         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44785 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44787         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44788         DL_DST_REQ_STATIC.
44789         (DL_DST_REQ_STATIC): Remove macro.
44791 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44793         [BZ #7006]
44794         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44795         with a shift of 0 bits.
44797 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44799         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44800         $(tststatic-ENV).
44802 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44804         [BZ #15655]
44805         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44807 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44809         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44810         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44811         accepts -fno-tree-loop-distribute-patterns.
44812         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44813         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44814         recursive call.
44815         * string/memset.c (memset): Likewise.
44816         * string/test-memmove.c (simple_memmove): Disable loop transformation
44817         to library calls.
44818         * string/test-memset.c (simple_memset): Likewise.
44819         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44820         * benchtests/bench-memset.c (simple_memset): Likewise.
44821         * configure: Regenerated.
44823 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44825         * math/test-misc.c (main): Ignore fesetround failure when failures
44826         of subsequent rounding tests would be ignored.
44828         [BZ #15654]
44829         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44830         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44831         * math/fegetenv.c (__fegetenv): Return 0.
44832         * math/fegetexcept.c (fegetexcept): Return 0.
44833         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44834         FE_TONEAREST.
44835         * math/feholdexcpt.c (feholdexcept): Return 0.
44836         * math/fesetenv.c (__fesetenv): Return 0.
44837         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44838         argument FE_TONEAREST.
44839         * math/feupdateenv.c (__feupdateenv): Return 0.
44840         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44842 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44844         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44845         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44846         ($(objpfx)rtld-%.os rules): Use them.
44848 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44850         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44851         fields.
44853 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44855         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44856         length of target pattern, then descending length of dependency pattern.
44857         * configure.in (AWK): Require gawk 3.1.2 or newer.
44858         * manual/install.texi (Tools for Compilation): Say that we do.
44859         * configure: Regenerated.
44861         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44862         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44863         * scripts/sysd-rules.awk: ... this new script.
44864         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44865         than a glob-style pattern.
44867 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44869         * math/test-misc.c (main): Do not treat incorrectly rounded
44870         conversions as failure unless ROUNDING_TESTS passes.
44872 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44874         [BZ #15631]
44875         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44876         restore exception state around main square root computation, then
44877         check for inexactness explicitly.
44879         * math/libm-test.inc (fma_test_data): Add another test.
44881 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44883         * manual/threads.texi (Non-POSIX Extensions): New document
44884         node.  Document pthread_getattr_default_np and
44885         pthread_setattr_default_np.
44887         * Versions.def (libpthread): Add GLIBC_2.18.
44888         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44890         Likewise.
44891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44892         Likewise.
44893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44894         Likewise.
44895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44896         Likewise.
44897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44898         Likewise.
44899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44900         Likewise.
44901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44902         Likewise.
44903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44904         Likewise.
44905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44906         Likewise.
44908 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44911         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44913 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44914             H.J. Lu  <hjl.tools@gmail.com>
44916         [BZ #15627]
44917         * sysdeps/x86_64/rtld-memset.c: Remove file.
44918         * sysdeps/x86_64/rtld-memset.S: New file.
44920 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44922         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44923         (test_in_one_mode): Take arguments for whether the rounding mode
44924         is supported for each floating-point type.
44925         (do_test): Pass new arguments to test_in_one_mode using
44926         ROUNDING_TESTS.
44928 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44930         * posix/tst-waitid.c (do_test): Distinguish different instances of
44931         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44932         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44933         before entering the kernel for waitpid.
44935 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44937         * NEWS: Fix note on clock function precision.  Text by Roland
44938         McGrath.
44940 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44942         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44943         it into place only when and if the sanity check passes.
44945 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44947         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44948         output for whether conversion result is exact.  Take argument
44949         indicating whether type is IBM long double.
44950         (round_for_all): Change need_exact field to ibm_ld.
44951         * stdlib/tst-strtod-round.c (struct exactness): New type.
44952         (struct test): Change bool ld_ok field to struct exactness exact.
44953         (TEST): Update all definitions for change to field.
44954         (tests): Regenerate array contents.
44955         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44956         field value.  Check for IBM long double here.
44957         (do_test): Update calls to test_in_one_mode.
44959 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44961         [BZ #12515]
44962         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44963         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44965 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44967         [BZ #15605]
44968         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44969         generated by the compiler on loop optimizations.
44970         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44971         general definitions.
44973 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44975         * math/bug-nextafter.c: Include <math-tests.h>.
44976         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44977         the relevant type.
44978         * math/bug-nexttoward.c: Include <math-tests.h>.
44979         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44980         the relevant type.
44981         * math/test-misc.c: Include <math-tests.h>.
44982         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44983         the relevant type.
44985 2013-06-12  Andreas Jaeger  <aj@suse.de>
44987         * po/ia.po: Update Interlingua translation from translation
44988         project.
44990 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44992         * include/fenv.h: Include stdbool.h.
44993         (struct rm_ctx): New structure.
44994         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44995         Define macro.
44996         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44997         (SET_RESTORE_ROUNDF): Likewise.
44998         (SET_RESTORE_ROUNDL): Likewise.
44999         (SET_RESTORE_ROUND_NOEX): Likewise.
45000         (SET_RESTORE_ROUND_NOEXF): Likewise.
45001         (SET_RESTORE_ROUND_NOEXL): Likewise.
45002         (SET_RESTORE_ROUND_53BIT): Likewise.
45003         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45004         (libc_feresetround_noexf_ctx): Likewise.
45005         (libc_feresetround_noexl_ctx): Likewise.
45006         (libc_feholdsetround_53bit_ctx): Likewise.
45007         (libc_feresetround_53bit_ctx): Likewise.
45008         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45009         (libc_feholdexcept_setround_sse_ctx): New function.
45010         (libc_fesetenv_sse_ctx): Likewise.
45011         (libc_feupdateenv_sse_ctx): Likewise.
45012         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45013         (libc_feholdexcept_setround_387_ctx): Likewise.
45014         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45015         (libc_feholdsetround_387_prec_ctx): Likewise.
45016         (libc_feholdsetround_387_ctx): Likewise.
45017         (libc_feholdsetround_387_53bit_ctx): Likewise.
45018         (libc_feholdsetround_sse_ctx): Likewise.
45019         (libc_feresetround_sse_ctx): Likewise.
45020         (libc_feresetround_387_ctx): Likewise.
45021         (libc_feupdateenv_387_ctx): Likewise.
45022         (libc_feholdexcept_setroundf_ctx): Define macro.
45023         (libc_fesetenvf_ctx): Likewise.
45024         (libc_feupdateenvf_ctx): Likewise.
45025         (libc_feholdsetroundf_ctx): Likewise.
45026         (libc_feresetroundf_ctx): Likewise.
45027         (libc_feholdexcept_setround_ctx): Likewise.
45028         (libc_fesetenv_ctx): Likewise.
45029         (libc_feupdateenv_ctx): Likewise.
45030         (libc_feholdsetround_ctx): Likewise.
45031         (libc_feresetround_ctx): Likewise.
45032         (libc_feholdexcept_setroundl_ctx): Likewise.
45033         (libc_feupdateenvl_ctx): Likewise.
45034         (libc_feholdsetroundl_ctx): Likewise.
45035         (libc_feresetroundl_ctx): Likewise.
45036         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45037         (libc_feresetround_53bit_ctx): Likewise.
45039 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45041         * locale/iso-639.def: Convert to UTF-8.
45043 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45045         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45046         (EXCEPTION_TESTS_double): Likewise.
45047         (EXCEPTION_TESTS_long_double): Likewise.
45048         (EXCEPTION_TESTS): Likewise.
45049         * math/libm-test.inc (test_exceptions): Only test exceptions if
45050         EXCEPTION_TESTS (FLOAT).
45052 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45054         * benchtests/Makefile (string-bench): Add strcpy_chk and
45055         stpcpy_chk.
45056         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45057         * benchtests/bench-stpcpy_chk.c: New file.
45058         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45059         * benchtests/bench-strcpy_chk.c: New file.
45060         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45061         code.
45062         (do_test): Likewise.
45064 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45066         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45067         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45068         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45069         with tabs where appropriate.
45070         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45071         dl-procinfo.h.
45072         [PPC_PLATFORM_PPC440]: Likewise.
45073         [PPC_PLATFORM_PPC464]: Likewise.
45074         [PPC_PLATFORM_PPC476]: Likewise.
45075         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45076         ppc464, and ppc476 platform strings merging from ports/
45077         dl-procinfo.h.
45079 2013-06-11  Andreas Schwab  <schwab@suse.de>
45081         [BZ #14991]
45082         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45083         (from_ucs4_idx): Regenerate.
45084         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45085         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45086         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45087         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45088         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45089         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45090         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45091         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45092         from FROM_LOOP and TO_LOOP specific macros.
45093         (BODY): Handle combining characters.
45094         * iconvdata/BIG5HKSCS.irreversible: Update.
45095         * iconvdata/BIG5HKSCS.precomposed: New file.
45096         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45097         characters.
45098         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45100 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45102         * include/sys/time.h: Fix indentation and add copyright header.
45104         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45105         (do_test): Likewise.
45106         * string/test-memchr.c (do_one_test): Likewise.
45107         (do_test): Likewise.
45108         * string/test-memcmp.c (do_one_test): Likewise.
45109         (do_test): Likewise.
45110         * string/test-memcpy.c (do_one_test): Likewise.
45111         (do_test): Likewise.
45112         * string/test-memmem.c (do_one_test): Likewise.
45113         (do_test): Likewise.
45114         (do_random_tests): Likewise.
45115         * string/test-memmove.c (do_one_test): Likewise.
45116         (do_test): Likewise.
45117         * string/test-memset.c (do_one_test): Likewise.
45118         (do_test): Likewise.
45119         * string/test-rawmemchr.c (do_one_test): Likewise.
45120         (do_test): Likewise.
45121         * string/test-strcasecmp.c (do_one_test): Likewise.
45122         (do_test): Likewise.
45123         * string/test-strcasestr.c (do_one_test): Likewise.
45124         (do_test): Likewise.
45125         * string/test-strcat.c (do_one_test): Likewise.
45126         (do_test): Likewise.
45127         * string/test-strchr.c (do_one_test): Likewise.
45128         (do_test): Likewise.
45129         * string/test-strcmp.c (do_one_test): Likewise.
45130         (do_test): Likewise.
45131         * string/test-strcpy.c (do_one_test): Likewise.
45132         (do_test): Likewise.
45133         * string/test-string.h: Likewise.
45134         (test_init): Likewise.
45135         * string/test-strlen.c (do_one_test): Likewise.
45136         (do_test): Likewise.
45137         * string/test-strncasecmp.c (do_one_test): Likewise.
45138         (do_test): Likewise.
45139         * string/test-strncat.c (do_one_test): Likewise.
45140         (do_test): Likewise.
45141         * string/test-strncmp.c (do_one_test): Likewise.
45142         (do_test_limit): Likewise.
45143         (do_test): Likewise.
45144         * string/test-strncpy.c (do_one_test): Likewise.
45145         (do_test): Likewise.
45146         * string/test-strnlen.c (do_one_test): Likewise.
45147         (do_test): Likewise.
45148         * string/test-strpbrk.c (do_one_test): Likewise.
45149         (do_test): Likewise.
45150         * string/test-strrchr.c (do_one_test): Likewise.
45151         (do_test): Likewise.
45152         * string/test-strspn.c (do_one_test): Likewise.
45153         (do_test): Likewise.
45154         * string/test-strstr.c (do_one_test): Likewise.
45155         (do_test): Likewise.
45157         * benchtests/Makefile (string-bench): Add string benchmarks.
45158         * benchtests/bench-bcopy-ifunc.c: New file.
45159         * benchtests/bench-bcopy.c: New file.
45160         * benchtests/bench-bzero-ifunc.c: New file.
45161         * benchtests/bench-bzero.c: New file.
45162         * benchtests/bench-memccpy-ifunc.c: New file.
45163         * benchtests/bench-memccpy.c: New file.
45164         * benchtests/bench-memchr-ifunc.c: New file.
45165         * benchtests/bench-memchr.c: New file.
45166         * benchtests/bench-memcmp-ifunc.c: New file.
45167         * benchtests/bench-memcmp.c: New file.
45168         * benchtests/bench-memmem-ifunc.c: New file.
45169         * benchtests/bench-memmem.c: New file.
45170         * benchtests/bench-memmove-ifunc.c: New file.
45171         * benchtests/bench-memmove.c: New file.
45172         * benchtests/bench-mempcpy-ifunc.c: New file.
45173         * benchtests/bench-mempcpy.c: New file.
45174         * benchtests/bench-memset-ifunc.c: New file.
45175         * benchtests/bench-memset.c: New file.
45176         * benchtests/bench-rawmemchr-ifunc.c: New file.
45177         * benchtests/bench-rawmemchr.c: New file.
45178         * benchtests/bench-stpcpy-ifunc.c: New file.
45179         * benchtests/bench-stpcpy.c: New file.
45180         * benchtests/bench-stpncpy-ifunc.c: New file.
45181         * benchtests/bench-stpncpy.c: New file.
45182         * benchtests/bench-strcasecmp-ifunc.c: New file.
45183         * benchtests/bench-strcasecmp.c: New file.
45184         * benchtests/bench-strcasestr-ifunc.c: New file.
45185         * benchtests/bench-strcasestr.c: New file.
45186         * benchtests/bench-strcat-ifunc.c: New file.
45187         * benchtests/bench-strcat.c: New file.
45188         * benchtests/bench-strchr-ifunc.c: New file.
45189         * benchtests/bench-strchr.c: New file.
45190         * benchtests/bench-strchrnul-ifunc.c: New file.
45191         * benchtests/bench-strchrnul.c: New file.
45192         * benchtests/bench-strcmp-ifunc.c: New file.
45193         * benchtests/bench-strcmp.c: New file.
45194         * benchtests/bench-strcpy-ifunc.c: New file.
45195         * benchtests/bench-strcpy.c: New file.
45196         * benchtests/bench-strcspn-ifunc.c: New file.
45197         * benchtests/bench-strcspn.c: New file.
45198         * benchtests/bench-strlen-ifunc.c: New file.
45199         * benchtests/bench-strlen.c: New file.
45200         * benchtests/bench-strncasecmp-ifunc.c: New file.
45201         * benchtests/bench-strncasecmp.c: New file.
45202         * benchtests/bench-strncat-ifunc.c: New file.
45203         * benchtests/bench-strncat.c: New file.
45204         * benchtests/bench-strncmp-ifunc.c: New file.
45205         * benchtests/bench-strncmp.c: New file.
45206         * benchtests/bench-strncpy-ifunc.c: New file.
45207         * benchtests/bench-strncpy.c: New file.
45208         * benchtests/bench-strnlen-ifunc.c: New file.
45209         * benchtests/bench-strnlen.c: New file.
45210         * benchtests/bench-strpbrk-ifunc.c: New file.
45211         * benchtests/bench-strpbrk.c: New file.
45212         * benchtests/bench-strrchr-ifunc.c: New file.
45213         * benchtests/bench-strrchr.c: New file.
45214         * benchtests/bench-strspn-ifunc.c: New file.
45215         * benchtests/bench-strspn.c: New file.
45216         * benchtests/bench-strstr-ifunc.c: New file.
45217         * benchtests/bench-strstr.c: New file.
45219         * benchtests/Makefile: Disable parallel execution of targets.
45220         (string-bench): Add memcpy.
45221         (benchset): New variable to store a list of benchmark sets.
45222         (bench-func): Renamed from bench.
45223         (bench-set): New target.
45224         (bench): Depend on bench-func and bench-set.
45225         * benchtests/README: Add section on benchmark sets.
45226         * benchtests/bench-memcpy-ifunc.c: New file.
45227         * benchtests/bench-memcpy.c: New file.
45228         * benchtests/bench-string.h: New file.
45230 2013-06-11  Andreas Schwab  <schwab@suse.de>
45232         [BZ #15577]
45233         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45234         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45235         values in the triple.
45236         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45237         terminator in the group key.
45239 2013-06-11  Andreas Jaeger  <aj@suse.de>
45241         * po/zh_TW.po: Update Chinese (traditional) translation from
45242         translation project.
45244 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45246         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45247         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45248         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45250         (clock_getcpuclockid): Likewise.
45251         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45252         Add weak_alias and libc_hidden_def.
45253         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45254         * rt/clock_gettime.c (clock_gettime): Rename to
45255         __clock_gettime.  Add weak_alias and libc_hidden_def.
45256         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45257         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45258         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45259         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45260         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45261         Likewise.
45262         * rt/clock_settime.c (clock_settime): Rename to
45263         __clock_settime.  Add weak_alias and libc_hidden_def.
45264         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45266 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45268         * mach/err_boot.sub: Remove trailing whitespace.
45269         * mach/err_ipc.sub: Likewise.
45270         * mach/err_mach.sub: Likewise.
45272         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45273         (ROUNDING_TESTS_double): Likewise.
45274         (ROUNDING_TESTS_long_double): Likewise.
45275         (ROUNDING_TESTS): Likewise.
45276         * math/libm-test.inc: Include <math-tests.h>.
45277         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45278         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45279         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45280         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45282 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45284         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45285         of assigning.
45287 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45289         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45290         otherwise empty TRANS lines.
45291         * sysdeps/gnu/errlist.c: Regenerated.
45293         * catgets/gencat.c (error_print): Use (void) in function
45294         definition.
45295         * crypt/crypt_util.c (__init_des): Likewise.
45296         * crypt/speeds.c (Stop): Likewise.
45297         (main): Likewise.
45298         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45299         * inet/ruserpass.c (token): Likewise.
45300         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45301         * intl/localealias.c (extend_alias_table): Likewise.
45302         * intl/plural-exp.c (init_germanic_plural): Likewise.
45303         * libio/fcloseall.c (__fcloseall): Likewise.
45304         * libio/genops.c (_IO_flush_all): Likewise.
45305         (_IO_flush_all_linebuffered): Likewise.
45306         (_IO_cleanup): Likewise.
45307         (_IO_iter_begin): Likewise.
45308         (_IO_iter_end): Likewise.
45309         (_IO_list_lock): Likewise.
45310         (_IO_list_unlock): Likewise.
45311         (_IO_list_resetlock): Likewise.
45312         * libio/getchar.c (getchar): Likewise.
45313         * libio/getchar_u.c (getchar_unlocked): Likewise.
45314         * libio/getwchar.c (getwchar): Likewise.
45315         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45316         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45317         * login/getpt.c (__getpt): Likewise.
45318         * login/tst-utmp.c (main): Likewise.
45319         * malloc/hooks.c (__malloc_check_init): Likewise.
45320         * malloc/malloc.c (__malloc_stats): Likewise.
45321         * malloc/mtrace.c (tr_break): Likewise.
45322         (mtrace): Likewise.
45323         (muntrace): Likewise.
45324         * misc/fstab.c (endfsent): Likewise.
45325         * misc/getclktck.c (__getclktck): Likewise.
45326         * misc/getdtsz.c (__getdtablesize): Likewise.
45327         * misc/gethostid.c (gethostid): Likewise.
45328         * misc/getpagesize.c (__getpagesize): Likewise.
45329         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45330         (__get_nprocs): Likewise.
45331         (__get_phys_pages): Likewise.
45332         (__get_avphys_pages): Likewise.
45333         * misc/getttyent.c (getttyent): Likewise.
45334         (setttyent): Likewise.
45335         (endttyent): Likewise.
45336         * misc/getusershell.c (getusershell): Likewise.
45337         (endusershell): Likewise.
45338         (setusershell): Likewise.
45339         (initshells): Likewise.
45340         * misc/hsearch.c (__hdestroy): Likewise.
45341         * misc/sync.c (sync): Likewise.
45342         * misc/syslog.c (closelog_internal): Likewise.
45343         (closelog): Likewise.
45344         * misc/ttyslot.c (ttyslot): Likewise.
45345         * misc/vhangup.c (vhangup): Likewise.
45346         * posix/fork.c (__fork): Likewise.
45347         * posix/getegid.c (__getegid): Likewise.
45348         * posix/geteuid.c (__geteuid): Likewise.
45349         * posix/getgid.c (__getgid): Likewise.
45350         * posix/getpid.c (__getpid): Likewise.
45351         * posix/getppid.c (__getppid): Likewise.
45352         * posix/getuid.c (__getuid): Likewise.
45353         * posix/pause.c (pause): Likewise.
45354         * posix/setpgrp.c (setpgrp): Likewise.
45355         * posix/setsid.c (__setsid): Likewise.
45356         * posix/test-vfork.c (noop): Likewise.
45357         * resolv/gethnamaddr.c (_endhtent): Likewise.
45358         (_gethtent): Likewise.
45359         (ht_endhostent): Likewise.
45360         (gethostent): Likewise.
45361         (dns_service): Likewise.
45362         * stdlib/drand48.c (drand48): Likewise.
45363         * stdlib/lrand48.c (lrand48): Likewise.
45364         * stdlib/mrand48.c (mrand48): Likewise.
45365         * stdlib/rand.c (rand): Likewise.
45366         * stdlib/random.c (__random): Likewise.
45367         * stdlib/setenv.c (clearenv): Likewise.
45368         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45369         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45370         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45371         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45372         (__get_nprocs): Likewise.
45373         (__get_phys_pages): Likewise.
45374         (__get_avphys_pages): Likewise.
45375         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45376         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45377         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45378         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45379         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45380         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45381         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45382         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45383         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45384         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45385         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45386         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45387         * sysdeps/posix/clock.c (clock): Likewise.
45388         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45389         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45390         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45391         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45392         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45393         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45394         (__get_nprocs_conf): Likewise.
45395         (__get_phys_pages): Likewise.
45396         (__get_avphys_pages): Likewise.
45397         * time/clock.c (clock): Likewise.
45398         * time/tzset.c (__tzname_max): Likewise.
45400 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45402         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45403         (__bswap_32): Do not use "register".
45404         * crypt/crypt.c (_ufc_doit_r): Likewise.
45405         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45406         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45407         * gmon/gmon.c (__monstartup): Likewise.
45408         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45409         * hurd/hurdmalloc.c (more_memory): Likewise.
45410         (malloc): Likewise.
45411         (free): Likewise.
45412         (realloc): Likewise.
45413         (malloc_fork_prepare): Likewise.
45414         (malloc_fork_parent): Likewise.
45415         (malloc_fork_child): Likewise.
45416         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45417         (_svcauth_des): Likewise.
45418         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45419         * inet/inet_net.c (inet_network): Likewise.
45420         * inet/inet_netof.c (inet_netof): Likewise.
45421         * inet/rcmd.c (__validuser2_sa): Likewise.
45422         * io/fts.c (fts_open): Likewise.
45423         (fts_load): Likewise.
45424         (fts_close): Likewise.
45425         (fts_read): Likewise.
45426         (fts_children): Likewise.
45427         (fts_build): Likewise.
45428         (fts_stat): Likewise.
45429         (fts_sort): Likewise.
45430         (fts_alloc): Likewise.
45431         (fts_lfree): Likewise.
45432         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45433         (_IO_file_xsgetn): Likewise.
45434         (_IO_file_xsgetn_mmap): Likewise.
45435         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45436         (_IO_cookie_write): Likewise.
45437         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45438         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45439         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45440         * malloc/obstack.c (_obstack_begin): Likewise.
45441         (_obstack_begin_1): Likewise.
45442         (_obstack_newchunk): Likewise.
45443         (_obstack_allocated_p): Likewise.
45444         (obstack_free): Likewise.
45445         (_obstack_memory_used): Likewise.
45446         * misc/getttyent.c (getttynam): Likewise.
45447         (getttyent): Likewise.
45448         (skip): Likewise.
45449         (value): Likewise.
45450         * misc/getusershell.c (initshells): Likewise.
45451         * misc/syslog.c (__vsyslog_chk): Likewise.
45452         * misc/ttyslot.c (ttyslot): Likewise.
45453         * nis/nis_hash.c (__nis_hash): Likewise.
45454         * posix/fnmatch_loop.c (FCT): Likewise.
45455         * posix/getconf.c (print_all): Likewise.
45456         (main): Likewise.
45457         * posix/getopt.c (exchange): Likewise.
45458         * posix/glob.c (globfree): Likewise.
45459         (prefix_array): Likewise.
45460         (__glob_pattern_type): Likewise.
45461         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45462         (NS_GET32): Likewise.
45463         (NS_PUT16): Likewise.
45464         (NS_PUT32): Likewise.
45465         * resolv/gethnamaddr.c (getanswer): Likewise.
45466         (gethostbyname2): Likewise.
45467         (gethostbyaddr): Likewise.
45468         (_gethtent): Likewise.
45469         (_gethtbyname2): Likewise.
45470         (_gethtbyaddr): Likewise.
45471         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45472         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45473         * resolv/res_init.c (__res_vinit): Likewise.
45474         (net_mask): Likewise.
45475         * resolv/res_mkquery.c (outchar): Likewise.
45476         (PRINT): Likewise.
45477         * stdio-common/printf_fp.c (outchar): Likewise.
45478         (PRINT): Likewise.
45479         * stdio-common/printf_fphex.c (outchar): Likewise.
45480         (PRINT): Likewise.
45481         * stdio-common/printf_size.c (outchar): Likewise.
45482         (PRINT): Likewise.
45483         * stdio-common/test_rdwr.c (main): Likewise.
45484         * stdio-common/tfformat.c (matches): Likewise.
45485         * stdio-common/vfprintf.c (outchar): Likewise.
45486         (printf_unknown): Likewise.
45487         (buffered_vfprintf): Likewise.
45488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45489         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45490         (ReadFile): Likewise.
45491         * stdlib/qsort.c (SWAP): Likewise.
45492         (_quicksort): Likewise.
45493         * stdlib/setenv.c (__add_to_environ): Likewise.
45494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45495         * stdlib/strtol_l.c (__strtol_l): Likewise.
45496         * stdlib/tst-strtod.c (main): Likewise.
45497         * stdlib/tst-strtol.c (main): Likewise.
45498         * stdlib/tst-strtoll.c (main): Likewise.
45499         * string/bits/string2.h (__strcmp_cc): Likewise.
45500         (__strcmp_cg): Likewise.
45501         (__strcspn_c1): Likewise.
45502         (__strcspn_c2): Likewise.
45503         (__strcspn_c3): Likewise.
45504         (__strspn_c1): Likewise.
45505         (__strspn_c2): Likewise.
45506         (__strspn_c3): Likewise.
45507         (__strsep_1c): Likewise.
45508         (__strsep_2c): Likewise.
45509         (__strsep_3c): Likewise.
45510         * string/memccpy.c (__memccpy): Likewise.
45511         * string/stpcpy.c (__stpcpy): Likewise.
45512         * string/strcmp.c (strcmp): Likewise.
45513         * string/strrchr.c (strrchr): Likewise.
45514         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45515         Likewise.
45516         * sysdeps/mach/hurd/getcwd.c
45517         (_hurd_canonicalize_directory_name_internal): Likewise.
45518         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45519         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45520         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45521         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45522         Likewise, in both definitions.
45523         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45524         definitions.
45525         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45526         64] (__bswap_64): Likewise.
45527         * time/test_time.c (main): Likewise.
45528         * time/tzfile.c (__tzfile_read): Likewise.
45529         (__tzfile_compute): Likewise.
45530         * time/tzset.c (__tzset_parse_tz): Likewise.
45531         (tzset_internal): Likewise.
45532         (compute_change): Likewise.
45533         * wcsmbs/wcscat.c (__wcscat): Likewise.
45534         * wcsmbs/wcschr.c (wcschr): Likewise.
45535         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45536         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45537         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45538         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45539         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45540         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45541         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45542         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45543         * wcsmbs/wmemset.c (wmemset): Likewise.
45545 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45547         * scripts/config.guess: Update to version 2013-05-16.
45548         * scripts/config.sub: Update to version 2013-04-24.
45549         * scripts/install-sh: Update to version 2011-11-20.07.
45550         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45551         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45553 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45555         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45556         * elf/sln.c: Likewise.
45557         * hurd/hurd/ioctl.h: Likewise.
45558         * hurd/hurdmalloc.c: Likewise.
45559         * hurd/xattr.c: Likewise.
45560         * include/shlib-compat.h: Likewise.
45561         * inet/ruserpass.c: Likewise.
45562         * libio/iofgets_u.c: Likewise.
45563         * libio/iofgetws_u.c: Likewise.
45564         * locale/programs/ld-identification.c: Likewise.
45565         * locale/programs/ld-time.c: Likewise.
45566         * mach/msg-destroy.c: Likewise.
45567         * nss/nss_files/files-netgrp.c: Likewise.
45568         * resolv/res_data.c: Likewise.
45569         * soft-fp/op-1.h: Likewise.
45570         * soft-fp/op-2.h: Likewise.
45571         * soft-fp/op-4.h: Likewise.
45572         * soft-fp/op-common.h: Likewise.
45573         * stdio-common/printf_fphex.c: Likewise.
45574         * stdlib/strtod_l.c: Likewise.
45575         * sunrpc/rpc/clnt.h: Likewise.
45576         * sysdeps/generic/framestate.c: Likewise.
45577         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45578         * sysdeps/i386/bsd-setjmp.S: Likewise.
45579         * sysdeps/i386/__longjmp.S: Likewise.
45580         * sysdeps/i386/setjmp.S: Likewise.
45581         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45582         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45583         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45591         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45592         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45593         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45594         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45595         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45596         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45597         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45598         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45599         * sysdeps/ieee754/support.c: Likewise.
45600         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45601         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45602         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45603         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45604         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45605         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45606         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45607         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45608         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45609         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45610         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45611         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45612         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45613         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45614         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45615         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45616         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45619 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45621         * posix/transbug.c: Remove executable mode.
45623 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45625         * crypt/speeds.c: Remove trailing whitespace.
45626         * dlfcn/default.c: Likewise.
45627         * elf/ifuncdep2.c: Likewise.
45628         * elf/ifuncmain1.c: Likewise.
45629         * elf/ifuncmain1vis.c: Likewise.
45630         * elf/testobj.h: Likewise.
45631         * elf/tst-stackguard1.c: Likewise.
45632         * gmon/sys/gmon.h: Likewise.
45633         * hurd/hurdmsg.c: Likewise.
45634         * hurd/new-fd.c: Likewise.
45635         * hurd/ports-get.c: Likewise.
45636         * iconvdata/ibm1008_420.c: Likewise.
45637         * inet/tst-getni1.c: Likewise.
45638         * inet/tst-getni2.c: Likewise.
45639         * libio/ioungetc.c: Likewise.
45640         * libio/wfiledoalloc.c: Likewise.
45641         * manual/libm-err-tab.pl: Likewise.
45642         * math/w_dremf.c: Likewise.
45643         * misc/ftruncate.c: Likewise.
45644         * posix/bug-glob2.c: Likewise.
45645         * posix/tst-pcre.c: Likewise.
45646         * posix/wait4.c: Likewise.
45647         * resolv/README: Likewise.
45648         * resolv/res_debug.h: Likewise.
45649         * resolv/tst-inet_ntop.c: Likewise.
45650         * setjmp/bug269-setjmp.c: Likewise.
45651         * soft-fp/extended.h: Likewise.
45652         * soft-fp/op-1.h: Likewise.
45653         * soft-fp/op-2.h: Likewise.
45654         * soft-fp/op-4.h: Likewise.
45655         * soft-fp/op-8.h: Likewise.
45656         * soft-fp/testit.c: Likewise.
45657         * stdio-common/bug16.c: Likewise.
45658         * stdlib/random.c: Likewise.
45659         * sunrpc/rpcsvc/rquota.x: Likewise.
45660         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45661         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45662         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45663         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45664         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45665         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45666         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45667         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45668         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45669         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45670         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45681         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45683         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45684         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45686         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45688         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45689         * sysdeps/ieee754/s_lib_version.c: Likewise.
45690         * sysdeps/mach/hurd/check_fds.c: Likewise.
45691         * sysdeps/mach/hurd/getsockname.c: Likewise.
45692         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45693         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45694         * sysdeps/powerpc/bits/link.h: Likewise.
45695         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45696         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45697         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45698         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45699         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45700         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45701         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45702         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45703         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45704         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45705         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45706         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45707         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45709         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45710         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45711         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45712         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45713         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45714         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45715         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45716         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45717         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45718         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45719         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45720         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45721         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45722         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45723         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45724         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45727         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45728         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45729         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45730         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45731         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45732         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45733         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45734         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45735         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45736         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45737         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45738         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45739         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45740         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45741         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45742         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45743         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45744         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45745         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45747         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45748         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45749         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45750         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45751         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45752         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45753         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45754         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45755         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45756         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45757         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45758         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45759         * sysdeps/powerpc/sysdep.h: Likewise.
45760         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45761         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45762         * sysdeps/sh/dl-trampoline.S: Likewise.
45763         * sysdeps/sh/memset.S: Likewise.
45764         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45765         * sysdeps/sh/strlen.S: Likewise.
45766         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45767         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45768         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45769         * sysdeps/sparc/sparc32/rem.S: Likewise.
45770         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45771         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45772         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45773         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45774         * sysdeps/sparc/sparc32/urem.S: Likewise.
45775         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45776         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45777         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45778         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45779         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45780         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45781         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45782         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45783         * sysdeps/unix/bsd/times.c: Likewise.
45784         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45785         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45789         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45790         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45791         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45792         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45793         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45794         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45795         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45796         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45797         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45798         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45799         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45800         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45801         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45802         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45803         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45804         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45805         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45806         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45807         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45808         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45809         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45810         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45811         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45812         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45813         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45814         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45815         * sysdeps/x86_64/strcspn.S: Likewise.
45817 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45819         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45820         generated file.  Regenerate properly from gen-translit.pl.
45821         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45822         locale/C-translit.h.
45824 2013-06-05  Andreas Schwab  <schwab@suse.de>
45826         [BZ #15100]
45827         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45828         week as 6 instead of -1.
45829         * time/tst-strptime.c (day_tests): Add test case.
45831 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45833         * sysdeps/generic/math_private.h
45834         (libc_feholdexcept_setround_53bit): Replace with
45835         libc_feholdsetround_53bit.
45836         (libc_feupdateenv_53bit): Replace with
45837         libc_feresetround_53bit.
45838         (SET_RESTORE_ROUND_53BIT): Adjust.
45840 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45842         * string/test-strchrnul.c: Add copyright header.
45844         * posix/tst-getaddrinfo4.c: Increase test timeout.
45846 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45848         [BZ #15536]
45849         * math/libm-test.inc (MAX_EXP): Remove
45850         (MIN_EXP): Define.
45851         (ulp): Use MIN_EXP - MANT_DIG.
45852         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45854 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45856         * po/be.po: Revert last change.
45857         * po/zh_CN.po: Likewise.
45858         * po/header.pot: Likewise.
45860 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45862         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45863         link-libc-deps to empty as target-specific variable.
45864         * Makerules (link-libc-args): New variable.
45865         (libc-for-link): Likewise.
45866         (link-libc-deps): Likewise.
45867         (lib%.so): Depend on $(link-libc-deps).  Link with
45868         $(link-libc-args).
45869         (build-module): Link with $(link-libc-args).
45870         (build-module-asneeded): Likewise.
45871         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45872         list of objects.
45873         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45874         target-specific variable.
45875         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45876         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45877         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45878         libc.
45879         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45880         libc and ld.so.
45881         ($(objpfx)libpcprofile.so): Likewise.
45882         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45883         libc_nonshared.a.
45884         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45885         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45886         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45887         $(link-libc-deps).
45888         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45889         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45890         * login/Makefile ($(objpfx)libutil.so): Likewise.
45891         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45892         * math/Makefile ($(objpfx)libm.so): Likewise.
45893         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45894         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45895         variable instead of depending directly on libc.
45896         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45897         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45898         $(link-libc-deps).
45899         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45900         libc.
45901         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45902         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45903         ($(objpfx)libanl.so): Likewise.
45904         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45905         ld.so.
45906         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45907         $(link-libc-deps).
45908         * sysdeps/i386/fpu/Makefile: Remove file.
45909         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45910         ($(objpfx)libm.so): Remove dependency on ld.so.
45912 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45914         [BZ # 15553]
45915         * nis/yp_xdr.c (XDRMAXNAME): Define.
45916         (XDRMAXRECORD): Define.
45917         (xdr_domainname): Use XDRMAXNAME.
45918         (xdr_mapname): Likewise.
45919         (xdr_peername): Likewise.
45920         (xdr_keydat): Use XDRMAXRECORD.
45921         (xdr_valdat): Likewise.
45923 2013-05-30  Jeff Law  <law@redhat.com>
45925         [BZ #14256]
45926         * manual/errno.texi (ESTALE): Update to account for more than
45927         just NFS file systems.
45928         * sysdeps/gnu/errlist.c: Regenerated.
45930 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45932         [BZ #15465]
45933         * elf/Makefile (tests): Add tst-null-argv.
45934         (modules-names):  Add tst-null-argv-lib.
45935         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45936         (tst-null-argv-ENV): Set environment for tst-null-argv.
45937         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45938         (RTLD_PROGNAME): New macro.
45939         * elf/tst-null-argv.c: New test case.
45940         * elf/tst-null-argv-lib.c: Library for test case.
45941         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45942         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45943         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45944         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45945         * elf/dl-init.c (call_init): Likewise.
45946         (_dl_init): Likewise.
45947         * elf/dl-load.c (print_search_path): Likewise.
45948         (_dl_map_object): Likewise.
45949         * elf/dl-lookup.c (do_lookup_x): Likewise.
45950         (add_dependency): Likewise.
45951         (_dl_lookup_symbol_x): Likewise.
45952         (_dl_debug_bindings): Likewise.
45953         * elf/dl-open.c (_dl_show_scope): Likewise.
45954         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45955         * elf/dl-version.c (match_symbol): Likewise.
45956         (_dl_check_map_versions): Likewise.
45957         * elf/rtld.c (dl_main): Likewise.
45958         (print_unresolved): Use RTLD_PROGNAME.
45959         (print_missing_version): Likewise.
45960         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45961         (elf_machine_rela): Likewise.
45962         * sysdeps/powerpc/powerpc32/dl-machine.c
45963         (__process_machine_rela): Likewise.
45964         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45965         Likewise.
45966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45967         Likewise.
45968         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45969         Likewise.
45970         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45971         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45972         Likewise.
45973         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45974         Likewise.
45975         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45977 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45979         * po/be.po: Add descriptive title.
45980         * po/zh_CN.po: Likewise.
45981         * po/header.pot: Likewise.
45983 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45985         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45986         error message.
45987         (enlarge_archive): Likewise.
45989 2013-05-28  Ben North  <ben@redfrontdoor.org>
45991         * manual/arith.texi (frexp): It is the magnitude of the return
45992         value which lies in [0.5, 1), not the return value itself.
45994 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45998 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46000         * stdio-common/bug26.c (main): Correct fscanf template.
46002         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46003         declare _dl_skip_args.
46005         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46006         Don't declare.
46008         * manual/platform.texi: Add missing @end deftypefun.
46010 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46012         [BZ #15529]
46013         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46014         bit of mantissa of 2^16382.
46015         * math/libm-test.inc (hypot_test_data): Add more tests.
46017         * math/libm-test.inc: Add drem and pow10 to list of tested
46018         functions.
46019         (pow10_test): New function.
46020         (drem_test): Likewise.
46021         (drem_test_tonearest): Likewise.
46022         (drem_test_towardzero): Likewise.
46023         (drem_test_downward): Likewise.
46024         (drem_test_upward): Likewise.
46025         (main): Call the new functions.
46027         * math/libm-test.inc (finite_test_data): Remove.
46028         (finite_test): Run tests from isfinite_test_data.
46029         (gamma_test_data): Remove.
46030         (gamma_test): Run tests from lgamma_test_data.
46031         * sysdeps/i386/fpu/libm-test-ulps: Update.
46032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46034 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46036         * manual/platform.texi: Add PowerPC PPR function set documentation.
46037         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46038         implementation.
46040 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46042         * math/libm-test.inc (MAX_EXP): Define.
46043         (ULPDIFF): Define.
46044         (ulp): New function.
46045         (check_float_internal): Use ULPDIFF.
46046         (cpow_test): Disable failing test.
46047         (check_ulp): Test ulp() implemetnation.
46048         (main): Call check_ulp before starting tests.
46050 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46052         * math/gen-libm-test.pl (generate_testfile): Do not handle
46053         START_DATA and END_DATA.
46054         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46055         END_DATA.
46056         (acos_tonearest_test_data): Likewise.
46057         (acos_towardzero_test_data): Likewise.
46058         (acos_downward_test_data): Likewise.
46059         (acos_upward_test_data): Likewise.
46060         (acosh_test_data): Likewise.
46061         (asin_test_data): Likewise.
46062         (asin_tonearest_test_data): Likewise.
46063         (asin_towardzero_test_data): Likewise.
46064         (asin_downward_test_data): Likewise.
46065         (asin_upward_test_data): Likewise.
46066         (asinh_test_data): Likewise.
46067         (atan_test_data): Likewise.
46068         (atanh_test_data): Likewise.
46069         (atan2_test_data): Likewise.
46070         (cabs_test_data): Likewise.
46071         (cacos_test_data): Likewise.
46072         (cacosh_test_data): Likewise.
46073         (carg_test_data): Likewise.
46074         (casin_test_data): Likewise.
46075         (casinh_test_data): Likewise.
46076         (catan_test_data): Likewise.
46077         (catanh_test_data): Likewise.
46078         (cbrt_test_data): Likewise.
46079         (ccos_test_data): Likewise.
46080         (ccosh_test_data): Likewise.
46081         (ceil_test_data): Likewise.
46082         (cexp_test_data): Likewise.
46083         (cimag_test_data): Likewise.
46084         (clog_test_data): Likewise.
46085         (clog10_test_data): Likewise.
46086         (conj_test_data): Likewise.
46087         (copysign_test_data): Likewise.
46088         (cos_test_data): Likewise.
46089         (cos_tonearest_test_data): Likewise.
46090         (cos_towardzero_test_data): Likewise.
46091         (cos_downward_test_data): Likewise.
46092         (cos_upward_test_data): Likewise.
46093         (cosh_test_data): Likewise.
46094         (cosh_tonearest_test_data): Likewise.
46095         (cosh_towardzero_test_data): Likewise.
46096         (cosh_downward_test_data): Likewise.
46097         (cosh_upward_test_data): Likewise.
46098         (cpow_test_data): Likewise.
46099         (cproj_test_data): Likewise.
46100         (creal_test_data): Likewise.
46101         (csin_test_data): Likewise.
46102         (csinh_test_data): Likewise.
46103         (csqrt_test_data): Likewise.
46104         (ctan_test_data): Likewise.
46105         (ctan_tonearest_test_data): Likewise.
46106         (ctan_towardzero_test_data): Likewise.
46107         (ctan_downward_test_data): Likewise.
46108         (ctan_upward_test_data): Likewise.
46109         (ctanh_test_data): Likewise.
46110         (ctanh_tonearest_test_data): Likewise.
46111         (ctanh_towardzero_test_data): Likewise.
46112         (ctanh_downward_test_data): Likewise.
46113         (ctanh_upward_test_data): Likewise.
46114         (erf_test_data): Likewise.
46115         (erfc_test_data): Likewise.
46116         (exp_test_data): Likewise.
46117         (exp_tonearest_test_data): Likewise.
46118         (exp_towardzero_test_data): Likewise.
46119         (exp_downward_test_data): Likewise.
46120         (exp_upward_test_data): Likewise.
46121         (exp10_test_data): Likewise.
46122         (exp2_test_data): Likewise.
46123         (expm1_test_data): Likewise.
46124         (fabs_test_data): Likewise.
46125         (fdim_test_data): Likewise.
46126         (finite_test_data): Likewise.
46127         (floor_test_data): Likewise.
46128         (fma_test_data): Likewise.
46129         (fma_towardzero_test_data): Likewise.
46130         (fma_downward_test_data): Likewise.
46131         (fma_upward_test_data): Likewise.
46132         (fmax_test_data): Likewise.
46133         (fmin_test_data): Likewise.
46134         (fmod_test_data): Likewise.
46135         (fpclassify_test_data): Likewise.
46136         (frexp_test_data): Likewise.
46137         (gamma_test_data): Likewise.
46138         (hypot_test_data): Likewise.
46139         (ilogb_test_data): Likewise.
46140         (isfinite_test_data): Likewise.
46141         (isgreater_test_data): Likewise.
46142         (isgreaterequal_test_data): Likewise.
46143         (isinf_test_data): Likewise.
46144         (isless_test_data): Likewise.
46145         (islessequal_test_data): Likewise.
46146         (islessgreater_test_data): Likewise.
46147         (isnan_test_data): Likewise.
46148         (isnormal_test_data): Likewise.
46149         (issignaling_test_data): Likewise.
46150         (isunordered_test_data): Likewise.
46151         (j0_test_data): Likewise.
46152         (j1_test_data): Likewise.
46153         (jn_test_data): Likewise.
46154         (ldexp_test_data): Likewise.
46155         (lgamma_test_data): Likewise.
46156         (lrint_test_data): Likewise.
46157         (lrint_tonearest_test_data): Likewise.
46158         (lrint_towardzero_test_data): Likewise.
46159         (lrint_downward_test_data): Likewise.
46160         (lrint_upward_test_data): Likewise.
46161         (llrint_test_data): Likewise.
46162         (llrint_tonearest_test_data): Likewise.
46163         (llrint_towardzero_test_data): Likewise.
46164         (llrint_downward_test_data): Likewise.
46165         (llrint_upward_test_data): Likewise.
46166         (log_test_data): Likewise.
46167         (log10_test_data): Likewise.
46168         (log1p_test_data): Likewise.
46169         (log2_test_data): Likewise.
46170         (logb_test_data): Likewise.
46171         (logb_downward_test_data): Likewise.
46172         (lround_test_data): Likewise.
46173         (llround_test_data): Likewise.
46174         (modf_test_data): Likewise.
46175         (nearbyint_test_data): Likewise.
46176         (nextafter_test_data): Likewise.
46177         (nexttoward_test_data): Likewise.
46178         (pow_test_data): Likewise.
46179         (pow_tonearest_test_data): Likewise.
46180         (pow_towardzero_test_data): Likewise.
46181         (pow_downward_test_data): Likewise.
46182         (pow_upward_test_data): Likewise.
46183         (remainder_test_data): Likewise.
46184         (remainder_tonearest_test_data): Likewise.
46185         (remainder_towardzero_test_data): Likewise.
46186         (remainder_downward_test_data): Likewise.
46187         (remainder_upward_test_data): Likewise.
46188         (remquo_test_data): Likewise.
46189         (rint_test_data): Likewise.
46190         (rint_tonearest_test_data): Likewise.
46191         (rint_towardzero_test_data): Likewise.
46192         (rint_downward_test_data): Likewise.
46193         (rint_upward_test_data): Likewise.
46194         (round_test_data): Likewise.
46195         (scalb_test_data): Likewise.
46196         (scalbn_test_data): Likewise.
46197         (scalbln_test_data): Likewise.
46198         (signbit_test_data): Likewise.
46199         (sin_test_data): Likewise.
46200         (sin_tonearest_test_data): Likewise.
46201         (sin_towardzero_test_data): Likewise.
46202         (sin_downward_test_data): Likewise.
46203         (sin_upward_test_data): Likewise.
46204         (sincos_test_data): Likewise.
46205         (sinh_test_data): Likewise.
46206         (sinh_tonearest_test_data): Likewise.
46207         (sinh_towardzero_test_data): Likewise.
46208         (sinh_downward_test_data): Likewise.
46209         (sinh_upward_test_data): Likewise.
46210         (sqrt_test_data): Likewise.
46211         (tan_test_data): Likewise.
46212         (tan_tonearest_test_data): Likewise.
46213         (tan_towardzero_test_data): Likewise.
46214         (tan_downward_test_data): Likewise.
46215         (tan_upward_test_data): Likewise.
46216         (tanh_test_data): Likewise.
46217         (tgamma_test_data): Likewise.
46218         (trunc_test_data): Likewise.
46219         (y0_test_data): Likewise.
46220         (y1_test_data): Likewise.
46221         (yn_test_data): Likewise.
46222         (significand_test_data): Likewise.
46224         * math/gen-libm-test.pl (@functions): Remove variable.
46225         (generate_testfile): Don't handle START and END lines.
46226         * math/libm-test.inc (START): New macro.
46227         (END): Likewise.
46228         (END_COMPLEX): Likewise.
46229         (acos_test): Use END macro without arguments.
46230         (acos_test_tonearest): Likewise.
46231         (acos_test_towardzero): Likewise.
46232         (acos_test_downward): Likewise.
46233         (acos_test_upward): Likewise.
46234         (acosh_test): Likewise.
46235         (asin_test): Likewise.
46236         (asin_test_tonearest): Likewise.
46237         (asin_test_towardzero): Likewise.
46238         (asin_test_downward): Likewise.
46239         (asin_test_upward): Likewise.
46240         (asinh_test): Likewise.
46241         (atan_test): Likewise.
46242         (atanh_test): Likewise.
46243         (atan2_test): Likewise.
46244         (cabs_test): Likewise.
46245         (cacos_test): Use END_COMPLEX macro without arguments.
46246         (cacosh_test): Likewise.
46247         (carg_test): Use END macro without arguments.
46248         (casin_test): Use END_COMPLEX macro without arguments.
46249         (casinh_test): Likewise.
46250         (catan_test): Likewise.
46251         (catanh_test): Likewise.
46252         (cbrt_test): Use END macro without arguments.
46253         (ccos_test): Use END_COMPLEX macro without arguments.
46254         (ccosh_test): Likewise.
46255         (ceil_test): Use END macro without arguments.
46256         (cexp_test): Use END_COMPLEX macro without arguments.
46257         (cimag_test): Use END macro without arguments.
46258         (clog_test): Use END_COMPLEX macro without arguments.
46259         (clog10_test): Likewise.
46260         (conj_test): Likewise.
46261         (copysign_test): Use END macro without arguments.
46262         (cos_test): Likewise.
46263         (cos_test_tonearest): Likewise.
46264         (cos_test_towardzero): Likewise.
46265         (cos_test_downward): Likewise.
46266         (cos_test_upward): Likewise.
46267         (cosh_test): Likewise.
46268         (cosh_test_tonearest): Likewise.
46269         (cosh_test_towardzero): Likewise.
46270         (cosh_test_downward): Likewise.
46271         (cosh_test_upward): Likewise.
46272         (cpow_test): Use END_COMPLEX macro without arguments.
46273         (cproj_test): Likewise.
46274         (creal_test): Use END macro without arguments.
46275         (csin_test): Use END_COMPLEX macro without arguments.
46276         (csinh_test): Likewise.
46277         (csqrt_test): Likewise.
46278         (ctan_test): Likewise.
46279         (ctan_test_tonearest): Likewise.
46280         (ctan_test_towardzero): Likewise.
46281         (ctan_test_downward): Likewise.
46282         (ctan_test_upward): Likewise.
46283         (ctanh_test): Likewise.
46284         (ctanh_test_tonearest): Likewise.
46285         (ctanh_test_towardzero): Likewise.
46286         (ctanh_test_downward): Likewise.
46287         (ctanh_test_upward): Likewise.
46288         (erf_test): Use END macro without arguments.
46289         (erfc_test): Likewise.
46290         (exp_test): Likewise.
46291         (exp_test_tonearest): Likewise.
46292         (exp_test_towardzero): Likewise.
46293         (exp_test_downward): Likewise.
46294         (exp_test_upward): Likewise.
46295         (exp10_test): Likewise.
46296         (exp2_test): Likewise.
46297         (expm1_test): Likewise.
46298         (fabs_test): Likewise.
46299         (fdim_test): Likewise.
46300         (finite_test): Likewise.
46301         (floor_test): Likewise.
46302         (fma_test): Likewise.
46303         (fma_test_towardzero): Likewise.
46304         (fma_test_downward): Likewise.
46305         (fma_test_upward): Likewise.
46306         (fmax_test): Likewise.
46307         (fmin_test): Likewise.
46308         (fmod_test): Likewise.
46309         (fpclassify_test): Likewise.
46310         (frexp_test): Likewise.
46311         (gamma_test): Likewise.
46312         (hypot_test): Likewise.
46313         (ilogb_test): Likewise.
46314         (isfinite_test): Likewise.
46315         (isgreater_test): Likewise.
46316         (isgreaterequal_test): Likewise.
46317         (isinf_test): Likewise.
46318         (isless_test): Likewise.
46319         (islessequal_test): Likewise.
46320         (islessgreater_test): Likewise.
46321         (isnan_test): Likewise.
46322         (isnormal_test): Likewise.
46323         (issignaling_test): Likewise.
46324         (isunordered_test): Likewise.
46325         (j0_test): Likewise.
46326         (j1_test): Likewise.
46327         (jn_test): Likewise.
46328         (ldexp_test): Likewise.
46329         (lgamma_test): Likewise.
46330         (lrint_test): Likewise.
46331         (lrint_test_tonearest): Likewise.
46332         (lrint_test_towardzero): Likewise.
46333         (lrint_test_downward): Likewise.
46334         (lrint_test_upward): Likewise.
46335         (llrint_test): Likewise.
46336         (llrint_test_tonearest): Likewise.
46337         (llrint_test_towardzero): Likewise.
46338         (llrint_test_downward): Likewise.
46339         (llrint_test_upward): Likewise.
46340         (log_test): Likewise.
46341         (log10_test): Likewise.
46342         (log1p_test): Likewise.
46343         (log2_test): Likewise.
46344         (logb_test): Likewise.
46345         (logb_test_downward): Likewise.
46346         (lround_test): Likewise.
46347         (llround_test): Likewise.
46348         (modf_test): Likewise.
46349         (nearbyint_test): Likewise.
46350         (nextafter_test): Likewise.
46351         (nexttoward_test): Likewise.
46352         (pow_test): Likewise.
46353         (pow_test_tonearest): Likewise.
46354         (pow_test_towardzero): Likewise.
46355         (pow_test_downward): Likewise.
46356         (pow_test_upward): Likewise.
46357         (remainder_test): Likewise.
46358         (remainder_test_tonearest): Likewise.
46359         (remainder_test_towardzero): Likewise.
46360         (remainder_test_downward): Likewise.
46361         (remainder_test_upward): Likewise.
46362         (remquo_test): Likewise.
46363         (rint_test): Likewise.
46364         (rint_test_tonearest): Likewise.
46365         (rint_test_towardzero): Likewise.
46366         (rint_test_downward): Likewise.
46367         (rint_test_upward): Likewise.
46368         (round_test): Likewise.
46369         (scalb_test): Likewise.
46370         (scalbn_test): Likewise.
46371         (scalbln_test): Likewise.
46372         (signbit_test): Likewise.
46373         (sin_test): Likewise.
46374         (sin_test_tonearest): Likewise.
46375         (sin_test_towardzero): Likewise.
46376         (sin_test_downward): Likewise.
46377         (sin_test_upward): Likewise.
46378         (sincos_test): Likewise.
46379         (sinh_test): Likewise.
46380         (sinh_test_tonearest): Likewise.
46381         (sinh_test_towardzero): Likewise.
46382         (sinh_test_downward): Likewise.
46383         (sinh_test_upward): Likewise.
46384         (sqrt_test): Likewise.
46385         (tan_test): Likewise.
46386         (tan_test_tonearest): Likewise.
46387         (tan_test_towardzero): Likewise.
46388         (tan_test_downward): Likewise.
46389         (tan_test_upward): Likewise.
46390         (tanh_test): Likewise.
46391         (tgamma_test): Likewise.
46392         (trunc_test): Likewise.
46393         (y0_test): Likewise.
46394         (y1_test): Likewise.
46395         (yn_test): Likewise.
46396         (significand_test): Likewise.
46398 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46400         [BZ #15381]
46401         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46403 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46405         [BZ #14894]
46406         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46407         __ppc_mdoio and __ppc_mdoom.
46408         * manual/platform.texi: Document new functions __ppc_yield,
46409         __ppc_mdoio and __ppc_mdoom.
46411 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46413         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46414         (main): Mention "tls" pseudo-hwcap is legacy.
46415         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46417 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46419         * math/gen-libm-test.pl (parse_args): Output only string of
46420         arguments as text for test name, not full call or descriptions of
46421         tests for extra outputs.
46422         (generate_testfile): Do not pass function name to parse_args.
46423         Generate this_func variable from START.
46424         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46425         field to arg_str.
46426         (struct test_ff_f_data): Likewise.
46427         (test_ff_f_data_nexttoward): Likewise.
46428         (struct test_fi_f_data): Likewise.
46429         (struct test_fl_f_data): Likewise.
46430         (struct test_if_f_data): Likewise.
46431         (struct test_fff_f_data): Likewise.
46432         (struct test_c_f_data): Likewise.
46433         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46434         (struct test_fF_f1_data): Likewise.
46435         (struct test_ffI_f1_data): Likewise.
46436         (struct test_c_c_data): Rename test_name field to arg_str.
46437         (struct test_cc_c_data): Likewise.
46438         (struct test_f_i_data): Likewise.
46439         (struct test_ff_i_data): Likewise.
46440         (struct test_f_l_data): Likewise.
46441         (struct test_f_L_data): Likewise.
46442         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46443         and extra2_name.
46444         (COMMON_TEST_SETUP): New macro.
46445         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46446         (COMMON_TEST_CLEANUP): Likewise.
46447         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46448         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46449         macros.
46450         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46451         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46452         macros.
46453         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46454         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46455         cleanup macros.
46456         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46457         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46458         macros.
46459         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46460         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46461         macros.
46462         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46463         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46464         cleanup macros.
46465         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46466         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46467         cleanup macros.
46468         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46469         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46470         cleanup macros.
46471         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46472         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46473         macros.
46474         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46475         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46476         macros.
46477         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46478         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46479         macros.
46480         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46481         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46482         cleanup macros.
46483         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46484         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46485         cleanup macros.
46486         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46487         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46488         macros.
46489         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46490         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46491         cleanup macros.
46492         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46493         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46494         macros.
46495         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46496         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46497         macros.
46498         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46499         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46500         cleanup macros.
46501         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46503 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46505         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46506         to _sifields.sigfault.
46507         (si_addr_lsb): Define new macro.
46508         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46509         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46510         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46512 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46514         [BZ #15441]
46515         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46516         returns -1.
46517         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46518         null return -1.
46519         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46520         loading the domain.
46522 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46524         * math/gen-libm-test.pl (parse_args): Do not include expected
46525         result in test name.
46526         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46527         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46529         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46530         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46533 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46535         * benchtests/Makefile: Sort function entries.
46537         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46538         tanh, asinh, acosh, atanh.
46539         * benchtests/acos-inputs: New file.
46540         * benchtests/acosh-inputs: New file.
46541         * benchtests/asin-inputs: New file.
46542         * benchtests/asinh-inputs: New file.
46543         * benchtests/atanh-inputs: New file.
46544         * benchtests/cosh-inputs: New file.
46545         * benchtests/log-inputs: New file.
46546         * benchtests/sinh-inputs: New file.
46547         * benchtests/tanh-inputs: New file.
46549 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46551         [BZ #15339]
46552         * posix/tst-getaddrinfo4.c: New test.
46553         * posix/Makefile (tests): Add it.
46555 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46557         [BZ #15339]
46558         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46559         when no services were used.
46560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46561         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46563 2013-05-21  Andreas Schwab  <schwab@suse.de>
46565         [BZ #15014]
46566         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46567         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46568         successful.
46569         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46570         redundant variable declarations and reallocation of buffer when
46571         parsing as IPv6 address.  Always set NSS status when called from
46572         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46573         buffer too small.  Correct computation of needed size.
46574         * nss/Makefile (tests): Add test-digits-dots.
46575         * nss/test-digits-dots.c: New test.
46577 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46579         * benchtests/Makefile: Remove instructions for adding
46580         benchmark tests.
46581         * benchtests/README: New file to explain how to execute and
46582         enhance the benchmark tests.
46584 2013-05-21  Andreas Schwab  <schwab@suse.de>
46586         [BZ #15493]
46587         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46588         * setjmp/tst-sigsetjmp.c: New test.
46590 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46592         * sysdeps/x86_64/memset.S (memset): New implementation.
46593         (__bzero): Likewise.
46594         (__memset_tail): New function.
46596 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46598         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46599         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46600         __memcpy_sse2_unaligned ifunc selection.
46601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46602         Add memcpy-sse2-unaligned.S.
46603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46604         Add: __memcpy_sse2_unaligned.
46606 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46608         [BZ #15490]
46609         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46610         math_force_eval before restoring floating-point envrionment.
46611         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46612         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46613         Likewise.
46614         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46615         <math_private.h>.
46616         (__nearbyintl): Use math_force_eval before restoring
46617         floating-point environment.
46618         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46620         * math/gen-libm-test.pl (special_functions): Remove.
46621         (parse_args): Don't handle TEST_extra.  Handle functions with no
46622         return value.
46623         * math/libm-test.inc (struct test_sincos_data): Replace with
46624         struct test_fFF_11_data.
46625         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46626         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46627         (sincos_test_data): Change element type to struct
46628         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46629         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46630         RUN_TEST_LOOP_sincos.
46631         * math/README.libm-test: Don't mention special handling of
46632         individual functions.
46633         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46634         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46635         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46636         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46637         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46640         * math/gen-libm-test.pl (get_variable): Remove function.
46641         (parse_args): Don't show pointer parameters to call in test
46642         names.  Use "extra output N" in test names for extra outputs
46643         rather than naming variables.
46645 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46647         [BZ #15488]
46648         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46649         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46650         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46651         double tests.
46652         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46653         disable.
46654         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46655         check_long_double.
46657         * math/gen-libm-test.pl (@tests): Remove variable.
46658         ($count): Likewise.
46659         (new_test): Remove function.
46660         (show_exceptions): New function.
46661         (special_functions): Use show_exceptions instead of new_test.
46662         (parse_args): Likewise.
46663         (generate_testfile): Pass only function name in generated call to
46664         print_max_error or print_complex_max_error.
46665         (get_ulps): Do not handle complex tests specially.
46666         (output_test): Rename to ...
46667         (get_all_ulps_for_test): ... this.  Return a string rather than
46668         printing to a file.  Require ulps to be present.
46669         (output_ulps): Generate arrays rather than #defines.
46670         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46671         (struct ulp_data): New type.
46672         (BUILD_COMPLEX_ULP): Remove macro.
46673         (compare_ulp_data): New function.
46674         (find_ulps): Likewise.
46675         (find_test_ulps): Likewise.
46676         (find_function_ulps): Likewise.
46677         (find_complex_function_ulps): Likewise.
46678         (print_max_error): Determine allowed ulps using
46679         find_function_ulps.
46680         (print_complex_max_error): Determine allowed ulps using
46681         find_complex_function_ulps.
46682         (check_float_internal): Determine max ulps using find_test_ulps.
46683         (check_float): Do not take max_ulp parameter.  Update call to
46684         check_float_internal.
46685         (check_complex): Likewise.
46686         (check_int): Do not take max_ulp parameter.
46687         (check_long): Likewise.
46688         (check_bool): Likewise.
46689         (check_longlong): Likewise.
46690         (struct test_f_f_data): Remove max_ulp field.
46691         (struct test_ff_f_data): Likewise.
46692         (struct test_ff_f_data_nexttoward): Likewise.
46693         (struct test_fi_f_data): Likewise.
46694         (struct test_fl_f_data): Likewise.
46695         (struct test_if_f_data): Likewise.
46696         (struct test_fff_f_data): Likewise.
46697         (struct test_c_f_data): Likewise.
46698         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46699         (struct test_fF_f1_data): Likewise.
46700         (struct test_ffI_f1_data): Likewise.
46701         (struct test_c_c_data): Remove max_ulp field.
46702         (struct test_cc_c_data): Likewise.
46703         (struct test_f_i_data): Likewise.
46704         (struct test_ff_i_data): Likewise.
46705         (struct test_f_l_data): Likewise.
46706         (struct test_f_L_data): Likewise.
46707         (struct test_sincos_data): Likewise.
46708         (RUN_TEST_f_f): Do not handle ulps.
46709         (RUN_TEST_LOOP_f_f): Likewise.
46710         (RUN_TEST_2_f): Likewise.
46711         (RUN_TEST_LOOP_2_f): Likewise.
46712         (RUN_TEST_fff_f): Likewise.
46713         (RUN_TEST_LOOP_fff_f): Likewise.
46714         (RUN_TEST_c_f): Likewise.
46715         (RUN_TEST_LOOP_c_f): Likewise.
46716         (RUN_TEST_f_f1): Likewise.
46717         (RUN_TEST_LOOP_f_f1): Likewise.
46718         (RUN_TEST_fF_f1): Likewise.
46719         (RUN_TEST_LOOP_fF_f1): Likewise.
46720         (RUN_TEST_fI_f1): Likewise.
46721         (RUN_TEST_LOOP_fI_f1): Likewise.
46722         (RUN_TEST_ffI_f1): Likewise.
46723         (RUN_TEST_LOOP_ffI_f1): Likewise.
46724         (RUN_TEST_c_c): Likewise.
46725         (RUN_TEST_LOOP_c_c): Likewise.
46726         (RUN_TEST_cc_c): Likewise.
46727         (RUN_TEST_LOOP_cc_c): Likewise.
46728         (RUN_TEST_f_i): Likewise.
46729         (RUN_TEST_LOOP_f_i): Likewise.
46730         (RUN_TEST_f_i_tg): Likewise.
46731         (RUN_TEST_LOOP_f_i_tg): Likewise.
46732         (RUN_TEST_ff_i_tg): Likewise.
46733         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46734         (RUN_TEST_f_b): Likewise.
46735         (RUN_TEST_LOOP_f_b): Likewise.
46736         (RUN_TEST_f_b_tg): Likewise.
46737         (RUN_TEST_LOOP_f_b_tg): Likewise.
46738         (RUN_TEST_f_l): Likewise.
46739         (RUN_TEST_LOOP_f_l): Likewise.
46740         (RUN_TEST_f_L): Likewise.
46741         (RUN_TEST_LOOP_f_L): Likewise.
46742         (RUN_TEST_sincos): Likewise.
46743         (RUN_TEST_LOOP_sincos): Likewise.
46745 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46747         [BZ #15480]
46748         [BZ #15485]
46749         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46750         main case of finite arguments, set rounding mode to FE_TONEAREST
46751         and discard exceptions.
46752         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46753         exceptions.
46754         (remainder_tonearest_test_data): New variable.
46755         (remainder_test_tonearest): New function.
46756         (remainder_towardzero_test_data): New variable.
46757         (remainder_test_towardzero): New function.
46758         (remainder_downward_test_data): New variable.
46759         (remainder_test_downward): New function.
46760         (remainder_upward_test_data): New variable.
46761         (remainder_test_upward): New function.
46762         (main): Call the new test functions.
46764         * math/libm-test.inc (struct test_f_f1_data): Remove field
46765         extra_init.
46766         (struct test_fF_f1_data): Likewise.
46767         (struct test_ffI_f1_data): Likewise.
46768         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46769         based on value of EXTRA_EXPECTED.
46770         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46771         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46772         EXTRA_VAR based on value of EXTRA_EXPECTED.
46773         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46774         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46775         EXTRA_VAR based on value of EXTRA_EXPECTED.
46776         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46777         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46778         EXTRA_VAR based on value of EXTRA_EXPECTED.
46779         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46780         * math/gen-libm-test.pl (parse_args): Don't output initializers
46781         for extra output values.
46783         * math/libm-test.inc (check_int): Expect result to be exactly
46784         equal to expected value and do not handle ulps.
46785         (check_long): Likewise.
46786         (check_longlong): Likewise.
46788         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46789         exceptions.
46790         (cimag_test_data): Likewise.
46791         (conj_test_data): Likewise.
46792         (copysign_test_data): Likewise.
46793         (cproj_test_data): Likewise.
46794         (creal_test_data): Likewise.
46795         (fabs_test_data): Likewise.
46796         (fdim_test_data): Likewise.
46797         (finite_test_data): Likewise.
46798         (floor_test_data): Likewise.
46799         (fmax_test_data): Likewise.
46800         (fmin_test_data): Likewise.
46801         (fmod_test_data): Likewise.
46802         (fpclassify_test_data): Likewise.
46803         (frexp_test_data): Likewise.
46804         (ilogb_test_data): Likewise.
46805         (isfinite_test_data): Likewise.
46806         (isgreater_test_data): Likewise.
46807         (isgreaterequal_test_data): Likewise.
46808         (isinf_test_data): Likewise.
46809         (isless_test_data): Likewise.
46810         (islessequal_test_data): Likewise.
46811         (islessgreater_test_data): Likewise.
46812         (isnan_test_data): Likewise.
46813         (isnormal_test_data): Likewise.
46814         (issignaling_test_data): Likewise.
46815         (isunordered_test_data): Likewise.
46816         (ldexp_test_data): Likewise.
46817         (lrint_test_data): Likewise.
46818         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46819         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46820         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46821         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46822         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46823         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46824         test input.
46825         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46826         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46827         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46828         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46829         that test input.
46830         (lrint_downward_test_data): Test for "inexact" exceptions.
46831         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46832         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46833         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46834         test input.
46835         (lrint_upward_test_data): Test for "inexact" exceptions.
46836         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46837         test input.
46838         (llrint_test_data): Test for "inexact" exceptions.
46839         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46840         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46841         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46842         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46843         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46844         (llrint_downward_test_data): Test for "inexact" exceptions.
46845         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46846         (llrint_upward_test_data): Test for "inexact" exceptions.
46847         (logb_test_data): Likewise.
46848         (logb_downward_test_data): Likewise.
46849         (nextafter_test_data): Likewise.
46850         (nexttoward_test_data): Likewise.
46851         (remainder_test_data): Likewise.
46852         (remquo_test_data): Likewise.
46853         (scalbn_test_data): Likewise.
46854         (scalbln_test_data): Likewise.
46855         (signbit_test_data): Likewise.
46856         (sqrt_test_data): Likewise.
46857         (significand_test_data): Likewise.
46859 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46861         [BZ #15424]
46862         * benchtests/bench-modf.c (struct args): Mark arg0 as
46863         volatile.
46864         * scripts/bench.pl: Mark members of struct args as volatile.
46866 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46868         [BZ # 15497]
46869         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46870         negative infinity on POWER6 or lower.
46871         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46873 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46875         [BZ #15442]
46876         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46877         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46878         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46879         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46880         (_FP_SETQNAN): New macro.
46881         (_FP_SETQNAN_SEMIRAW): Likewise.
46882         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46883         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46884         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46885         (FP_EXTEND): Use _FP_FRAC_SNANP.
46886         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46887         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46888         into account.
46889         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46890         New macro.
46891         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46892         Likewise.
46894 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46896         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46897         with DIVIDE_BY_ZERO_EXCEPTION.
46898         (gamma_test_data): Likewise.
46899         (lgamma_test_data): Likewise.
46900         (log_test_data): Likewise.
46901         (log10_test_data): Likewise.
46902         (log2_test_data): Likewise.
46903         (tgamma_test_data): Likewise.
46905         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46906         (acos_test_tonearest): Likewise.
46907         (acos_test_towardzero): Likewise.
46908         (acos_test_downward): Likewise.
46909         (acos_test_upward): Likewise.
46910         (acosh_test): Likewise.
46911         (asin_test): Likewise.
46912         (asin_test_tonearest): Likewise.
46913         (asin_test_towardzero): Likewise.
46914         (asin_test_downward): Likewise.
46915         (asin_test_upward): Likewise.
46916         (asinh_test): Likewise.
46917         (atan_test): Likewise.
46918         (atanh_test): Likewise.
46919         (atan2_test): Likewise.
46920         (cabs_test): Likewise.
46921         (cacos_test): Likewise.
46922         (cacosh_test): Likewise.
46923         (casin_test): Likewise.
46924         (casinh_test): Likewise.
46925         (catan_test): Likewise.
46926         (catanh_test): Likewise.
46927         (cbrt_test): Likewise.
46928         (ccos_test): Likewise.
46929         (ccosh_test): Likewise.
46930         (cexp_test): Likewise.
46931         (clog_test): Likewise.
46932         (clog10_test): Likewise.
46933         (cos_test): Likewise.
46934         (cos_test_tonearest): Likewise.
46935         (cos_test_towardzero): Likewise.
46936         (cos_test_downward): Likewise.
46937         (cos_test_upward): Likewise.
46938         (cosh_test): Likewise.
46939         (cosh_test_tonearest): Likewise.
46940         (cosh_test_towardzero): Likewise.
46941         (cosh_test_downward): Likewise.
46942         (cosh_test_upward): Likewise.
46943         (cpow_test): Likewise.
46944         (csin_test): Likewise.
46945         (csinh_test): Likewise.
46946         (csqrt_test): Likewise.
46947         (ctan_test): Likewise.
46948         (ctan_test_tonearest): Likewise.
46949         (ctan_test_towardzero): Likewise.
46950         (ctan_test_downward): Likewise.
46951         (ctan_test_upward): Likewise.
46952         (ctanh_test): Likewise.
46953         (ctanh_test_tonearest): Likewise.
46954         (ctanh_test_towardzero): Likewise.
46955         (ctanh_test_downward): Likewise.
46956         (ctanh_test_upward): Likewise.
46957         (erf_test): Likewise.
46958         (erfc_test): Likewise.
46959         (exp_test): Likewise.
46960         (exp_test_tonearest): Likewise.
46961         (exp_test_towardzero): Likewise.
46962         (exp_test_downward): Likewise.
46963         (exp_test_upward): Likewise.
46964         (exp10_test): Likewise.
46965         (exp2_test): Likewise.
46966         (expm1_test): Likewise.
46967         (fmod_test): Likewise.
46968         (gamma_test): Likewise.
46969         (hypot_test): Likewise.
46970         (j0_test): Likewise.
46971         (j1_test): Likewise.
46972         (jn_test): Likewise.
46973         (lgamma_test): Likewise.
46974         (log_test): Likewise.
46975         (log10_test): Likewise.
46976         (log1p_test): Likewise.
46977         (log2_test): Likewise.
46978         (logb_test_downward): Likewise.
46979         (pow_test): Likewise.
46980         (pow_test_tonearest): Likewise.
46981         (pow_test_towardzero): Likewise.
46982         (pow_test_downward): Likewise.
46983         (pow_test_upward): Likewise.
46984         (remainder_test): Likewise.
46985         (remquo_test): Likewise.
46986         (sin_test): Likewise.
46987         (sin_test_tonearest): Likewise.
46988         (sin_test_towardzero): Likewise.
46989         (sin_test_downward): Likewise.
46990         (sin_test_upward): Likewise.
46991         (sincos_test): Likewise.
46992         (sinh_test): Likewise.
46993         (sinh_test_tonearest): Likewise.
46994         (sinh_test_towardzero): Likewise.
46995         (sinh_test_downward): Likewise.
46996         (sinh_test_upward): Likewise.
46997         (sqrt_test): Likewise.
46998         (tan_test): Likewise.
46999         (tan_test_tonearest): Likewise.
47000         (tan_test_towardzero): Likewise.
47001         (tan_test_downward): Likewise.
47002         (tan_test_upward): Likewise.
47003         (tanh_test): Likewise.
47004         (tgamma_test): Likewise.
47005         (y0_test): Likewise.
47006         (y1_test): Likewise.
47007         (yn_test): Likewise.
47009         * math/gen-libm-test.pl (adjust_arg): Remove function.
47010         (special_function): Remove argument $in_func.  Only handle
47011         generating output for tables of tests, not inside functions.
47012         (parse_args): Likewise.
47013         (generate_testfile): Remove variable $in_func.  Update call to
47014         parse_args.
47015         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47016         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47017         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47018         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47019         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47020         (MAX_VALUE_INIT): Rename macro to max_value.
47021         (MIN_VALUE_INIT): Rename macro to min_value.
47022         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47023         (plus_zero): Remove variable.
47024         (minus_zero): Likewise.
47025         (plus_infty): Likewise.
47026         (minus_infty): Likewise.
47027         (qnan_value): Likewise.
47028         (max_value): Likewise.
47029         (min_value): Likewise.
47030         (min_subnorm_value): Likewise.
47032 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47034         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47035         uint64_t or uint32_t usage.
47036         * crypt/sha256-block.c: Likewise.
47037         * crypt/sha256-crypt.c: Likewise.
47038         * crypt/sha256.c: Likewise.
47039         * crypt/sha512-block.c: Likewise.
47040         * crypt/sha512-crypt.c: Likewise.
47041         * crypt/sha512.c: Likewise.
47042         * debug/backtrace-tst.c: Likewise.
47043         * debug/pcprofiledump.c: Likewise.
47044         * elf/cache.c: Likewise.
47045         * elf/dl-cache.c: Likewise.
47046         * elf/dl-misc.c: Likewise.
47047         * elf/dl-profile.c: Likewise.
47048         * elf/dl-support.c: Likewise.
47049         * elf/ldconfig.c: Likewise.
47050         * elf/sprof.c: Likewise.
47051         * iconv/dummy-repertoire.c: Likewise.
47052         * iconv/iconv_charmap.c: Likewise.
47053         * iconv/skeleton.c: Likewise.
47054         * iconvdata/8bit-generic.c: Likewise.
47055         * iconvdata/cp737.h: Likewise.
47056         * iconvdata/cp775.h: Likewise.
47057         * iconvdata/ibm1008.h: Likewise.
47058         * iconvdata/ibm1025.h: Likewise.
47059         * iconvdata/ibm1046.h: Likewise.
47060         * iconvdata/ibm1097.h: Likewise.
47061         * iconvdata/ibm1112.h: Likewise.
47062         * iconvdata/ibm1122.h: Likewise.
47063         * iconvdata/ibm1123.h: Likewise.
47064         * iconvdata/ibm1124.h: Likewise.
47065         * iconvdata/ibm1129.h: Likewise.
47066         * iconvdata/ibm1130.h: Likewise.
47067         * iconvdata/ibm1132.h: Likewise.
47068         * iconvdata/ibm1133.h: Likewise.
47069         * iconvdata/ibm1137.h: Likewise.
47070         * iconvdata/ibm1140.h: Likewise.
47071         * iconvdata/ibm1141.h: Likewise.
47072         * iconvdata/ibm1142.h: Likewise.
47073         * iconvdata/ibm1143.h: Likewise.
47074         * iconvdata/ibm1144.h: Likewise.
47075         * iconvdata/ibm1145.h: Likewise.
47076         * iconvdata/ibm1146.h: Likewise.
47077         * iconvdata/ibm1147.h: Likewise.
47078         * iconvdata/ibm1148.h: Likewise.
47079         * iconvdata/ibm1149.h: Likewise.
47080         * iconvdata/ibm1153.h: Likewise.
47081         * iconvdata/ibm1154.h: Likewise.
47082         * iconvdata/ibm1155.h: Likewise.
47083         * iconvdata/ibm1156.h: Likewise.
47084         * iconvdata/ibm1157.h: Likewise.
47085         * iconvdata/ibm1158.h: Likewise.
47086         * iconvdata/ibm1160.h: Likewise.
47087         * iconvdata/ibm1161.h: Likewise.
47088         * iconvdata/ibm1162.h: Likewise.
47089         * iconvdata/ibm1163.h: Likewise.
47090         * iconvdata/ibm1164.h: Likewise.
47091         * iconvdata/ibm1166.h: Likewise.
47092         * iconvdata/ibm1167.h: Likewise.
47093         * iconvdata/ibm12712.h: Likewise.
47094         * iconvdata/ibm1390.h: Likewise.
47095         * iconvdata/ibm1399.h: Likewise.
47096         * iconvdata/ibm16804.h: Likewise.
47097         * iconvdata/ibm4517.h: Likewise.
47098         * iconvdata/ibm4899.h: Likewise.
47099         * iconvdata/ibm4909.h: Likewise.
47100         * iconvdata/ibm4971.h: Likewise.
47101         * iconvdata/ibm5347.h: Likewise.
47102         * iconvdata/ibm803.h: Likewise.
47103         * iconvdata/ibm856.h: Likewise.
47104         * iconvdata/ibm901.h: Likewise.
47105         * iconvdata/ibm902.h: Likewise.
47106         * iconvdata/ibm9030.h: Likewise.
47107         * iconvdata/ibm9066.h: Likewise.
47108         * iconvdata/ibm921.h: Likewise.
47109         * iconvdata/ibm922.h: Likewise.
47110         * iconvdata/ibm9448.h: Likewise.
47111         * iconvdata/isiri-3342.h: Likewise.
47112         * iconvdata/jis0201.h: Likewise.
47113         * include/link.h: Likewise.
47114         * include/netdb.h: Likewise.
47115         * inet/check_native.c: Likewise.
47116         * inet/check_pf.c: Likewise.
47117         * inet/getipv4sourcefilter.c: Likewise.
47118         * inet/getnameinfo.c: Likewise.
47119         * inet/getsourcefilter.c: Likewise.
47120         * inet/htonl.c: Likewise.
47121         * inet/setipv4sourcefilter.c: Likewise.
47122         * inet/setsourcefilter.c: Likewise.
47123         * inet/test-inet6_opt.c: Likewise.
47124         * inet/tst-network.c: Likewise.
47125         * locale/C-collate.c: Likewise.
47126         * locale/C-ctype.c: Likewise.
47127         * locale/C-time.c: Likewise.
47128         * locale/C-translit.h: Likewise.
47129         * locale/loadarchive.c: Likewise.
47130         * locale/programs/3level.h: Likewise.
47131         * locale/programs/charmap.c: Likewise.
47132         * locale/programs/charmap.h: Likewise.
47133         * locale/programs/ld-address.c: Likewise.
47134         * locale/programs/ld-collate.c: Likewise.
47135         * locale/programs/ld-ctype.c: Likewise.
47136         * locale/programs/ld-identification.c: Likewise.
47137         * locale/programs/ld-measurement.c: Likewise.
47138         * locale/programs/ld-messages.c: Likewise.
47139         * locale/programs/ld-monetary.c: Likewise.
47140         * locale/programs/ld-name.c: Likewise.
47141         * locale/programs/ld-numeric.c: Likewise.
47142         * locale/programs/ld-paper.c: Likewise.
47143         * locale/programs/ld-telephone.c: Likewise.
47144         * locale/programs/ld-time.c: Likewise.
47145         * locale/programs/linereader.c: Likewise.
47146         * locale/programs/locale.c: Likewise.
47147         * locale/programs/locarchive.c: Likewise.
47148         * locale/programs/locfile.h: Likewise.
47149         * locale/programs/repertoire.c: Likewise.
47150         * locale/programs/simple-hash.c: Likewise.
47151         * locale/programs/simple-hash.h: Likewise.
47152         * malloc/memusage.c: Likewise.
47153         * malloc/memusagestat.c: Likewise.
47154         * nis/nis_defaults.c: Likewise.
47155         * nis/nis_hash.c: Likewise.
47156         * nis/nis_print.c: Likewise.
47157         * nis/nis_xdr.c: Likewise.
47158         * nscd/connections.c: Likewise.
47159         * nscd/hstcache.c: Likewise.
47160         * nscd/nscd_gethst_r.c: Likewise.
47161         * nscd/nscd_getserv_r.c: Likewise.
47162         * nscd/nscd_helper.c: Likewise.
47163         * nscd/servicescache.c: Likewise.
47164         * nss/makedb.c: Likewise.
47165         * nss/nss_db/db-XXX.c: Likewise.
47166         * nss/nss_db/db-initgroups.c: Likewise.
47167         * nss/nss_db/db-netgrp.c: Likewise.
47168         * nss/nss_files/files-network.c: Likewise.
47169         * nss/nss_files/files-parse.c: Likewise.
47170         * posix/bug-regex5.c: Likewise.
47171         * posix/fnmatch_loop.c: Likewise.
47172         * posix/regcomp.c: Likewise.
47173         * posix/regexec.c: Likewise.
47174         * posix/tst-rfc3484-2.c: Likewise.
47175         * posix/tst-rfc3484-3.c: Likewise.
47176         * posix/tst-rfc3484.c: Likewise.
47177         * resolv/nss_dns/dns-canon.c: Likewise.
47178         * resolv/nss_dns/dns-network.c: Likewise.
47179         * resolv/res_init.c: Likewise.
47180         * resolv/res_mkquery.c: Likewise.
47181         * resolv/tst-aton.c: Likewise.
47182         * stdlib/cxa_atexit.c: Likewise.
47183         * stdlib/cxa_finalize.c: Likewise.
47184         * stdlib/gen-fpioconst.c: Likewise.
47185         * stdlib/strtol_l.c: Likewise.
47186         * string/tst-endian.c: Likewise.
47187         * sunrpc/auth_des.c: Likewise.
47188         * sunrpc/clnt_udp.c: Likewise.
47189         * sunrpc/rtime.c: Likewise.
47190         * sunrpc/svcauth_des.c: Likewise.
47191         * sunrpc/xdr.c: Likewise.
47192         * sunrpc/xdr_intXX_t.c: Likewise.
47193         * sunrpc/xdr_rec.c: Likewise.
47194         * sysdeps/generic/ldconfig.h: Likewise.
47195         * sysdeps/generic/ldsodefs.h: Likewise.
47196         * sysdeps/generic/memusage.h: Likewise.
47197         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47198         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47199         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47200         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47201         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47202         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47203         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47204         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47207         * sysdeps/posix/getaddrinfo.c: Likewise.
47208         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47209         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47210         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47211         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47212         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47213         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47214         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47215         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47216         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47218         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47219         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47220         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47221         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47222         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47223         * sysdeps/x86_64/dl-tls.h: Likewise.
47224         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47225         * time/alt_digit.c: Likewise.
47226         * time/era.c: Likewise.
47227         * wcsmbs/tst-c16c32-1.c: Likewise.
47229 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47231         * math/libm-test.inc (struct test_sincos_data): New type.
47232         (RUN_TEST_LOOP_sincos): New macro.
47233         (sincos_test_data): New variable.
47234         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47236 2013-05-16  Richard Henderson  <rth@redhat.com>
47238         * math/atest-exp2.c (LIMB64): New macro.
47239         (CONSTSZ): New macro.
47240         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47241         (hexdig): Move ...
47242         (print_mpn_fp): ... to function scope.
47243         (read_mpn_hex): Remove.
47244         (get_log2): Remove.
47245         (exp2_mpn): Use mp_log2.
47246         (main): Use mp_exp1.
47248 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47250         * math/libm-test.inc: Remove comment about not testing "inexact"
47251         exceptions.
47252         (INEXACT_EXCEPTION): New macro.
47253         (NO_INEXACT_EXCEPTION): Likewise.
47254         (INVALID_EXCEPTION_OK): Update value.
47255         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47256         (OVERFLOW_EXCEPTION_OK): Likewise.
47257         (UNDERFLOW_EXCEPTION_OK): Likewise.
47258         (IGNORE_ZERO_INF_SIGN): Likewise.
47259         (ERRNO_UNCHANGED): Likewise.
47260         (ERRNO_EDOM): Likewise.
47261         (ERRNO_ERANGE): Likewise.
47262         (test_exceptions): Handle testing "inexact" exceptions.
47263         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47264         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47265         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47266         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47267         INEXACT_EXCEPTION.
47268         (rint_towardzero_test_data): Likewise.
47269         (rint_downward_test_data): Likewise.
47270         (rint_upward_test_data): Likewise.
47272         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47273         with OVERFLOW_EXCEPTION.
47274         (exp10_test_data): Likewise.
47275         (exp2_test_data): Likewise.
47276         (expm1_test_data): Likewise.
47277         (lgamma_test_data): Likewise.
47278         (pow_test_data): Likewise.
47279         (tgamma_test_data): Likewise.
47280         (yn_test_data): Remove duplicate test of overflow.
47282         * math/libm-test.inc (struct test_cc_c_data): New type.
47283         (RUN_TEST_LOOP_cc_c): New macro.
47284         (cpow_test_data): New variable.
47285         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47287         * math/libm-test.inc (struct test_f_L_data): New type.
47288         (RUN_TEST_LOOP_f_L): New macro.
47289         (llrint_test_data): New variable.
47290         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47291         (llrint_tonearest_test_data): New variable.
47292         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47293         (llrint_towardzero_test_data): New variable.
47294         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47295         (llrint_downward_test_data): New variable.
47296         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47297         (llrint_upward_test_data): New variable.
47298         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47299         (llround_test_data): New variable.
47300         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47302 2013-05-13  Peter Collingbourne  <pcc@google.com>
47304         * math/atest-exp2.c (get_log2): Remove const attribute.
47306 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47308         * math/libm-test.inc (struct test_f_l_data): New type.
47309         (RUN_TEST_LOOP_f_l): New macro.
47310         (lrint_test_data): New variable.
47311         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47312         (lrint_tonearest_test_data): New variable.
47313         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47314         (lrint_towardzero_test_data): New variable.
47315         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47316         (lrint_downward_test_data): New variable.
47317         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47318         (lrint_upward_test_data): New variable.
47319         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47320         (lround_test_data): New variable.
47321         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47323 2013-05-15  Peter Collingbourne  <pcc@google.com>
47325         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47326         (EXTRACT_WORDS64) Use where appropriate.
47327         (INSERT_WORDS64) Likewise.
47329         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47330         constraints with x constraints.
47331         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47333         * malloc/obstack.c (_obstack_compat): Add initializer.
47335 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47337         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47338         si_trapno and add si_addr_lsb to _sifields.sigfault.
47339         (si_trapno): Remove macro.
47340         (si_addr_lsb): Define new macro.
47341         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47343 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47345         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47346         instead of TEST_f_l.
47347         (llrint_test_tonearest): Likewise.
47348         (llrint_test_towardzero): Likewise.
47349         (llrint_test_downward): Likewise.
47350         (llrint_test_upward): Likewise.
47351         (llround_test): Likewise.
47353         * math/libm-test.inc (struct test_f_i_data): Add comment.
47354         (RUN_TEST_LOOP_f_b): New macro.
47355         (RUN_TEST_LOOP_f_b_tg): Likewise.
47356         (finite_test_data): New variable.
47357         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47358         (isfinite_test_data): New variable.
47359         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47360         (isinf_test_data): New variable.
47361         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47362         (isnan_test_data): New variable.
47363         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47364         (isnormal_test_data): New variable.
47365         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47366         (issignaling_test_data): New variable.
47367         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47368         (signbit_test_data): New variable.
47369         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47371         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47372         with INVALID_EXCEPTION.
47373         (acosh_test_data): Likewise.
47374         (asin_test_data): Likewise.
47375         (atanh_test_data): Likewise.
47376         (fmod_test_data): Likewise.
47377         (log_test_data): Likewise.
47378         (log10_test_data): Likewise.
47379         (log2_test_data): Likewise.
47380         (pow_test_data): Likewise.
47381         (sqrt_test_data): Likewise.
47382         (y0_test_data): Likewise.
47383         (y1_test_data): Likewise.
47384         (yn_test_data): Likewise.
47386         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47387         function contents.
47389         * math/libm-test.inc (struct test_ff_i_data): New type.
47390         (RUN_TEST_LOOP_ff_i_tg): New macro.
47391         (isgreater_test_data): New variable.
47392         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47393         (isgreaterequal_test_data): New variable.
47394         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47395         (isless_test_data): New variable.
47396         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47397         (islessequal_test_data): New variable.
47398         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47399         (islessgreater_test_data): New variable.
47400         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47401         (isunordered_test_data): New variable.
47402         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47404 2013-05-14  David S. Miller  <davem@davemloft.net>
47406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47408 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47410         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47412         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47413         extra_test to int.
47414         (struct test_f_i_data): Change type of max_ulp to int.
47416         * math/libm-test.inc (test_ffI_f1_data): New type.
47417         (RUN_TEST_LOOP_ffI_f1): New macro.
47418         (remquo_test_data): New variable.
47419         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47421         * setjmp/tst-setjmp-fp.c: New file.
47422         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47423         (link-libm): New variable.
47424         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47426         * math/libm-test.inc (struct test_f_i_data): New type.
47427         (RUN_TEST_LOOP_f_i): New macro.
47428         (RUN_TEST_LOOP_f_i_tg): Likewise.
47429         (fpclassify_test_data): New variable.
47430         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47431         (ilogb_test_data): New variable.
47432         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47434         * math/libm-test.inc (scalbln_test): Correct function name in END
47435         call.
47437         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47438         (RUN_TEST_LOOP_fI_f1): New macro.
47439         (frexp_test_data): New variable.
47440         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47442         * math/libm-test.inc (struct test_fF_f1_data): New type.
47443         (RUN_TEST_LOOP_fF_f1): New macro.
47444         (modf_test_data): New variable.
47445         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47447         * math/libm-test.inc (struct test_f_f1_data): New type.
47448         (RUN_TEST_LOOP_f_f1): New macro.
47449         (gamma_test_data): New variable.
47450         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47451         (lgamma_test_data): New variable.
47452         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47454 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47456         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47457         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47458         (main): Comment "tls" pseudo-hwcap.
47460 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47462         * math/libm-test.inc (struct test_fl_f_data): New type.
47463         (RUN_TEST_LOOP_fl_f): New variable.
47464         (scalbln_test_data): New variable.
47465         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47467         * math/libm-test.inc (struct test_fi_f_data): New type.
47468         (RUN_TEST_LOOP_fi_f): New macro.
47469         (ldexp_test_data): New variable.
47470         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47471         (scalbn_test_data): New variable.
47472         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47474         * math/libm-test.inc (struct test_c_f_data): New type.
47475         (RUN_TEST_LOOP_c_f): New macro.
47476         (cabs_test_data): New variable.
47477         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47478         (carg_test_data): New variable.
47479         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47480         (cimag_test_data): New variable.
47481         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47482         (creal_test_data): New variable.
47483         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47485         * math/libm-test.inc (struct test_if_f_data): New type.
47486         (RUN_TEST_LOOP_if_f): New macro.
47487         (jn_test_data): New variable.
47488         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47489         (yn_test_data): New variable.
47490         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47492         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47494 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47496         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47497         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47499 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47501         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47502         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47503         (bench-deps): Add bench-timing.h.
47504         * benchtests-bench-skeleton.c: Include bench-timing.h.
47505         (main): Use TIMING_* macros instead of clock_gettime.
47506         * benchtests/bench-timing.h: New file.
47508         [BZ #14582]
47509         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47510         Renamed from _LIB_VERSION.
47511         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47513 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47515         * math/libm-test.inc (struct test_fff_f_data): New type.
47516         (RUN_TEST_LOOP_fff_f): New macro.
47517         (fma_test_data): New variable.
47518         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47519         (fma_towardzero_test_data): New variable.
47520         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47521         (fma_downward_test_data): New variable.
47522         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47523         (fma_upward_test_data): New variable.
47524         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47526         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47527         (struct test_c_c_data): New type.
47528         (RUN_TEST_LOOP_c_c): New macro.
47529         (cacos_test_data): New variable.
47530         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47531         (cacosh_test_data): New variable.
47532         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47533         (casin_test_data): New variable.
47534         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47535         (casinh_test_data): New variable.
47536         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47537         (catan_test_data): New variable.
47538         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47539         (catanh_test_data): New variable.
47540         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47541         (ccos_test_data): New variable.
47542         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47543         (ccosh_test_data): New variable.
47544         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47545         (cexp_test_data): New variable.
47546         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47547         (clog_test_data): New variable.
47548         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47549         (clog10_test_data): New variable.
47550         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47551         (conj_test_data): New variable.
47552         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47553         (cproj_test_data): New variable.
47554         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47555         (csin_test_data): New variable.
47556         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47557         (csinh_test_data): New variable.
47558         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47559         (csqrt_test_data): New variable.
47560         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47561         (ctan_test_data): New variable.
47562         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47563         (ctan_tonearest_test_data): New variable.
47564         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47565         (ctan_towardzero_test_data): New variable.
47566         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47567         (ctan_downward_test_data): New variable.
47568         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47569         (ctan_upward_test_data): New variable.
47570         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47571         (ctanh_test_data): New variable.
47572         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47573         (ctanh_tonearest_test_data): New variable.
47574         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47575         (ctanh_towardzero_test_data): New variable.
47576         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47577         (ctanh_downward_test_data): New variable.
47578         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47579         (ctanh_upward_test_data): New variable.
47580         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47581         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47582         of BUILD_COMPLEX.
47584         * math/libm-test.inc (struct test_ff_f_data): New type.
47585         (struct test_ff_f_data_nexttoward): Likewise.
47586         (RUN_TEST_LOOP_2_f): New macro.
47587         (RUN_TEST_LOOP_ff_f): Likewise.
47588         (atan2_test_data): New variable.
47589         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47590         (copysign_test_data): New variable.
47591         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47592         (fdim_test_data): New variable.
47593         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47594         (fmax_test_data): New variable.
47595         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47596         (fmin_test_data): New variable.
47597         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47598         (fmod_test_data): New variable.
47599         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47600         (hypot_test_data): New variable.
47601         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47602         (nextafter_test_data): New variable.
47603         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47604         (nexttoward_test_data): New variable.
47605         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47606         (pow_test_data): New variable.
47607         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47608         (pow_tonearest_test_data): New variable.
47609         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47610         (pow_towardzero_test_data): New variable.
47611         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47612         (pow_downward_test_data): New variable.
47613         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47614         (pow_upward_test_data): New variable.
47615         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47616         (remainder_test_data): New variable.
47617         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47618         (scalb_test_data): New variable.
47619         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47620         * sysdeps/i386/fpu/libm-test-ulps: Update.
47622 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47624         * math/libm-test.inc (fma_test): Use max_value instead of local
47625         variable fltmax.
47626         (nextafter_test): Likewise.
47628         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47629         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47630         (acos_downward_test_data): New variable.
47631         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47632         (acos_upward_test_data): New variable.
47633         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47634         (acosh_test_data): New variable.
47635         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47636         (asin_test_data): New variable.
47637         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47638         (asin_tonearest_test_data): New variable.
47639         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47640         (asin_towardzero_test_data): New variable.
47641         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47642         (asin_downward_test_data): New variable.
47643         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47644         (asin_upward_test_data): New variable.
47645         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47646         (asinh_test_data): New variable.
47647         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47648         (atan_test_data): New variable.
47649         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47650         (atanh_test_data): New variable.
47651         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47652         (cbrt_test_data): New variable.
47653         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47654         (ceil_test_data): New variable.
47655         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47656         (cos_test_data): New variable.
47657         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47658         (cos_tonearest_test_data): New variable.
47659         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47660         (cos_towardzero_test_data): New variable.
47661         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47662         (cos_downward_test_data): New variable.
47663         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47664         (cos_upward_test_data): New variable.
47665         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47666         (cosh_test_data): New variable.
47667         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47668         (cosh_tonearest_test_data): New variable.
47669         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47670         (cosh_towardzero_test_data): New variable.
47671         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47672         (cosh_downward_test_data): New variable.
47673         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47674         (cosh_upward_test_data): New variable.
47675         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47676         (erf_test_data): New variable.
47677         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47678         (erfc_test_data): New variable.
47679         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47680         (exp_test_data): New variable.
47681         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47682         (exp_tonearest_test_data): New variable.
47683         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47684         (exp_towardzero_test_data): New variable.
47685         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47686         (exp_downward_test_data): New variable.
47687         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47688         (exp_upward_test_data): New variable.
47689         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47690         (exp10_test_data): New variable.
47691         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47692         (exp2_test_data): New variable.
47693         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47694         (expm1_test_data): New variable.
47695         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47696         (fabs_test_data): New variable.
47697         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47698         (floor_test_data): New variable.
47699         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47700         (j0_test_data): New variable.
47701         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47702         (j1_test_data): New variable.
47703         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47704         (log_test_data): New variable.
47705         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47706         (log10_test_data): New variable.
47707         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47708         (log1p_test_data): New variable.
47709         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47710         (log2_test_data): New variable.
47711         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47712         (logb_test_data): New variable.
47713         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47714         (logb_downward_test_data): New variable.
47715         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47716         (nearbyint_test_data): New variable.
47717         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47718         (rint_test_data): New variable.
47719         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47720         (rint_tonearest_test_data): New variable.
47721         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47722         (rint_towardzero_test_data): New variable.
47723         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47724         (rint_downward_test_data): New variable.
47725         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47726         (rint_upward_test_data): New variable.
47727         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47728         (round_test_data): New variable.
47729         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47730         (sin_test_data): New variable.
47731         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47732         (sin_tonearest_test_data): New variable.
47733         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47734         (sin_towardzero_test_data): New variable.
47735         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47736         (sin_downward_test_data): New variable.
47737         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47738         (sin_upward_test_data): New variable.
47739         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47740         (sinh_test_data): New variable.
47741         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47742         (sinh_tonearest_test_data): New variable.
47743         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47744         (sinh_towardzero_test_data): New variable.
47745         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47746         (sinh_downward_test_data): New variable.
47747         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47748         (sinh_upward_test_data): New variable.
47749         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47750         (sqrt_test_data): New variable.
47751         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47752         (tan_test_data): New variable.
47753         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47754         (tan_tonearest_test_data): New variable.
47755         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47756         (tan_towardzero_test_data): New variable.
47757         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47758         (tan_downward_test_data): New variable.
47759         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47760         (tan_upward_test_data): New variable.
47761         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47762         (tanh_test_data): New variable.
47763         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47764         (tgamma_test_data): New variable.
47765         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47766         (trunc_test_data): New variable.
47767         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47768         (y0_test_data): New variable.
47769         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47770         (y1_test_data): New variable.
47771         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47772         (significand_test_data): New variable.
47773         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47775 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47777         [BZ #12387]
47778         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47780 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47782         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47784 2013-05-10  Andreas Jaeger  <aj@suse.de>
47786         [BZ #15448]
47787         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47788         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47790 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47792         * math/gen-libm-test.pl (adjust_arg): New function.
47793         (special_functions): Handle generating output in both functions
47794         and arrays.
47795         (parse_args): Likewise.
47796         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47797         $in_func argument to parse_args.
47798         * math/libm-test.inc (struct test_f_f_data): New type.
47799         (IF_ROUND_INIT_): New macro.
47800         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47801         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47802         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47803         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47804         (ROUND_RESTORE_): Likewise.
47805         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47806         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47807         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47808         (ROUND_RESTORE_FE_UPWARD): Likewise.
47809         (RUN_TEST_LOOP_f_f): New macro.
47810         (acos_test_data): New variable.
47811         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47812         (acos_tonearest_test_data): New variable.
47813         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47815 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47817         * benchtests/bench-skeleton.c (startup): Fix coding style.
47819 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47821         [BZ #6809]
47822         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47823         negative infinity argument.
47824         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47825         negative infinity argument.
47826         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47827         negative infinity argument.
47828         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47829         domain errors.
47831 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47833         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47834         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47835         * iconv/iconv_prog.c (main): Likewise.
47836         * locale/programs/charmap-dir.c (charmap_readdir)
47837         (fopen_uncompressed): Likewise.
47838         * locale/programs/locfile.c (siblings_uncached)
47839         (write_locale_data): Use lstat64 instead of lstat.
47840         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47841         stat.
47843 2013-05-10  Andreas Jaeger  <aj@suse.de>
47845         [BZ #15395]
47846         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47847         localization.
47848         Include <locale.h>.
47850 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47852         * elf/dl-close.c (_dl_close_worker): Add comments.
47854 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47856         [BZ #15359]
47857         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47858         high part of pi/2.
47859         (__ieee754_rem_pio2l): Update comments.
47861         [BZ #15429]
47862         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47863         high part of pi/2.
47864         (__ieee754_rem_pio2l): Update comments.
47866         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47867         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47869         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47870         M_PI_4l.
47872         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47873         (M_PI_34_LOG10El): Likewise.
47874         (M_PI2_LOG10El): Likewise.
47875         (M_PI4_LOG10El): Likewise.
47876         (M_PI_LOG10El): Likewise.
47878 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47882 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47884         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47885         (MINUS_ZERO_INIT): Likewise.
47886         (PLUS_INFTY_INIT): Likewise.
47887         (MINUS_INFTY_INIT): Likewise.
47888         (QNAN_VALUE_INIT): Likewise.
47889         (MAX_VALUE_INIT): Likewise.
47890         (MIN_VALUE_INIT): Likewise.
47891         (MIN_SUBNORM_VALUE_INIT): Likewise.
47892         (plus_zero): Initialize with PLUS_ZERO_INIT.
47893         (minus_zero): Initialize with MINUS_ZERO_INIT.
47894         (plus_infty): Initialize with PLUS_INFTY_INIT.
47895         (minus_infty): Initialize with MINUS_INFTY_INIT.
47896         (qnan_value): Initialize with QNAN_VALUE_INIT.
47897         (max_value): Initialize with MAX_VALUE_INIT.
47898         (min_value): Initialize with MIN_VALUE_INIT.
47899         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47901         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47902         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47903         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47904         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47906         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47907         (RUN_TEST_2_f): Likewise.
47908         (RUN_TEST_ff_f): Likewise.
47909         (RUN_TEST_fi_f): Likewise.
47910         (RUN_TEST_fl_f): Likewise.
47911         (RUN_TEST_fff_f): Likewise.
47912         (RUN_TEST_c_f): Likewise.
47913         (RUN_TEST_f_f1): Likewise.
47914         (RUN_TEST_fF_f1): Likewise.
47915         (RUN_TEST_fI_f1): Likewise.
47916         (RUN_TEST_ffI_f1): Likewise.
47917         (RUN_TEST_c_c): Likewise.
47918         (RUN_TEST_cc_c): Likewise.
47919         (RUN_TEST_f_i): Likewise.
47920         (RUN_TEST_f_i_tg): Likewise.
47921         (RUN_TEST_ff_i_tg): Likewise.
47922         (RUN_TEST_f_b): Likewise.
47923         (RUN_TEST_f_b_tg): Likewise.
47924         (RUN_TEST_f_l): Likewise.
47925         (RUN_TEST_f_L): Likewise.
47926         (RUN_TEST_sincos): Likewise.
47927         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47928         whether to show exceptions.  Do not include ");\n" in return
47929         value.
47930         (special_functions): Output call to RUN_TEST_sincos instead of
47931         check_float calls.  Update calls to new_test.
47932         (parse_args): Output call to single RUN_TEST_* macro instead of
47933         check_* calls and other assignments.  Update calls to new_test.
47935         [BZ #2546]
47936         [BZ #2560]
47937         [BZ #5159]
47938         [BZ #15426]
47939         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47940         input to result for tgamma overflow.
47941         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47942         (gamma_coeff): New variable.
47943         (NCOEFF): New macro.
47944         (gamma_positive): New function.
47945         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47946         underflow here.  Use gamma_positive instead of exp (lgamma) for
47947         other arguments.
47948         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47949         (gamma_coeff): New variable.
47950         (NCOEFF): New macro.
47951         (gammaf_positive): New function.
47952         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47953         underflow here.  Use gamma_positive instead of exp (lgamma) for
47954         other arguments.
47955         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47956         (gamma_coeff): New variable.
47957         (NCOEFF): New macro.
47958         (gammal_positive): New function.
47959         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47960         underflow here.  Use gamma_positive instead of exp (lgamma) for
47961         other arguments.
47962         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47963         (gamma_coeff): New variable.
47964         (NCOEFF): New macro.
47965         (gammal_positive): New function.
47966         (__ieee754_gammal_r): Handle positive infinity, overflow and
47967         underflow here.  Handle NaN the same as positive infinity.  Remove
47968         check x < 0xffffffff for negative integers.  Use gamma_positive
47969         instead of exp (lgamma) for other arguments.
47970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47971         (gamma_coeff): New variable.
47972         (NCOEFF): New macro.
47973         (gammal_positive): New function.
47974         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47975         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47976         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47977         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47978         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47979         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47980         * sysdeps/generic/math_private.h (__gamma_productf): New
47981         prototype.
47982         (__gamma_product): Likewise.
47983         (__gamma_productl): Likewise.
47984         * math/Makefile (libm-calls): Add gamma_product.
47985         * math/libm-test.inc (tgamma_test): Add more tests.
47986         * sysdeps/i386/fpu/libm-test-ulps: Update.
47987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47989 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47991         * benchtests/bench-skeleton.c (main): Preheat CPU.
47993 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47995         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47997 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47999         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48000         and _dl_skip_args_internal.
48002 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48004         * manual/message.texi (Message Translation): Talk about users.
48005         Message to key mapping impacts design.
48007 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48009         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48011         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48013         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48014         * sysdeps/wordsize-64/glob64.c: ... here.
48016         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48017         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48018         New macros.
48020         * debug/getlogin_r_chk.c: Moved to ...
48021         * login/getlogin_r_chk.c: ... here.
48022         * debug/Makefile (routines): Move getlogin_r_chk to ...
48023         * login/Makefile (routines): ... here.
48024         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48025         * login/Versions (libc: GLIBC_2.4): ... here.
48027         * io/poll.c (__poll): Renamed from poll.
48028         Add libc_hidden_def.
48029         (poll): Define as weak alias.
48031         * debug/ptsname_r_chk.c: Moved to ...
48032         * login/ptsname_r_chk.c: ... here.
48033         * debug/Makefile (routines): Move ptsname_r_chk to ...
48034         * login/Makefile (routines): ... here.
48035         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48036         * login/Versions (libc: GLIBC_2.4): ... here.
48038         * posix/getlogin.c: Moved to ...
48039         * login/getlogin.c: ... here.
48040         * posix/getlogin_r.c: Moved to ...
48041         * login/getlogin_r.c: ... here.
48042         * posix/getlogin_r.c: Moved to ...
48043         * login/getlogin_r.c: ... here.
48044         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48045         * login/Makefile (routines): ... here.
48046         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48047         * login/Versions (libc: GLIBC_2.0): ... here.
48049         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48050         (setrlimit): Define as weak alias.
48052         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48053         Call __ names for open, ftruncate, and close.
48054         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48055         (truncate): Define as weak alias.
48057 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48059         * math/gen-libm-test.pl (parse_args): Initialize x before each
48060         test of frexp, modf and remquo.
48062         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48063         test signgam value.
48065 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48067         [BZ #15418]
48068         [BZ #15419]
48069         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48070         internal tests.
48071         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48073 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48075         * elf/dl-writev.h: New file.
48076         * elf/dl-misc.c: Include it.
48077         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48078         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48080 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48082         * math/libm-test.inc (noXFails): Remove variable.
48083         (noXPasses): Likewise.
48084         (BUILD_COMPLEX_INT): Remove macro.
48085         (print_screen): Remove xfail argument.
48086         (print_screen_max_error): Likewise.
48087         (update_stats): Likewise.
48088         (print_max_error): Likewise.  Update calls to other affected
48089         functions.
48090         (print_complex_max_error): Likewise.
48091         (test_single_exception): Update calls to print_screen.
48092         (test_single_errno): Likewise.
48093         (check_float_internal): Remove xfail argument.  Update calls to
48094         other affected functions.
48095         (check_float): Likewise.
48096         (check_complex): Likewise.
48097         (check_int): Likewise.
48098         (check_long): Likewise.
48099         (check_bool): Likewise.
48100         (check_longlong): Likewise.
48101         (main): Don't print noXFails and noXPasses.
48102         * math/gen-libm-test.pl (top level): Don't mention expected
48103         failure handling in comment.
48104         (new_test): Don't handle expected failures.
48105         (parse_args): Don't mention expected failure handling in comment.
48106         (generate_testfile): Don't handle expected failures.
48107         (parse_ulps): Likewise.
48108         (print_ulps_file): Likewise.
48109         (get_failure): Remove function.
48110         (output_test): Don't handle expected failures.
48111         * make/README.libm-test: Don't mention expected failure handling.
48113         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48114         (minus_zero): Likewise.
48115         (plus_infty): Likewise.
48116         (minus_infty): Likewise.
48117         (qnan_value): Likewise.
48118         (max_value): Likewise.
48119         (min_value): Likewise.
48120         (min_subnorm_value): Likewise.
48121         (initialize): Do not initialize those variables dynamically.
48123 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48125         * io/open.c (__open_2): Moved to ...
48126         * io/open_2.c: ... this new file.
48127         * io/open64.c (__open64_2): Moved to ...
48128         * io/open64_2.c: ... this new file.
48129         * io/openat.c (__openat_2): Moved to ...
48130         * io/openat_2.c: ... this new file.
48131         * io/openat64.c (__openat64_2): Moved to ...
48132         * io/openat64_2.c: ... this new file.
48133         * io/Makefile (routines): Add them.
48134         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48135         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48136         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48137         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48138         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48139         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48140         (__openat64): Add hidden_ver.
48141         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48142         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48144         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48145         Separately conditionalize setting of GLRO(dl_sysinfo) so
48146         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48147         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48149 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48151         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48152         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48153         definition.
48154         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48155         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48156         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48157         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48158         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48160 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48162         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48163         test signgam value.
48165         * math/libm-test.inc (hypot_test): Do not use
48166         IGNORE_ZERO_INF_SIGN.
48168 2013-05-03  Andreas Jaeger  <aj@suse.de>
48170         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48171         Linux 3.9.
48172         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48173         (PF_MAX): Adjust for VSOCK change.
48175 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48179 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48181         [BZ #15264]
48182         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48183         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48184         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48186 2013-05-02  David S. Miller  <davem@davemloft.net>
48188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48190 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48192         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48194 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48196         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48198 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48200         [BZ #14952]
48201         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48202         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48203         Use __attribute__ ((__gnu_inline__)).
48204         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48205         Don't use __attribute__ ((__gnu_inline__)).
48207 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48209         [BZ #15423]
48210         * math/s_catan.c (__catan): Handle small real or imaginary part of
48211         input specially to avoid spurious underflow.
48212         * math/s_catanf.c (__catanf): Likewise.
48213         * math/s_catanh.c (__catanh): Likewise.
48214         * math/s_catanhf.c (__catanhf): Likewise.
48215         * math/s_catanhl.c (__catanhl): Likewise.
48216         * math/s_catanl.c (__catanl): Likewise.
48217         * math/libm-test.inc (catan_test): Add more tests.
48218         (catanh_test): Likewise.
48219         * sysdeps/i386/fpu/libm-test-ulps: Update.
48220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48222 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48226 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48228         [BZ #15416]
48229         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48230         accurately for denominator in atan2.
48231         * math/s_catanf.c (__catanf): Likewise.
48232         * math/s_catanh.c (__catanh): Likewise.
48233         * math/s_catanhf.c (__catanhf): Likewise.
48234         * math/s_catanhl.c (__catanhl): Likewise.
48235         * math/s_catanl.c (__catanl): Likewise.
48236         * math/libm-test.inc (catan_test): Add more tests.
48237         (catanh_test): Likewise.
48238         * sysdeps/i386/fpu/libm-test-ulps: Update.
48239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48241 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48243         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48245         * benchtests/Makefile (bench): Remove slow benchmarks.
48246         * benchtests/atan-inputs: Add slow benchmark inputs.
48247         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48248         (BENCH_FUNC): Accept variant offset.
48249         (VARIANT): Define.
48250         * benchtests/bench-skeleton.c (main): Run benchmark for each
48251         variant.
48252         * benchtests/cos-inputs: Add slow benchmark inputs.
48253         * benchtests/exp-inputs: Likewise.
48254         * benchtests/pow-inputs: Likewise.
48255         * benchtests/sin-inputs: Likewise.
48256         * benchtests/slowatan-inputs: Remove.
48257         * benchtests/slowatan.c: Remove.
48258         * benchtests/slowcos-inputs: Remove.
48259         * benchtests/slowcos.c: Remove.
48260         * benchtests/slowexp-inputs: Remove.
48261         * benchtests/slowexp.c: Remove.
48262         * benchtests/slowpow-inputs: Remove.
48263         * benchtests/slowpow.c: Remove.
48264         * benchtests/slowsin-inputs: Remove.
48265         * benchtests/slowsin.c: Remove.
48266         * benchtests/slowtan-inputs: Remove.
48267         * benchtests/slowtan.c: Remove.
48268         * benchtests/tan-inputs: Add slow benchmark inputs.
48269         * scripts/bench.pl: Parse comments and directives.
48271         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48272         in CPPFLAGS.
48273         ($(objpfx)bench-%.c): Remove *-ITER.
48274         * benchtests/bench-modf.c: Remove definition of ITER.
48275         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48276         (main): Loop for DURATION seconds instead of fixed number of
48277         iterations.
48278         * scripts/bench.pl: Don't expect iterations in parameters.
48280 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48282         * io/fchdir.c (__fchdir): Renamed from fchdir.
48283         (fchdir): Define as weak alias.
48285 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48287         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48288         (ERRNO_EDOM): Likewise.
48289         (ERRNO_ERANGE): Likewise.
48290         (noErrnoTests): New variable.
48291         (init_max_error): Set errno to 0.
48292         (test_single_errno): New function.
48293         (test_errno): Likewise.
48294         (check_float_internal): Call test_errno.  Set errno to 0.
48295         (check_complex): Refer to errno tests in comment.
48296         (check_int): Call test_errno.  Set errno to 0.
48297         (check_long): Likewise.
48298         (check_bool): Likewise.
48299         (check_longlong): Likewise.
48300         (cos_test): Use ERRNO_* flags for errno tests instead of
48301         check_int.
48302         (expm1_test): Likewise.
48303         (fmod_test): Likewise.
48304         (ilogb_test): Likewise.
48305         (lgamma_test): Likewise.
48306         (pow_test): Likewise.
48307         (remainder_test): Likewise.
48308         (sin_test): Likewise.
48309         (tan_test): Likewise.
48310         (yn_test): Likewise.
48311         (initialize): Set errno to 0.
48312         (main): Print number of errno tests.
48313         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48315 2013-04-29  Andreas Jaeger  <aj@suse.de>
48317         [BZ #15084]
48318         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48319         and RES_USEVC.
48321         [BZ #15085]
48322         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48323         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48324         unimplemented.
48326         [BZ #15380]
48327         * stdlib/random.c (__initstate): Return NULL if
48328         __initstate fails.
48330         [BZ #15086]
48331         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48332         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48333         RES_SNGLKUPREOP.
48335 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48339 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48341         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48342         of individual tests.
48343         (casin_test): Likewise.
48344         (casinh_test): Likewise.
48346 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48348         [BZ #15409]
48349         * math/s_catan.c (__catan): Handle arguments with large real or
48350         imaginary part separately without squaring.
48351         * math/s_catanf.c (__catanf): Likewise.
48352         * math/s_catanh.c (__catanh): Likewise.
48353         * math/s_catanhf.c (__catanhf): Likewise.
48354         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48355         and redefine.
48356         (__catanhl): Handle arguments with large real or imaginary part
48357         separately without squaring.
48358         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48359         and redefine.
48360         (__catanl): Handle arguments with large real or imaginary part
48361         separately without squaring.
48362         * math/libm-test.inc (catan_test): Add more tests.
48363         (catanh_test): Likewise.
48364         * sysdeps/i386/fpu/libm-test-ulps: Update.
48365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48367 2013-04-27  Andreas Jaeger  <aj@suse.de>
48369         [BZ #15007]
48370         * stdlib/stdlib.h: Update guards for qecvt.
48371         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48372         <stdlib.h>.
48374 2013-04-27  Allan McRae  <allan@archlinux.org>
48376         * sysdeps/i386/fpu/libm-test-ulps: Update.
48378 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48380         [BZ #15406]
48381         * math/s_catan.c: Include <float.h>.
48382         (__catan): Ensure underflow exception occurs for underflowed
48383         result.
48384         * math/s_catanf.c: Include <float.h>.
48385         (__catanf): Ensure underflow exception occurs for underflowed
48386         result.
48387         * math/s_catanh.c: Include <float.h>.
48388         (__catanh): Ensure underflow exception occurs for underflowed
48389         result.
48390         * math/s_catanhf.c: Include <float.h>.
48391         (__catanhf): Ensure underflow exception occurs for underflowed
48392         result.
48393         * math/s_catanhl.c: Include <float.h>.
48394         (__catanhl): Ensure underflow exception occurs for underflowed
48395         result.
48396         * math/s_catanl.c: Include <float.h>.
48397         (__catanl): Ensure underflow exception occurs for underflowed
48398         result.
48399         * math/libm-test.inc (catan_test): Add more tests.
48400         (catanh_test): Likewise.
48402         [BZ #15405]
48403         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48404         underflowed result.
48405         * math/s_ccoshf.c (__ccoshf): Likewise.
48406         * math/s_ccoshl.c (__ccoshl): Likewise.
48407         * math/s_csin.c (__csin): Likewise.
48408         * math/s_csinf.c (__csinf): Likewise.
48409         * math/s_csinh.c (__csinh): Likewise.
48410         * math/s_csinhf.c (__csinhf): Likewise.
48411         * math/s_csinhl.c (__csinhl): Likewise.
48412         * math/s_csinl.c (__csinl): Likewise.
48413         * math/libm-test.inc (ccos_test): Add more tests.
48414         (ccosh_test): Likewise.
48415         (csin_test): Likewise.
48416         (csinh_test): Likewise.
48418 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48420         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48421         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48422         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48423         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48424         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48425         powerpc/power5+/fpu folders.
48426         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48429 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48433 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48435         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48436         additions to variable.
48437         [$(config-machine) = x86_64] (modules-names): Likewise.
48438         ($(objpfx)tst-audit3): Remove dependency.
48439         ($(objpfx)tst-audit3.out): Likewise.
48440         ($(objpfx)tst-audit4): Likewise.
48441         ($(objpfx)tst-audit4.out): Likewise.
48442         ($(objpfx)tst-audit5): Likewise.
48443         ($(objpfx)tst-audit5.out): Likewise.
48444         ($(objpfx)tst-audit6): Likewise.
48445         ($(objpfx)tst-audit6.out): Likewise.
48446         ($(objpfx)tst-audit7): Likewise.
48447         ($(objpfx)tst-audit7.out): Likewise.
48448         (tst-audit3-ENV): Remove variable.
48449         (tst-audit4-ENV): Likewise.
48450         (tst-audit5-ENV): Likewise.
48451         (tst-audit6-ENV): Likewise.
48452         (tst-audit7-ENV): Likewise.
48453         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48454         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48455         addition to variable.
48456         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48457         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48458         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48459         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48460         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48461         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48462         tst-audit3, tst-audit4 and tst-audit5.
48463         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48464         tst-audit6 and tst-audit7.
48465         [$(subdir) = elf] (modules-names): Add audit modules for those
48466         tests.
48467         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48468         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48469         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48470         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48471         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48472         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48473         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48474         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48475         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48476         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48477         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48478         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48479         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48480         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48481         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48482         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48483         Likewise.
48484         [$(subdir) = elf && $(config-cflags-avx) = yes]
48485         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48486         [$(subdir) = elf && $(config-cflags-avx) = yes]
48487         (CFLAGS-tst-auditmod4a.c): Likewise.
48488         [$(subdir) = elf && $(config-cflags-avx) = yes]
48489         (CFLAGS-tst-auditmod4b.c): Likewise.
48490         [$(subdir) = elf && $(config-cflags-avx) = yes]
48491         (CFLAGS-tst-auditmod6b.c): Likewise.
48492         [$(subdir) = elf && $(config-cflags-avx) = yes]
48493         (CFLAGS-tst-auditmod6c.c): Likewise.
48494         [$(subdir) = elf && $(config-cflags-avx) = yes]
48495         (CFLAGS-tst-auditmod7b.c): Likewise.
48496         * elf/tst-audit3.c: Move to ...
48497         * sysdeps/x86_64/tst-audit3.c: ... here.
48498         * elf/tst-audit4.c: Move to ...
48499         * sysdeps/x86_64/tst-audit4.c: ... here.
48500         * elf/tst-audit5.c: Move to ...
48501         * sysdeps/x86_64/tst-audit5.c: ... here.
48502         * elf/tst-audit6.c: Move to ...
48503         * sysdeps/x86_64/tst-audit6.c: ... here.
48504         * elf/tst-audit7.c: Move to ...
48505         * sysdeps/x86_64/tst-audit7.c: ... here.
48506         * elf/tst-auditmod3a.c: Move to ...
48507         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48508         * elf/tst-auditmod3b.c: Move to ...
48509         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48510         * elf/tst-auditmod4a.c: Move to ...
48511         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48512         * elf/tst-auditmod4b.c: Move to ...
48513         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48514         * elf/tst-auditmod5a.c: Move to ...
48515         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48516         * elf/tst-auditmod5b.c: Move to ...
48517         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48518         * elf/tst-auditmod6a.c: Move to ...
48519         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48520         * elf/tst-auditmod6b.c: Move to ...
48521         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48522         * elf/tst-auditmod6c.c: Move to ...
48523         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48524         * elf/tst-auditmod7a.c: Move to ...
48525         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48526         * elf/tst-auditmod7b.c: Move to ...
48527         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48529 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48531         [BZ #15366]
48532         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48533         define unconditionally.
48534         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48535         define unconditionally.
48536         (INT8_C, INT16_C, etc.): Likewise.
48538 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48540         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48541         __ehdr_start with hidden visibility.
48543         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48545 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48547         * math/libm-test.inc (cos_test): Use accurate hex constants.
48548         (sincost_test): Likewise.
48550 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48552         * math/libm-test.inc (catan_test): Add more tests.
48553         (catanh_test): Likewise.
48555         * math/s_catanf.c (__catanf): Use suffixed floating-point
48556         constants.
48557         * math/s_catanhf.c (__catanhf): Likewise.
48558         * math/s_catanhl.c (__catanhl): Likewise.
48559         * math/s_catanl.c (__catanl): Likewise.
48561         [BZ #15394]
48562         * math/s_catan.c (__catan): Calculate imaginary part of result
48563         with log1p not log unless computing log of number close to 0.
48564         * math/s_catanf.c (__catanf): Likewise.
48565         * math/s_catanl.c (__catanl): Likewise.
48566         * math/s_catanh.c (__catanh): Calculate real part of result with
48567         log1p not log unless computing log of number close to 0.
48568         * math/s_catanhf.c (__catanhf): Likewise.
48569         * math/s_catanhl.c (__catanhl): Likewise.
48570         * math/libm-test.inc (catan_test): Add more tests.
48571         (catanh_test): Likewise.
48572         * sysdeps/i386/fpu/libm-test-ulps: Update.
48573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48575 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48577         * benchtests/Makefile: Mention files in which fast and slow
48578         paths of math functions are implemented.
48580 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48582         * sysdeps/posix/timespec_get.c: New file.
48584 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48586         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48587         POWER.
48588         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48589         for POWER.
48590         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48591         powerpc/power5/fpu folders.
48592         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48593         * benchtests/Makefile: Add modf testcase.
48594         * benchtests/bench-modf.c: New file: Benchmark test for mo
48596 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48598         [BZ #14888]
48599         * time/Makefile (tests): Add tst-strptime-whitespace.
48600         * time/strptime_l.c (get_number): Use ISSPACE.
48601         (__strptime_internal): Likewise.
48602         * time/tst-strptime-whitespace.c: New test case.
48604 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48606         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48607         member.
48608         (_nss_files_init): Set it here.
48610 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48612         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48613         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48614         unsigned.
48616 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48618         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48620 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48622         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48623         size just once.
48625 2013-04-21  David S. Miller  <davem@davemloft.net>
48627         * po/ru.po: Update Russion translation from translation project.
48629 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48631         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48632         and setfsgid.
48634 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48636         * configure.in: Remove i386 configure warning. Remove i386 case.
48637         * configure: Regenerate.
48638         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48639         Add example to error message.
48640         * sysdeps/i386/configure: Regenerate.
48642 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48644         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48645         slowtan.
48646         * benchtests/cos-inputs: New file.
48647         * benchtests/slowcos-inputs: New file.
48648         * benchtests/slowcos.c: New file.
48649         * benchtests/slowtan-inputs: New file.
48650         * benchtests/slowtan.c: New file.
48651         * benchtests/tan-inputs: New file.
48653 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48655         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48656         considered kosher.
48658 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48660         * benchtests/Makefile: Include cppflags-iterator.mk to add
48661         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48663         * Makefile.in (bench-clean): New target.
48664         * benchtests/Makefile (bench-clean): Likewise.
48666 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48668         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48670 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48672         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48674 2013-04-15  Andreas Schwab  <schwab@suse.de>
48676         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48677         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48678         * nscd/pwdcache.c (cache_addpw): Likewise.
48679         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48680         more than recsize.
48682 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48684         * benchtests/Makefile (bench): Write all output to
48685         bench-out.tmp together.
48687 2013-04-15  Andreas Schwab  <schwab@suse.de>
48689         * nscd/nscd.c (main): Don't fork again after closing files.
48691 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48693         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48695         * benchtests/Rules (bench-deps): Collect dependencies into a
48696         single variable.  Add Makefile to dependencies.
48697         ($(objpfx)bench-%.c): Depend on bench-deps.
48699 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48700             Xavier Roche  <roche+kml2@exalead.com>
48702         [BZ #15361]
48703         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48704         just that it's a file descriptor.
48705         * manual/llio.texi (Synchronizing AIO Operations): Update description
48706         for EBADF error from aio_fsync.
48708 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48710         * Rules (bench): Move target definition...
48711         * benchtests/Makefile: ... here.
48713 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48715         * math/libm-test.inc (cos_test): Fix PI/2 test.
48716         (sincos_test): Likewise.
48717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48718         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48720 2013-04-11  Andreas Schwab  <schwab@suse.de>
48722         [BZ #13988]
48723         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48724         accept exponent character only when digits were seen.
48725         * stdio-common/Makefile (tests): Add bug26.
48726         * stdio-common/bug26.c: New file.
48728         [BZ #14293]
48729         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48730         non-freeable.
48732 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48734         * Makeconfig (rtld-prefix): Define built linker prefix.
48735         * Rules (run-bench): Use it.
48736         * math/Makefile (run-regen-ulps): Likewise.
48738         * Rules (bench): Remove eval.
48740 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48741             Roland McGrath  <roland@hack.frob.com>
48742             Ondrej Bilka  <neleai@seznam.cz>
48744         [BZ #15346]
48745         * time/getdate.c: Include ctype.h and alloca.h.
48746         (__getdate_r): Trim leading and trailing spaces of input.
48747         * time/tst-getdate.c (tests): Add tests with leading and
48748         trailing spaces.
48750 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48752         [BZ #14280]
48753         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48754         when computing value.
48756 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48758         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48759         Use testrun.sh to run libm tests.
48761         [BZ #15309]
48762         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48764 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48766         [BZ #15264]
48767         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48769 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48771         * Makefile.in (regen-ulps): New target.
48772         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48773         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48774         [ifneq (no,$(PERL)] (regen-ulps): New target.
48775         [ifeq (no,$(PERL)] (regen-ulps): New target.
48776         * math/libm-test.inc (ulps_file_name): Define.
48777         (output_dir): New variable.
48778         (options): Add "output-dir" option.
48779         (parse_opt): Handle 'o' case.
48780         (main): If output_dir is non-NULL use it as a prefix
48781         otherwise use "".
48782         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48784 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48786         [BZ #10060, #10062]
48787         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48788         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48789         fail configure if __sync_val_compare_and_swap is not inlined.
48790         * sysdeps/i386/configure: Regenerate.
48791         * configure.in: Build for i686 when configured for i386.
48792         * configure: Regenerate.
48793         * README: Remove i386 reference.
48795 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48797         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48798         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48800 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48802         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48803         (lmsnanval): New variables.
48804         (F): Add conversion tests.
48805         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48806         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48808         * stdio-common/tstdiomisc.c (F): Properly collect individual
48809         tests' results.
48811         [BZ #14686, #15336]
48812         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48813         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48814         Instead, use input NaN values or generate a qNaN by arithmetic
48815         operation.  Also fix bugs to comply with the standard.
48816         * math/libm-test.inc (remainder_test): Add more tests.
48818         [BZ #15335, #15342]
48819         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48820         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48821         input NaN values or generate a qNaN by arithmetic operation.
48823         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48824         unreachable code.
48826         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48827         definitions.
48829 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48831         [BZ #14478]
48832         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48833         underflowed result.
48834         * math/s_cexpf.c (__cexpf): Likewise.
48835         * math/s_cexpl.c (__cexpl): Likewise.
48836         * math/libm-test.inc (cexp_test): Add more tests.
48838 2013-04-03  Andreas Schwab  <schwab@suse.de>
48840         [BZ #15330]
48841         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48842         order arrays from heap if bigger than alloca cutoff.
48844 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48846         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48847         (SNAN_TESTS_double): Refer to GCC PR56831.
48848         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48849         GCC PR56828.
48851 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48853         * Rules (bench): Move bench.out after the run is complete.
48855         * Rules (bench): Echo currently running benchmark.
48857         * benchtests/Makefile (bench): Add atan and slowatan.
48858         * benchtests/atan-inputs: New file.
48859         * benchtests/slowatan-inputs: New file.
48860         * benchtests/slowatan.c: New file.
48862         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48864         its value.
48866         [BZ #15305]
48867         * sysdeps/unix/sysv/linux/kernel-features.h
48868         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48869         __ASSUME_XFS_RESTRICTED_CHOWN.
48870         * sysdeps/unix/sysv/linux/pathconf.c
48871         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48872         Save and restore errno.
48874 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48876         [BZ #15327]
48877         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48878         arguments using __kernel_casinh.
48879         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48880         arguments using __kernel_casinhf.
48881         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48882         arguments using __kernel_casinhl.
48883         * math/libm-test.inc (cacosh_test): Add more tests.
48884         * sysdeps/i386/fpu/libm-test-ulps: Update.
48885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48887 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48889         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48892         * bench/Makefile (bench): Add sin and slowsin.
48893         * benchtests/sin-inputs: New file.
48894         * benchtests/slowsin-inputs: New file.
48895         * benchtests/slowsin.c: New file.
48897         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48898         (bench): Add slowexp and slowpow.
48899         (exp-ITER): Increase iterations.
48900         (pow-ITER): Likewise.
48901         * benchtests/exp-inputs: Change input.
48902         * benchtests/pow-inputs: Likewise.
48903         * benchtests/slowexp-inputs: New file.
48904         * benchtests/slowexp.c: New file.
48905         * benchtests/slowpow-inputs: New file.
48906         * benchtests/slowpow.c: New file.
48908 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48910         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48911         instructions.
48912         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48913         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48914         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48915         * benchtests/Makefile: Add rint benchtest.
48916         * benchtests/rint-inputs: Input for rint benchtest.
48918 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48920         * Versions.def (libm): Add GLIBC_2.18.
48921         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48922         hidden libm prototypes.
48923         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48924         * math/Makefile (libm-calls): Add s_issignaling.
48925         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48926         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48927         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48928         declaration.
48929         * math/math.h [__USE_GNU] (issignaling): New macro.
48930         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48931         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48932         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48933         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48934         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48935         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48936         * manual/arith.texi (issignaling): New section.
48937         * manual/libm-err-tab.pl (@all_functions): Update comment.
48938         * math/gen-libm-test.pl (parse_args): Apply special handling for
48939         issignaling.
48940         * math/libm-test.inc (print_float, issignaling_test): New
48941         functions.
48942         (check_float_internal): Add issignaling checks.
48943         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48944         default definition.
48945         * sysdeps/powerpc/math-tests.h: New file.
48946         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48947         tests.
48948         * math/test-snan.c (TEST_FUNC): Likewise.
48950 2013-03-30  David S. Miller  <davem@davemloft.net>
48952         * po/de.po: Update from translation team.
48954 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48956         [BZ #10357]
48957         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48958         imaginary part less than 1.0 and real part less than 0.5
48959         specially.
48960         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48961         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48962         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48963         (cacos_test): Add more tests.
48964         (casin_test): Likewise.
48965         (casinh_test): Likewise.
48966         * sysdeps/i386/fpu/libm-test-ulps: Update.
48967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48969 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48971         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48972         ONE with its value.
48974         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48975         (__pow_mp): Replace ONE and MONE with their values.
48976         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48978         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48979         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48980         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48981         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48983         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48985         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48986         (__pow_mp): Replace ZERO and MZERO with their values.
48987         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48988         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48989         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48991         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48992         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48993         (__sqr): Likewise.
48995         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48997         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48999 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49001         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49002         Declare with __attribute__ ((weak)).
49003         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49004         Call __call_tls_dtors only if it's not NULL.
49006 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49008         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49009         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49010         magic __ehdr_start linker symbol if it's defined.
49011         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49012         them up here if it was already done.
49014         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49015         (_dl_aux_init): Use const in cast when setting it.
49016         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49017         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49018         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49020         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49021         Declare them here.
49022         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49023         * csu/libc-tls.c: Nor here.
49024         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49026         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49027         (__libc_message): Never call vsyslog.
49029 2013-03-28  Alan Modra  <amodra@gmail.com>
49031         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49032         Define as empty.
49033         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49034         Likewise.
49036 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49038         [BZ #15214]
49039         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49040         underflow.
49041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49043 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49045         [BZ #15304]
49046         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49047         Don't add gid passed as argument.
49049         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49051 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49053         [BZ #15307]
49054         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49055         imaginary part between 1.0 and 1.5 and real part less than 0.5
49056         specially.
49057         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49058         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49059         * math/libm-test.inc (cacos_test): Add more tests.
49060         (casin_test): Likewise.
49061         (casinh_test): Likewise.
49062         * sysdeps/i386/fpu/libm-test-ulps: Update.
49063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49065 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49067         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49068         constants.
49069         (norm): Likewise.
49070         (denorm): Likewise.
49071         (__dbl_mp): Likewise.
49072         (add_magnitudes): Likewise.
49073         (sub_magnitudes): Likewise.
49074         (__add): Likewise.
49075         (__sub): Likewise.
49076         (__mul): Likewise.
49077         (__sqr): Likewise.
49078         (__inv): Likewise.
49079         (__dvd): Likewise.
49081         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49082         commented code.
49083         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49084         (__dubcos): Likewise.
49085         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49086         (__ieee754_acos): Likewise.
49087         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49088         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49089         (__exp1): Likewise.
49090         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49091         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49092         (log1): Likewise.
49093         (my_log2): Likewise.
49094         (checkint): Likewise.
49095         * sysdeps/ieee754/dbl-64/e_remainder.c
49096         (__ieee754_remainder): Likewise.
49097         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49099         (bsloww): Likewise.
49100         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49102         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49103         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49104         MANTISSA_STORE_T to store computations on mantissa.  Use
49105         macros for rounding and division.
49106         (denorm): Likewise.
49107         (__dbl_mp): Likewise.
49108         (add_magnitudes): Likewise.
49109         (sub_magnitudes): Likewise.
49110         (__mul): Likewise.
49111         (__sqr): Likewise.
49112         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49113         powers of two in terms of TWOPOW macro.
49114         (mp_no): Make type of mantissa as MANTISSA_T.
49115         [!RADIXI]: Define RADIXI.
49116         [!TWO52]: Define TWO52.
49117         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49119 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49121         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49122         llroundl symbol when building for PPC32.
49124 2013-03-24  Mark H Weaver  <mhw@netris.org>
49126         * manual/arith.texi (Normalization Functions): Fix prototypes for
49127         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49129 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49131         [BZ #13889]
49132         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49133         high value to check if expl overflow.
49134         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49135         to check for underflow and overflow.
49136         * math/libm-test.inc: Add exp test.
49138 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49140         [BZ #11120]
49141         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49142         with NOT_IN_libc.
49144 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49146         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49147         symbol.
49149 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49151         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49152         wrap blocks consisting of several statements.
49154         * sysdeps/generic/math-tests.h: New file.
49155         * sysdeps/i386/fpu/math-tests.h: Likewise.
49156         * math/test-snan.c: Include it.
49157         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49159 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49161         [BZ #15285]
49162         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49163         (__ieee754_j0l): Do not improve calculations using cos of twice
49164         input for inputs above LDBL_MAX / 2.0L.
49165         (__ieee754_y0l): Likewise.
49166         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49167         (__ieee754_j1l): Do not improve calculations using cos of twice
49168         input for inputs above LDBL_MAX / 2.0L.
49169         (__ieee754_y1l): Likewise.
49170         * math/libm-test.inc (j0_test): Add another test.
49171         (j1_test): Likewise.
49172         (y0_test): Likewise.
49173         (y1_test): Likewise.
49174         * sysdeps/i386/fpu/libm-test-ulps: Update.
49176 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49178         * Rules ($(objpfx)bench-%.c): Include code from a C source
49179         file.
49181 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49183         [BZ #15287]
49184         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49185         imaginary part 1.0 and real part less than 0.5 specially.
49186         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49187         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49188         * math/libm-test.inc (cacos_test): Add more tests.
49189         (casin_test): Likewise.
49190         (casinh_test): Likewise.
49191         * sysdeps/i386/fpu/libm-test-ulps: Update.
49192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49194 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49196         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49197         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49199 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49201         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49202         * config.make.in (config-cflags-sse4): Remove variable.
49203         (config-cflags-avx): Likewise.
49204         (config-cflags-sse2avx): Likewise.
49205         (config-cflags-novzeroupper): Likewise.
49206         (config-asflags-i686): Likewise.
49207         (have-mfma4): Likewise.
49208         (have-as-vis3): Likewise.
49209         (MIG): Likewise.
49210         * configure.in (MIG): Do not AC_SUBST.
49211         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49212         (libc_cv_cc_sse4): Do not AC_SUBST.
49213         (libc_cv_cc_avx): Likewise.
49214         (libc_cv_cc_sse2avx): Likewise.
49215         (libc_cv_cc_novzeroupper): Likewise.
49216         (libc_cv_cc_fma4): Likewise.
49217         (libc_cv_as_i686): Likewise.
49218         (libc_cv_sparc_as_vis3): Likewise.
49219         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49220         LIBC_CONFIG_VAR.
49221         (config-asflags-i686): Likewise.
49222         (config-cflags-avx): Likewise.
49223         (config-cflags-sse2avx): Likewise.
49224         (have-mfma4): Likewise.
49225         (config-cflags-novzeroupper): Likewise.
49226         * sysdeps/mach/configure.in (MIG): Likewise.
49227         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49228         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49229         LIBC_CONFIG_VAR.
49230         (config-cflags-avx): Likewise.
49231         (config-cflags-sse2avx): Likewise.
49232         (have-mfma4): Likewise.
49233         (config-cflags-novzeroupper): Likewise.
49234         * configure: Regenerated.
49235         * sysdeps/i386/configure: Likewise.
49236         * sysdeps/mach/configure: Likewise.
49237         * sysdeps/sparc/configure: Likewise.
49238         * sysdeps/x86_64/configure: Likewise.
49240 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49242         [BZ #14812]
49243         * locale/programs/localedef.c (options): Put N_ translation marker
49244         on argument names, not just descriptions.
49246 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49248         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49250 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49252         [BZ #14176]
49253         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49255 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49257         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49258         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49259         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49260         [!BEFORE_ABORT] (before_abort): New function.
49261         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49262         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49263         (writev_for_fatal): New function.
49264         (WRITEV_FOR_FATAL): New macro; call that.
49265         (backtrace_and_maps): New function.
49266         (BEFORE_ABORT): New macro; call that.
49267         (struct str_list): Type removed.
49268         (__libc_message, __libc_fatal): Functions removed.
49269         Include <sysdeps/posix/libc_fatal.c> instead.
49271 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49273         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49274         constants.
49275         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49276         double constants.
49278 2013-03-19  Andreas Schwab  <schwab@suse.de>
49280         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49281         * sysdeps/gnu/configure: Regenerate.
49283         * configure.in: Substitute libc_cv_rtlddir.
49284         * configure: Regenerate.
49285         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49286         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49287         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49288         * elf/Makefile (install-others, CFLAGS-interp.c)
49289         (ldso_install, common-ldd-rewrite): Likewise.
49290         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49291         $(inst_slibdir)/$(rtld-installed-name).
49292         * scripts/rellns-sh: Add -p option.
49293         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49294         for source.
49296 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49298         * manual/nptl.texi: Renamed to ...
49299         * manual/threads.texi: ... this.
49300         * manual/Makefile (chapters): Update.
49302 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49304         [BZ #14812]
49305         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49306         on argument names, not just descriptions.
49307         * malloc/memusagestat.c (options): Likewise.
49308         * nss/getent.c (options): Likewise.
49310 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49312         [BZ #14812]
49313         * iconv/iconv_prog.c (options): Put N_ translation marker
49314         on argument names, not just descriptions.
49315         * iconv/iconvconfig.c (options): Likewise.
49317 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49319         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49320         implementation which is faster on all x86_64 architectures.
49321         Tested on AMD, Intel Nehalem, SNB, IVB.
49322         * sysdeps/x86_64/strnlen.S: Likewise.
49324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49325         Remove all multiarch strlen and strnlen versions.
49326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49327         Remove strlen and strnlen related parts.
49329         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49330         Inline strlen part.
49331         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49333         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49334         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49335         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49336         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49337         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49338         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49340 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49342         * manual/memory.texi (Malloc Tunable Parameters):
49343         Sort parameters alphabetically. Add comments for missing entries.
49345 2013-03-17  David S. Miller  <davem@davemloft.net>
49347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49349 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49351         [BZ #15283]
49352         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49353         for arguments at most half maximum finite value.
49354         * math/libm-test.inc (j0_test): Add more tests.
49355         (j1_test): Likewise.
49356         (y0_test): Likewise.
49357         (y1_test): Likewise.
49358         * sysdeps/i386/fpu/libm-test-ulps: Update.
49359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49361         [BZ #14155]
49362         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49363         1 / x and functions P and Q for arguments above 0x1p256L.
49364         (__ieee754_y0l): Likewise.
49365         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49366         (__ieee754_y1l): Likewise.
49367         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49368         (j1_test): Likewise.
49369         (y0_test): Likewise.
49370         (y1_test): Likewise.
49372 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49374         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49375         variable.
49377 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49379         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49380         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49381         zero since it's initialized to EXEC_PAGESIZE.
49383         * sysdeps/unix/sysv/linux/ldsodefs.h
49384         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49385         * sysdeps/generic/ldsodefs.h: ... here.
49387 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49389         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49391         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49392         math/test-snan.c.
49393         * math/test-snan.c: Renamed from
49394         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49395         * math/Makefile (tests): Add test-snan.
49396         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49397         test-powerpc-snan.
49399         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49400         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49401         functions.
49402         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49403         __builtin_nan family of functions.
49404         * math/libm-test.inc (initialize): Initialize qnan_value with
49405         __builtin_nan family of functions.
49406         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49407         Remove variables.
49408         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49409         Remove functions.
49410         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49411         storage class.  Initialize qNaN_var and sNaN_var with
49412         __builtin_nan and __builtin_nans families of functions,
49413         respectively.
49415         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49416         (sqrt_test): Remove duplicate test with qNaN input.
49417         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49418         (round_test, signbit_test, significand_test): Note missing +/-Inf
49419         as well as qNaN tests.
49421         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49422         qNaN_var.  Fix a few strings, too.
49423         * math/libm-test.inc (nan_value): Rename to qnan_value.
49424         * math/gen-libm-test.pl (%beautify): Adjust to that.
49425         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49426         * math/test-misc.c (main): Likewise.
49427         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49428         to __qnan_bytes, and __qnan_union, respectively.
49429         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49430         Likewise.
49431         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49432         and lqnanval, respectively.
49433         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49434         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49435         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49436         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49438         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49439         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49440         doubles.
49442         * math/test-misc.c (main): Fix copy'n'pastos.
49443         * misc/tst-efgcvt.c (special): Likewise.
49445         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49446         Remove declarations.
49448 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49450         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49451         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49452         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49453         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49455 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49457         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49458         macro to return vdso values correctly in IFUNC implementations.
49459         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49460         Optimization by using IFUNC.
49462 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49463             Richard Henderson  <rth@redhat.com>
49464             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49466         * Makefile.in (bench): New target.
49467         * NEWS: Mention the benchmark framework.
49468         * Rules (bench): Likewise.
49469         (binaries-bench): Generate binaries for functions to
49470         benchmark.
49471         * benchtests/Makefile: New makefile for benchmark tests.
49472         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49473         programs.
49474         * benchtests/exp-inputs: New input file for EXP function.
49475         * benchtests/pow-inputs: New input file for POW function.
49476         * scripts/bench.pl: New script to generate source files for
49477         benchmark programs.
49479 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49481         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49482         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49483         computations on mantissa.  Use macros for rounding and
49484         division.
49485         (denorm): Likewise.
49486         (__dbl_mp): Likewise.
49487         (add_magnitudes): Likewise.
49488         (sub_magnitudes): Likewise.
49489         (__mul): Likewise.
49490         (__sqr): Likewise.
49491         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49492         powers of two in terms of TWOPOW macro.
49493         (mp_no): Make type of mantissa as MANTISSA_T.
49494         [!RADIXI]: Define RADIXI.
49495         [!TWO52]: Define TWO52.
49496         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49498         * manual/nptl.texi (cindex): Modify threads to pthreads.
49500 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49502         * sysdeps/x86_64/preconfigure: Regenerated.
49504 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49506         [BZ #14155]
49507         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49508         0x1p28 and above.
49509         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49510         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49511         0x1p28 and above.
49512         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49513         * math/libm-test.inc (j0_test): Do not allow one spurious
49514         underflow exception.
49515         (y1_test): Likewise.
49517 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49519         * manual/Makefile (chapters): Add nptl.
49520         * manual/debug.texi (Debugging Support): Add link to Threads
49521         chapter.
49522         * manual/nptl.texi: New file.
49524         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49526 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49528         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49529         for non-NULL pointer before the memory validity test. Pointed
49530         out by Holger Brunck <holger.brunck@keymile.com>.
49532 2013-03-13  Andreas Schwab  <schwab@suse.de>
49534         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49535         instead of .os.
49537 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49539         * timezone/zic.c: Update from tzcode 2013b.
49541 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49543         * manual/install.texi (Configuring and compiling):
49544         Mention i686 and i586.
49545         * INSTALL: Regenerate.
49547 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49549         * sysdeps/init_array/elf-init.c: New file.
49550         * csu/elf-init.c
49551         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49552         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49554         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49555         __gmon_start__ as global, but as static with a .preinit_array pointer.
49556         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49557         * sysdeps/init_array/crti.S: New file, empty except for comments.
49558         * sysdeps/init_array/crtn.S: Likewise.
49560 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49562         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49563         definining bcopy.
49564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49565         Remove Prefer_SSE_for_memop.
49566         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49567         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49568         HAS_PREFER_SSE_FOR_MEMOP.
49569         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49570         memset-x86-64.
49571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49572         Remove bzero, memset ifunc support.
49573         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49574         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49575         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49576         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49578 2013-03-11  Andreas Schwab  <schwab@suse.de>
49580         [BZ #15234]
49581         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49582         by SHLIB_COMPAT.
49583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49584         (GLIBC_2.16): Remove pthread_atfork.
49586 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49588         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49589         (ptestcases.h): Likewise.
49591 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49593         * Makeconfig ($(common-objpfx)config.status): Depend on
49594         sysdeps/*/preconfigure{,.in} too.
49596 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49598         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49599         (__free_hook): Use void * instead of __malloc_ptr_t.
49600         (__malloc_hook): Likewise.
49601         (__realloc_hook): Likewise.
49602         (__memalign_hook): Likewise.
49603         (__after_morecore_hook): Likewise.
49604         * malloc/arena.c (save_malloc_hook): Likewise.
49605         (save_free_hook): Likewise.
49606         * malloc/hooks.c (malloc_hook_ini): Likewise.
49607         (realloc_hook_ini): Likewise.
49608         (memalign_hook_ini): Likewise.
49609         * malloc/malloc.c (malloc_hook_ini): Likewise.
49610         (realloc_hook_ini): Likewise.
49611         (memalign_hook_ini): Likewise.
49612         (__free_hook): Likewise.
49613         (__malloc_hook): Likewise.
49614         (__realloc_hook): Likewise.
49615         (__memalign_hook): Likewise.
49616         (__libc_malloc): Likewise.
49617         (__libc_free): Likewise.
49618         (__libc_realloc): Likewise.
49619         (__libc_memalign): Likewise.
49620         (__libc_valloc): Likewise.
49621         (__libc_pvalloc): Likewise.
49622         (__libc_calloc): Likewise.
49623         (__posix_memalign): Likewise.
49624         * malloc/morecore.c (__sbrk): Likewise.
49625         (__default_morecore): Likewise.
49627         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49629         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49630         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49631         __malloc_ptrdiff_t.
49633         * malloc/malloc.h (__malloc_size_t): Remove macro.
49634         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49635         __malloc_size_t.
49636         (old_memalign_hook): Likewise.
49637         (old_realloc_hook): Likewise.
49638         (struct hdr): Likewise.
49639         (flood): Likewise.
49640         (mallochook): Likewise.
49641         (memalignhook): Likewise.
49642         (reallochook): Likewise.
49643         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49644         (tr_old_realloc_hook): Likewise.
49645         (tr_old_memalign_hook): Likewise.
49646         (tr_mallochook): Likewise.
49647         (tr_reallochook): Likewise.
49648         (tr_memalignhook): Likewise.
49650 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49652         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49653         default_ldbl_pack and using as default implementation.
49654         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49655         implementation.
49656         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49657         redundant definition.
49658         (ldbl_insert_mantissa): Likewise.
49659         (ldbl_canonicalize): Likewise.
49660         (ldbl_nearbyint): Likewise.
49661         (ldbl_pack): Rename to ldbl_pack_ppc.
49662         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49663         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49664         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49666 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49669         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49670         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49671         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49674         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49675         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49677 2013-03-07  Andreas Jaeger  <aj@suse.de>
49679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49680         bits/mman-linux.h.
49682 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49684         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49685         Include mpa.h and declare __MPEXP.
49686         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49687         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49688         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49689         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49690         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49691         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49692         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49694         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49695         (__slowpow): Use long double EXPL and LOGL functions to
49696         compute POW.
49697         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49698         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49699         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49700         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49701         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49702         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49705         intermediate variable to calculate exponent.
49706         (__sqr): Likewise.
49707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49708         Likewise.
49709         (__sqr): Likewise.
49711         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49712         [!NO__SQR]: Define __sqr.
49713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49714         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49715         sysdeps/ieee754/dbl-64/mpa.c.
49716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49718         [BZ #12723]
49719         * posix/Makefile (tests): Add tst-pathconf.
49720         * posix/tst-pathconf.c: New test case.
49721         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49722         _PC_PIPE_BUF.
49723         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49725 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49727         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49729 2013-03-06  Andreas Jaeger  <aj@suse.de>
49731         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49732         definition via __MAP_ANONYMOUS.
49734         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49735         it's not part of Linux headers.
49737         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49738         (MAP_HUGE_MASK): Define.
49740         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49741         Define.
49742         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49743         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49744         Define.
49745         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49746         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49747         Define.
49748         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49749         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49750         Define.
49751         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49753         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49754         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49755         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49756         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49757         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49758         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49760         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49761         Handle f2fs.
49763         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49764         Handle f2fs and efivarfs.
49766         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49767         f2fs.
49769         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49770         (EFIVARFS_MAGIC): Add.
49771         (F2FS_LINK_MAX): Add.
49773 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49775         * stdio-common/vfprintf.c: Replace __builtin_expect with
49776         __glibc_unlikely.
49778 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49780         [BZ #13550]
49781         * sysdeps/generic/bp-sym.h: Remove file.
49782         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49783         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49784         <bp-sym.h> and <bp-asm.h>.
49785         (__longjmp): Don't use BP_SYM.
49786         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49787         and <bp-asm.h>.
49788         (memcpy): Don't use BP_SYM.
49789         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49790         <bp-sym.h> and <bp-asm.h>.
49791         (memcpy): Don't use BP_SYM.
49792         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49793         <bp-asm.h>.
49794         (memcpy): Don't use BP_SYM.
49795         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49796         <bp-asm.h>.
49797         (memset): Don't use BP_SYM.
49798         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49799         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49800         (__bzero): Don't use BP_SYM.
49801         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49802         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49803         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49804         <bp-sym.h> and <bp-asm.h>.
49805         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49806         pointers.
49807         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49808         <bp-sym.h> and <bp-asm.h>.
49809         (memcpy): Don't use BP_SYM.
49810         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49811         <bp-sym.h> and <bp-asm.h>.
49812         (memset): Don't use BP_SYM.
49813         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49814         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49815         (__bzero): Don't use BP_SYM.
49816         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49817         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49818         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49819         <bp-sym.h> and <bp-asm.h>.
49820         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49821         pointers.
49822         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49823         <bp-sym.h> and <bp-asm.h>.
49824         (memcpy): Don't use BP_SYM.
49825         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49826         <bp-sym.h> and <bp-asm.h>.
49827         (memset): Don't use BP_SYM.
49828         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49829         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49830         (__bzero): Don't use BP_SYM.
49831         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49832         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49833         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49834         <bp-sym.h> and <bp-asm.h>.
49835         (__memchr): Don't use BP_SYM.
49836         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49837         <bp-sym.h> and <bp-asm.h>.
49838         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49839         pointers.
49840         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49841         <bp-sym.h> and <bp-asm.h>.
49842         (memcpy): Don't use BP_SYM.
49843         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (__mempcpy): Don't use BP_SYM.
49846         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49847         <bp-sym.h> and <bp-asm.h>.
49848         (__memrchr): Don't use BP_SYM.
49849         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49850         <bp-sym.h> and <bp-asm.h>.
49851         (memset): Don't use BP_SYM.
49852         (__bzero): Likewise.
49853         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49854         <bp-sym.h> and <bp-asm.h>.
49855         (__rawmemchr): Don't use BP_SYM.
49856         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49857         <bp-sym.h> and <bp-asm.h>.
49858         (__STRCMP): Don't use BP_SYM.
49859         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49860         <bp-sym.h> and <bp-asm.h>.
49861         (strchr): Don't use BP_SYM.
49862         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49863         <bp-sym.h> and <bp-asm.h>.
49864         (__strchrnul): Don't use BP_SYM.
49865         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49866         <bp-sym.h> and <bp-asm.h>.
49867         (strlen): Don't use BP_SYM.
49868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49869         <bp-sym.h> and <bp-asm.h>.
49870         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49871         pointers.
49872         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49873         <bp-sym.h> and <bp-asm.h>.
49874         (__strnlen): Don't use BP_SYM.
49875         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49876         <bp-sym.h> and <bp-asm.h>.
49877         (__GI__setjmp): Don't use BP_SYM.
49878         (_setjmp): Likewise.
49879         (__sigsetjmp): Likewise.
49880         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49881         (L(start_addresses)): Don't use BP_SYM.
49882         (_start): Likewise.
49883         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49884         <bp-asm.h>.
49885         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49886         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49887         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49888         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49889         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49890         <bp-asm.h>.
49891         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49892         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49893         about bounded pointers.
49894         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49895         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49896         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49897         <bp-asm.h>.
49898         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49899         about bounded pointers.  Remove GKM FIXME comments.
49900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49901         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49902         <bp-asm.h>.
49903         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49904         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49905         Remove GKM FIXME comments.
49906         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49907         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49908         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49909         <bp-asm.h>.
49910         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49911         about bounded pointers.  Remove GKM FIXME comment.
49912         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49913         and <bp-asm.h>.
49914         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49915         pointers.
49916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49917         <bp-sym.h> and <bp-asm.h>.
49918         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49920         <bp-sym.h> and <bp-asm.h>.
49921         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49922         comment.
49924 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49926         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49927         call free(NULL).
49929 2013-03-05  David S. Miller  <davem@davemloft.net>
49931         * po/es.po: Update from translation team.
49933 2013-03-05  Andreas Jaeger  <aj@suse.de>
49935         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49936         <bits/mman-linux.h>.
49937         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49938         is fine.
49939         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49940         <bits/mman-linux.h> to end of file.
49941         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49942         is fine.
49943         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49944         <bits/mman-linux.h> to end of file.
49945         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49946         is fine.
49947         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49948         <bits/mman-linux.h> to end of file.
49950         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49951         (MCL_CURRENT, MCL_FUTURE): Define here.
49953 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49955         [BZ #15232]
49956         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49957         attribute_hidden.
49958         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49960 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49962         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49963         fourth parameter needed for rt_sigprocmask syscall.
49964         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49965         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49966         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49967         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49968         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49969         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49971 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49973         [BZ #13550]
49974         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49975         comment about bounded pointers.
49976         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49977         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49979 2013-03-04  Andreas Jaeger  <aj@suse.de>
49981         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49982         common definitions.
49984         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49985         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49986         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49987         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49988         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49991 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49993         [BZ #15055]
49994         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49995         __ieee754_sqrl instead of __sqrl.
49997 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49999         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50000         * sysdeps/powerpc/fpu_control.h: ... here.
50001         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50002         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50003         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50004         * sysdeps/powerpc/bits/mathinline.h: ... here.
50006 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50008         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50009         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50010         to just [NEED_DL_SYSINFO_DSO].
50011         * elf/dl-support.c: Likewise.
50012         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50013         * elf/rtld.c (dl_main): Likewise.
50014         * elf/setup-vdso.h (setup_vdso): Likewise.
50015         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50016         * sysdeps/unix/sysv/linux/dl-sysdep.c
50017         (_dl_discover_osversion): Likewise.
50019 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50021         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50022         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50024 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50026         * NEWS: Mention libm performance improvements and non-x86 PI
50027         futex support.
50029         * csu/libc-start.c (__pthread_initialize_minimal): Change
50030         function arguments.
50031         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50033 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50035         [BZ #13550]
50036         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50037         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50038         <bp-sym.h> and <bp-asm.h>.
50039         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50040         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50041         and <bp-asm.h>.
50042         (memcpy): Don't use BP_SYM.
50043         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50044         <bp-asm.h>.
50045         (__mpn_add_n): Don't use BP_SYM.
50046         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50047         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50048         and <bp-asm.h>.
50049         (__mpn_addmul_1): Don't use BP_SYM.
50050         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50051         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50052         <bp-sym.h>.
50053         (_setjmp): Don't use BP_SYM.
50054         (__novmx_setjmp): Likewise.
50055         (__GI__setjmp): Likewise.
50056         (__vmx_setjmp): Likewise.
50057         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50058         <bp-sym.h>.
50059         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50060         (__bzero): Don't use BP_SYM.
50061         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50062         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50063         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50064         <bp-sym.h> and <bp-asm.h>.
50065         (memcpy): Don't use BP_SYM.
50066         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50067         <bp-sym.h> and <bp-asm.h>.
50068         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50069         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50070         <bp-sym.h> and <bp-asm.h>.
50071         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50072         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50073         <bp-asm.h>.
50074         (__mpn_lshift): Don't use BP_SYM.
50075         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50076         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50077         <bp-asm.h>.
50078         (memset): Don't use BP_SYM.
50079         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50080         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50081         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50082         <bp-asm.h>.
50083         (__mpn_mul_1): Don't use BP_SYM.
50084         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50085         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50086         <bp-sym.h> and <bp-asm.h>.
50087         (memcmp): Don't use BP_SYM.
50088         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50089         <bp-sym.h> and <bp-asm.h>.
50090         (memcpy): Don't use BP_SYM.
50091         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50092         <bp-sym.h> and <bp-asm.h>.
50093         (memset): Don't use BP_SYM.
50094         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50095         <bp-sym.h> and <bp-asm.h>.
50096         (strncmp): Don't use BP_SYM.
50097         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50098         <bp-sym.h> and <bp-asm.h>.
50099         (memcpy): Don't use BP_SYM.
50100         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50101         <bp-sym.h> and <bp-asm.h>.
50102         (memset): Don't use BP_SYM.
50103         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50104         <bp-sym.h> and <bp-asm.h>.
50105         (__memchr): Don't use BP_SYM.
50106         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50107         <bp-sym.h> and <bp-asm.h>.
50108         (memcmp): Don't use BP_SYM.
50109         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50110         <bp-sym.h> and <bp-asm.h>.
50111         (memcpy): Don't use BP_SYM.
50112         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50113         <bp-sym.h> and <bp-asm.h>.
50114         (__mempcpy): Don't use BP_SYM.
50115         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50116         <bp-sym.h> and <bp-asm.h>.
50117         (__memrchr): Don't use BP_SYM.
50118         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50119         <bp-sym.h> and <bp-asm.h>.
50120         (memset): Don't use BP_SYM.
50121         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50122         <bp-sym.h> and <bp-asm.h>.
50123         (__rawmemchr): Don't use BP_SYM.
50124         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50125         <bp-sym.h> and <bp-asm.h>.
50126         (__STRCMP): Don't use BP_SYM.
50127         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50128         <bp-sym.h> and <bp-asm.h>.
50129         (strchr): Don't use BP_SYM.
50130         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50131         <bp-sym.h> and <bp-asm.h>.
50132         (__strchrnul): Don't use BP_SYM.
50133         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50134         <bp-sym.h> and <bp-asm.h>.
50135         (strlen): Don't use BP_SYM.
50136         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50137         <bp-sym.h> and <bp-asm.h>.
50138         (strncmp): Don't use BP_SYM.
50139         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50140         <bp-sym.h> and <bp-asm.h>.
50141         (__strnlen): Don't use BP_SYM.
50142         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50143         <bp-asm.h>.
50144         (__mpn_rshift): Don't use BP_SYM.
50145         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50146         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50147         <bp-sym.h> and <bp-asm.h>.
50148         (__sigsetjmp): Don't use BP_SYM.
50149         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50150         (L(start_addresses)): Don't use BP_SYM.
50151         (_start): Likewise.
50152         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50153         <bp-asm.h>.
50154         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50155         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50156         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50157         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50158         <bp-asm.h>.
50159         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50160         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50161         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50162         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50163         <bp-asm.h>.
50164         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50165         comments.
50166         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50167         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50168         <bp-asm.h>.
50169         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50170         FIXME comments.
50171         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50172         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50173         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50174         <bp-asm.h>.
50175         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50176         comment.
50177         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50178         and <bp-asm.h>.
50179         (strncmp): Don't use BP_SYM,
50180         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50181         <bp-asm.h>.
50182         (__mpn_sub_n): Don't use BP_SYM.
50183         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50184         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50185         and <bp-asm.h>.
50186         (__mpn_submul_1): Don't use BP_SYM.
50187         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50189         <bp-sym.h> and <bp-asm.h>.
50190         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50192         <bp-sym.h> and <bp-asm.h>.
50193         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50194         comment.
50196 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50199         Use ZK to minimize writes to Z.
50200         (sub_magnitudes): Simplify code a bit.
50201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50202         Use ZK to minimize writes to Z.
50203         (sub_magnitudes): Simplify code a bit.
50205 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50207         * csu/gmon-start.c: Add special exception to license text.
50209 2013-02-27  Richard Henderson  <rth@redhat.com>
50211         * scripts/config.guess: Update from config.git.
50212         * scripts/config.sub: Likewise.
50214 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50216         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50218         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50220         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50222         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50224         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50226 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50228         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50229         [$(build-shared = yes].
50231 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50233         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50234         (__mul): Reduce iterations for calculating mantissa.
50236         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50237         MPTWO.
50238         (__mpranred): Likewise.
50240         [BZ #15160]
50241         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50242         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50244 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50246         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50247         Define __attribute__.
50249 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50251         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50252         unused.
50253         * posix/regex_internal.h (__attribute): Remove.
50254         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50255         (re_string_context_at): Likewise.
50256         (bitset_not): Use __attribute__ and mark function as possibly
50257         unused.
50258         (bitset_merge): Likewise.
50259         (bitset_mask): Likewise.
50260         (re_string_char_size_at): Likewise.
50261         (re_string_wchar_at): Likewise.
50262         (re_string_elem_size_at): Likewise.
50264 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50267         code.
50268         (cc32): Likewise.
50270         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50271         (__acr): Likewise.
50272         (__cpy): Likewise.
50273         (norm): Likewise.
50274         (denorm): Likewise.
50275         (__dbl_mp): Likewise.
50276         (add_magnitudes): Likewise.
50277         (sub_magnitudes): Likewise.
50278         (__mul): Likewise.
50279         (__inv): Likewise.
50281         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50282         style.
50284         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50285         style.
50287         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50288         code.
50290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50291         up changes with default code.
50292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50293         Likewise.
50295 2013-02-24  Allan McRae  <allan@archlinux.org>
50297         * manual/socket.texi (The Internet Namespace): Order menu items
50298         to match that in the file.
50300         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50301         node listing of the info page menu.
50303 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50305         [BZ #13550]
50306         * sysdeps/i386/bp-asm.h: Remove file.
50307         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50308         (PARMS): Do not use macros from bp-asm.h.
50309         (S1): Likewise.
50310         (S2): Likewise.
50311         (SIZE): Likewise.
50312         (__mpn_add_n): Do not use BP_SYM
50313         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50314         "bp-asm.h".
50315         (PARMS): Do not use macros from bp-asm.h.
50316         (S1): Likewise.
50317         (SIZE): Likewise.
50318         (__mpn_addmul_1): Do not use BP_SYM
50319         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50320         "bp-asm.h".
50321         (PARMS): Do not use macros from bp-asm.h.
50322         (SIGMSK): Likewise.
50323         (_setjmp): Likewise.  Do not use BP_SYM.
50324         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50325         "bp-asm.h".
50326         (PARMS): Do not use macros from bp-asm.h.
50327         (SIGMSK): Likewise.
50328         (setjmp): Likewise.  Do not use BP_SYM.
50329         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50330         "bp-asm.h".
50331         (PARMS): Do not use macros from bp-asm.h.
50332         (__frexp): Do not use BP_SYM.
50333         (frexp): Likewise.
50334         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50335         "bp-asm.h".
50336         (PARMS): Do not use macros from bp-asm.h.
50337         (__frexpf): Do not use BP_SYM.
50338         (frexpf): Likewise.
50339         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50340         "bp-asm.h".
50341         (PARMS): Do not use macros from bp-asm.h.
50342         (__frexpl): Do not use BP_SYM.
50343         (frexpl): Likewise.
50344         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50345         "bp-asm.h".
50346         (PARMS): Do not use macros from bp-asm.h.
50347         (__remquo): Do not use BP_SYM.
50348         (remquo): Likewise.
50349         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50350         "bp-asm.h".
50351         (PARMS): Do not use macros from bp-asm.h.
50352         (__remquof): Do not use BP_SYM.
50353         (remquof): Likewise.
50354         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50355         "bp-asm.h".
50356         (PARMS): Do not use macros from bp-asm.h.
50357         (__remquol): Do not use BP_SYM.
50358         (remquol): Likewise.
50359         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50360         "bp-asm.h".
50361         (PARMS): Do not use macros from bp-asm.h.
50362         (DEST): Likewise.
50363         (SRC): Likewise.
50364         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50365         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50366         "bp-asm.h".
50367         (PARMS): Do not use macros from bp-asm.h.
50368         (strlen): Do not use BP_SYM.
50369         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50370         "bp-asm.h".
50371         (PARMS): Do not use macros from bp-asm.h.
50372         (S1): Likewise.
50373         (S2): Likewise.
50374         (SIZE): Likewise.
50375         (__mpn_add_n): Do not use BP_SYM.
50376         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50377         "bp-asm.h".
50378         (PARMS): Do not use macros from bp-asm.h.
50379         (S1): Likewise.
50380         (SIZE): Likewise.
50381         (__mpn_addmul_1): Do not use BP_SYM.
50382         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50383         weak_alias.
50384         (bzero): Likewise.
50385         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50386         "bp-asm.h".
50387         (PARMS): Do not use macros from bp-asm.h.
50388         (S): Likewise.
50389         (SIZE): Likewise.
50390         (__mpn_lshift): Do not use BP_SYM.
50391         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50392         "bp-asm.h".
50393         (PARMS): Do not use macros from bp-asm.h.
50394         (DEST): Likewise.
50395         (SRC): Likewise.
50396         (LEN): Likewise.
50397         (memcpy): Likewise.  Do not use BP_SYM.
50398         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50399         libc_hidden_def and weak_alias.
50400         (mempcpy): Do not use BP_SYM in weak_alias.
50401         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50402         "bp-asm.h".
50403         (PARMS): Do not use macros from bp-asm.h.
50404         (DEST): Likewise.
50405         (LEN): Likewise.
50406         [!BZERO_P] (CHR): Likewise.
50407         (memset): Likewise.  Do not use BP_SYM.
50408         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50409         "bp-asm.h".
50410         (PARMS): Do not use macros from bp-asm.h.
50411         (S1): Likewise.
50412         (SIZE): Likewise.
50413         (__mpn_mul_1): Do not use BP_SYM.
50414         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50415         "bp-asm.h".
50416         (PARMS): Do not use macros from bp-asm.h.
50417         (S): Likewise.
50418         (SIZE): Likewise.
50419         (__mpn_rshift): Do not use BP_SYM.
50420         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50421         "bp-asm.h".
50422         (PARMS): Do not use macros from bp-asm.h.
50423         (STR): Likewise.
50424         (CHR): Likewise.
50425         (strchr): Likewise.  Do not use BP_SYM.
50426         (index): Do not use BP_SYM in weak_alias.
50427         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50428         "bp-asm.h".
50429         (PARMS): Do not use macros from bp-asm.h.
50430         (DEST): Likewise.
50431         (SRC): Likewise.
50432         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50433         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50434         "bp-asm.h".
50435         (PARMS): Do not use macros from bp-asm.h.
50436         (strlen): Do not use BP_SYM.
50437         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50438         "bp-asm.h".
50439         (PARMS): Do not use macros from bp-asm.h.
50440         (S1): Likewise.
50441         (S2): Likewise.
50442         (SIZE): Likewise.
50443         (__mpn_sub_n): Do not use BP_SYM.
50444         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50445         "bp-asm.h".
50446         (PARMS): Do not use macros from bp-asm.h.
50447         (S1): Likewise.
50448         (SIZE): Likewise.
50449         (__mpn_submul_1): Do not use BP_SYM.
50450         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50451         "bp-asm.h".
50452         (PARMS): Do not use macros from bp-asm.h.
50453         (S1): Likewise.
50454         (S2): Likewise.
50455         (SIZE): Likewise.
50456         (__mpn_add_n): Do not use BP_SYM.
50457         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50458         weak_alias.
50459         (bzero): Likewise.
50460         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50461         "bp-asm.h".
50462         (PARMS): Do not use macros from bp-asm.h.
50463         (BLK2): Likewise.
50464         (LEN): Likewise.
50465         (memcmp): Do not use BP_SYM.
50466         (bcmp): Do not use BP_SYM in weak_alias.
50467         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50468         "bp-asm.h".
50469         (PARMS): Do not use macros from bp-asm.h.
50470         (DEST): Likewise.
50471         (SRC): Likewise.
50472         (LEN): Likewise.
50473         (memcpy): Likewise.  Do not use BP_SYM.
50474         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50475         "bp-asm.h".
50476         (PARMS): Do not use macros from bp-asm.h.
50477         (DEST): Likewise.
50478         (SRC): Likewise.
50479         (LEN): Likewise.
50480         (memmove): Likewise.  Do not use BP_SYM.
50481         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50482         "bp-asm.h".
50483         (PARMS): Do not use macros from bp-asm.h.
50484         (DEST): Likewise.
50485         (SRC): Likewise.
50486         (LEN): Likewise.
50487         (__mempcpy): Likewise.  Do not use BP_SYM.
50488         (mempcpy): Do not use BP_SYM in weak_alias.
50489         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50490         "bp-asm.h".
50491         (PARMS): Do not use macros from bp-asm.h.
50492         (DEST): Likewise.
50493         (LEN): Likewise.
50494         [!BZERO_P] (CHR): Likewise.
50495         (memset): Likewise.  Do not use BP_SYM.
50496         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50497         "bp-asm.h".
50498         (PARMS): Do not use macros from bp-asm.h.
50499         (STR2): Likewise.
50500         (strcmp): Do not use BP_SYM.
50501         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50502         "bp-asm.h".
50503         (PARMS): Do not use macros from bp-asm.h.
50504         (STR): Likewise.
50505         (DELIM): Likewise.
50506         [USE_AS_STRTOK_R] (SAVE): Likewise.
50507         (FUNCTION): Likewise.  Do not use BP_SYM.
50508         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50509         aliases.
50510         (strtok_r): Likewise.
50511         (__GI___strtok_r): Likewise.
50512         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50513         (PARMS): Do not use macros from bp-asm.h.
50514         (S): Likewise.
50515         (SIZE): Likewise.
50516         (__mpn_lshift): Do not use BP_SYM.
50517         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50518         (PARMS): Do not use macros from bp-asm.h.
50519         (STR): Likewise.
50520         (CHR): Likewise.
50521         (__memchr): Do not use BP_SYM.
50522         (memchr): Do not use BP_SYM in weak_alias.
50523         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50524         (PARMS): Do not use macros from bp-asm.h.
50525         (BLK2): Likewise.
50526         (LEN): Likewise.
50527         (memcmp): Do not use BP_SYM.
50528         (bcmp): Do not use BP_SYM in weak_alias.
50529         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50530         (PARMS): Do not use macros from bp-asm.h.
50531         (S1): Likewise.
50532         (SIZE): Likewise.
50533         (__mpn_mul_1): Do not use BP_SYM.
50534         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50535         "bp-asm.h".
50536         (PARMS): Do not use macros from bp-asm.h.
50537         (STR): Likewise.
50538         (CHR): Likewise.
50539         (__rawmemchr): Do not use BP_SYM.
50540         (rawmemchr): Do not use BP_SYM in weak_alias.
50541         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50542         (PARMS): Do not use macros from bp-asm.h.
50543         (S): Likewise.
50544         (SIZE): Likewise.
50545         (__mpn_rshift): Do not use BP_SYM.
50546         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50547         (PARMS): Do not use macros from bp-asm.h.
50548         (SIGMSK): Likewise.
50549         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50550         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50551         (_start): Do not use BP_SYM.
50552         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50553         (PARMS): Do not use macros from bp-asm.h.
50554         (DEST): Likewise.
50555         (SRC): Likewise.
50556         (__stpcpy): Likewise.  Do not use BP_SYM.
50557         (stpcpy): Do not use BP_SYM in weak_alias.
50558         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50559         "bp-asm.h".
50560         (PARMS): Do not use macros from bp-asm.h.
50561         (DEST): Likewise.
50562         (SRC): Likewise.
50563         (LEN): Likewise.
50564         (__stpncpy): Likewise.  Do not use BP_SYM.
50565         (stpncpy): Do not use BP_SYM in weak_alias.
50566         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50567         (PARMS): Do not use macros from bp-asm.h.
50568         (STR): Likewise.
50569         (CHR): Likewise.
50570         (strchr): Likewise.  Do not use BP_SYM.
50571         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50572         "bp-asm.h".
50573         (PARMS): Do not use macros from bp-asm.h.
50574         (STR): Likewise.
50575         (CHR): Likewise.
50576         (__strchrnul): Likewise.  Do not use BP_SYM.
50577         (strchrnul): Do not use BP_SYM in weak_alias.
50578         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50579         "bp-asm.h".
50580         (PARMS): Do not use macros from bp-asm.h.
50581         (STOP): Likewise.
50582         (strcspn): Do not use BP_SYM.
50583         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50584         "bp-asm.h".
50585         (PARMS): Do not use macros from bp-asm.h.
50586         (STR): Likewise.
50587         (STOP): Likewise.
50588         (strpbrk): Likewise.  Do not use BP_SYM.
50589         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50590         "bp-asm.h".
50591         (PARMS): Do not use macros from bp-asm.h.
50592         (STR): Likewise.
50593         (CHR): Likewise.
50594         (strrchr): Likewise.  Do not use BP_SYM.
50595         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50596         (PARMS): Do not use macros from bp-asm.h.
50597         (SKIP): Likewise.
50598         (strspn): Do not use BP_SYM.
50599         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50600         (PARMS): Do not use macros from bp-asm.h.
50601         (STR): Likewise.
50602         (DELIM): Likewise.
50603         (SAVE): Likewise.
50604         (FUNCTION): Likewise.  Do not use BP_SYM.
50605         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50606         aliases.
50607         (strtok_r): Likewise.
50608         (__GI___strtok_r): Likewise.
50609         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50610         (PARMS): Do not use macros from bp-asm.h.
50611         (S1): Likewise.
50612         (S2): Likewise.
50613         (SIZE): Likewise.
50614         (__mpn_sub_n): Do not use BP_SYM.
50615         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50616         "bp-asm.h".
50617         (PARMS): Do not use macros from bp-asm.h.
50618         (S1): Likewise.
50619         (SIZE): Likewise.
50620         (__mpn_submul_1): Do not use BP_SYM.
50621         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50622         <bp-sym.h>.
50623         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50624         and <bp-asm.h>.
50625         (PARMS): Do not use macros from bp-asm.h.
50626         (FLAGS): Likewise.
50627         (PTID): Likewise.
50628         (TLS): Likewise.
50629         (CTID): Likewise.
50630         (__clone): Do not use BP_SYM.
50631         (clone): Do not use BP_SYM in weak_alias.
50632         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50633         and <bp-asm.h>.
50634         (PARMS): Do not use macros from bp-asm.h.
50635         (LEN): Likewise.
50636         (__mmap64): Do not use BP_SYM.
50637         (mmap64): Do not use BP_SYM in weak_alias.
50638         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50639         <bp-sym.h> and <bp-asm.h>.
50640         (PARMS): Do not use macros from bp-asm.h.
50641         (__posix_fadvise64_l64): Do not use BP_SYM.
50642         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50643         (PARMS): Do not use macros from bp-asm.h.
50644         (NSOPS): Likewise.
50645         (semtimedop): Do not use BP_SYM.
50646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50647         and <bp-asm.h>.
50649 2013-02-21  Allan McRae  <allan@archlinux.org>
50651         * manual/message.texi (Charset conversion in gettext):
50652         Move @end statement to beginning of line.
50654 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50657         static.
50658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50659         Likewise.
50661         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50662         (denorm): Likewise.
50663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50666 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50668         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50669         tail-call to the resolved function if pltexit isn't needed.
50671 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50674         or Y being zero as being unlikely.
50675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50676         Likewise.
50678 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50680         * manual/nss.texi (System Databases and Name Service Switch):
50681         Remove frobnicate @pxref.
50683 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50685         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50686         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50688 2013-02-20  Petr Machata  <pmachata@redhat.com>
50690         * elf/elf.h (R_ARM_TARGET1): New macro.
50691         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50692         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50693         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50694         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50695         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50696         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50697         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50698         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50699         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50700         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50701         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50702         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50703         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50704         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50705         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50706         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50707         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50708         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50709         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50710         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50711         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50712         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50713         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50714         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50715         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50716         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50717         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50718         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50719         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50720         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50721         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50722         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50723         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50724         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50725         (R_ARM_THM_GOT_BREL12): Likewise.
50726         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50727         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50728         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50729         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50730         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50731         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50732         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50733         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50734         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50736 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50738         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50739         __attribute_used__ to __attribute__ ((unused)).
50741 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50743         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50744         powerpc mpa.c.
50745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50746         comment formatting.
50747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50749 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50751         [BZ #13550]
50752         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50753         Remove macro.
50754         (ENTER): Remove both macro definitions.
50755         (LEAVE): Likewise.
50756         (CHECK_BOUNDS_LOW): Likewise.
50757         (CHECK_BOUNDS_HIGH): Likewise.
50758         (CHECK_BOUNDS_BOTH): Likewise.
50759         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50760         (RETURN_BOUNDED_POINTER): Likewise.
50761         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50762         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50763         (POP_ERRNO_LOCATION_RETURN): Likewise.
50764         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50765         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50766         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50767         macros.
50768         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50769         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50770         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50771         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50772         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50773         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50774         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50775         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50776         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50777         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50778         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50779         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50780         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50781         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50782         removed macros.
50783         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50784         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50785         macros.
50786         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50787         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50788         * sysdeps/i386/i586/memset.S (memset): Likewise.
50789         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50790         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50791         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50792         macros.
50793         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50794         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50795         Change uses of L(2) to L(out).
50796         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50797         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50798         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50799         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50800         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50801         removed macros.
50802         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50803         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50804         macros.
50805         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50806         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50807         (RETURN): Do not use macro LEAVE.
50808         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50809         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50810         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50811         * sysdeps/i386/i686/memset.S (memset): Likewise.
50812         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50813         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50814         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50815         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50816         Likewise.
50817         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50818         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50819         L(1_2) and L(1_3) into L(1).
50820         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50821         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50822         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50823         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50824         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50825         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50826         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50827         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50828         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50829         macros.
50830         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50831         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50832         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50833         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50834         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50835         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50836         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50837         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50838         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50839         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50840         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50841         * sysdeps/i386/strspn.S (strspn): Likewise.
50842         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50843         conditional code.
50844         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50845         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50846         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50847         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50848         L(1_3) into L(1_1).
50849         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50850         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50851         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50852         macros.
50853         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50855 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50857         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50858         macro.
50860 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50862         * math/atest-exp.c (exp_mpn): Remove ROUND.
50863         * math/atest-exp2.c (exp_mpn): Likewise.
50864         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50866         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50867         * stdlib/tst-tls-atexit-lib.c: Likewise.
50868         * stdlib/tst-tls-atexit.c: Likewise.
50870 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50872         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50873         and __attribute_alloc_size__.
50875 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50877         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50878         __attribute_alloc_size__.
50879         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50880         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50882 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50884         * include/programs/xmalloc.h: New file.
50885         * catgets/gencat.c: Include it.
50886         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50887         * elf/pldd.c: Likewise.
50888         * iconv/iconv_charmap.c: Likewise.
50889         * iconv/iconvconfig.c: Likewise.
50890         * iconv/strtab.c: Likewise.
50891         * locale/programs/locale.c: Likewise.
50892         * locale/programs/localedef.h: Likewise.
50893         * locale/programs/simple-hash.c: Likewise.
50894         * nscd/nscd.h: Likewise.
50895         * nss/makedb.c: Likewise.
50896         * sysdeps/generic/ldconfig.h: Likewise.
50898 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50900         * Versions.def: Add GLIBC_2.18.
50901         * include/link.h (struct link_map): New member l_tls_dtor_count.
50902         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50903         (__call_tls_dtors): Likewise.
50904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50905         __cxa_thread_atexit_impl.
50906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50907         Likewise.
50908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50909         Likewise.
50910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50911         Likewise.
50912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50913         Likewise.
50914         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50916         Likewise.
50917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50918         Likewise.
50919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50921         Likewise.
50922         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50923         (tests): Add test case tst-tls-atexit.
50924         (modules-names): Add shared library for tst-tls-atexit.
50925         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50926         (GLIBC_PRIVATE): Add __call_tls_dtors.
50927         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50928         for libstdc++.
50929         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50930         * stdlib/tst-tls-atexit.c: New test case.
50931         * stdlib/tst-tls-atexit-lib.c: New test case.
50933         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50935         * elf/Versions (ld): Add _dl_find_dso_for_object.
50936         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50937         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50938         (dl_open_worker): Use _dl_find_dso_for_object.
50939         * elf/dl-sym.c (do_sym): Likewise.
50940         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50942 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50944         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50945         Syntactic changes only.
50946         (_dl_runtime_profile): Do a tail-call to the resolved function.
50948 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50950         [BZ #13550]
50951         * sysdeps/x86_64/bp-asm.h: Remove file.
50952         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50953         <bp-sym.h> and <bp-asm.h>.
50954         (__clone): Do not use BP_SYM.
50955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50956         <bp-sym.h> and <bp-asm.h>.
50957         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50958         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50959         "bp-asm.h".
50960         (_setjmp): Do not use BP_SYM.
50961         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50962         "bp-asm.h".
50963         (setjmp): Do not use BP_SYM.
50964         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50965         libc_hidden_def.
50966         (mempcpy): Do not use BP_SYM in weak_alias.
50967         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50968         "bp-asm.h".
50969         (strchr): Do not use BP_SYM.
50970         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50971         "bp-asm.h".
50972         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50973         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50974         (_start): Do not use BP_SYM.
50975         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50976         "bp-asm.h".
50977         (strcat): Do not use BP_SYM.
50978         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50979         "bp-asm.h".
50980         (STRCMP): Do not use BP_SYM.
50981         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50982         "bp-asm.h".
50983         (STRCPY): Do not use BP_SYM.
50984         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50985         "bp-asm.h".
50986         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50987         "bp-asm.h".
50988         (FUNCTION): Do not use BP_SYM.
50989         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50990         weak_alias.
50991         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50993 2013-02-17  Andreas Jaeger  <aj@suse.de>
50995         * time/Versions: Sort entries.
50996         * string/Versions: Likewise.
50997         * resolv/Versions: Likewise.
50998         * posix/Versions: Likewise.
50999         * iconv/Versions: Likewise.
51000         * elf/Versions: Likewise.
51001         * wcsmbs/Versions: Likewise.
51003 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51005         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51006         loop termination condition.
51008         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51009         variable to calculate EZ.
51010         (__sqr): Likewise.
51012         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51013         the lower precision input.
51015 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51017         [BZ #13550]
51018         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51019         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51020         (run-via-rtld-prefix): Do not handle %-bp tests.
51021         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51022         (all-object-suffixes): Remove .ob.
51023         (bppfx): Remove variable.
51024         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51025         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51026         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51027         [$(build-bounded) = yes] (libtype.ob): Likewise.
51028         * Makerules (elide-routines.ob): Remove variable.
51029         (do-tests-clean): Do not handle *-bp.out.
51030         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51031         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51032         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51033         (tests): Do not include $(tests-bp.out).
51034         (xtests): Do not include $(xtests-bp.out).
51035         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51036         [$(build-bounded) = yes] ($(addprefix
51037         $(objpfx),$(binaries-bounded))): Remove rule.
51038         ($(objpfx)%-bp.out): Remove rule.
51039         * config.make.in (build-bounded): Remove variable.
51040         * crypt/Makefile [$(build-bounded) = yes]
51041         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51042         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51043         append to variable.
51044         [$(build-bounded) = yes] (install-lib): Likewise.
51045         [$(build-bounded) = yes] (generated): Likewise.
51046         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51047         Remove rule.
51048         * intl/Makefile [$(build-bounded) = yes]
51049         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51050         * math/Makefile [$(build-bounded) = yes]
51051         ($(tests:%=$(objpfx)%-bp): Likewise.
51052         * misc/Makefile [$(build-bounded) = yes]
51053         ($(objpfx)tst-tsearch-bp): Likewise.
51054         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51055         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51056         Remove dependency.
51057         * string/Makefile (o-objects.ob): Remove variable.
51058         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51059         (CFLAGS-.ob): Remove variable.
51060         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51061         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51062         both definitions of variable.
51063         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51064         (ASFLAGS-.ob): Remove variable.
51066 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51068         [BZ #13550]
51069         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51070         Remove __BOUNDED_POINTERS__ from condition.
51071         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51072         * string/bits/string2.h [!__NO_STRING_INLINES &&
51073         !__BOUNDED_POINTERS__]: Likewise.
51074         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51075         Likewise.
51076         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51077         Remove conditional code.
51078         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51079         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51080         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51081         condition.
51083         [BZ #13550]
51084         * csu/libc-start.c: Do not include <bp-sym.h>.
51085         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51086         * elf/dl-open.c: Do not include <bp-sym.h>.
51087         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51088         * math/fegetenv.c: Do not include <bp-sym.h>.
51089         (fegetenv): Do not use BP_SYM in versioned symbols.
51090         * nptl/sysdeps/pthread/bits/libc-lockP.h
51091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51092         <bp-sym.h>.
51093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51094         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51096         (__pthread_mutex_destroy): Likewise.
51097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51098         (__pthread_mutex_lock): Likewise.
51099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51100         (__pthread_mutex_trylock): Likewise.
51101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51102         (__pthread_mutex_unlock): Likewise.
51103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51104         (__pthread_mutexattr_init): Likewise.
51105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51106         (__pthread_mutexattr_destroy): Likewise.
51107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51108         (__pthread_mutexattr_settype): Likewise.
51109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51110         (__pthread_rwlock_init): Likewise.
51111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51112         (__pthread_rwlock_destroy): Likewise.
51113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51114         (__pthread_rwlock_rdlock): Likewise.
51115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51116         (__pthread_rwlock_tryrdlock): Likewise.
51117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51118         (__pthread_rwlock_wrlock): Likewise.
51119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51120         (__pthread_rwlock_trywrlock): Likewise.
51121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51122         (__pthread_rwlock_unlock): Likewise.
51123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51124         (__pthread_key_create): Likewise.
51125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51126         (__pthread_setspecific): Likewise.
51127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51128         (__pthread_getspecific): Likewise.
51129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51130         Likewise.
51131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51132         (_pthread_cleanup_push_defer): Likewise.
51133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51134         (_pthread_cleanup_pop_restore): Likewise.
51135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51136         (pthread_setcancelstate): Likewise.
51137         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51138         <bp-sym.h>.
51139         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51140         (memchr): Do not use BP_SYM in weak_alias.
51141         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51142         (fegetenv): Do not use BP_SYM in versioned symbols.
51143         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51144         (fesetenv): Do not use BP_SYM in versioned symbols.
51145         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51146         (feupdateenv): Do not use BP_SYM in versioned symbols.
51147         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51148         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51149         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51150         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51151         (open64): Do not use BP_SYM in weak_alias.
51152         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51153         (fegetenv): Do not use BP_SYM in versioned symbols.
51154         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51155         (fesetenv): Do not use BP_SYM in versioned symbols.
51156         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51157         (feupdateenv): Do not use BP_SYM in versioned symbols.
51158         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51159         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51160         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51161         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51162         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51163         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51164         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51165         <bp-sym.h>.
51166         (__libc_start_main): Do not use BP_SYM.
51168 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51171         redundant return line.
51172         (norm): Likewise.
51173         (denorm): Likewise.
51174         (dbl_mp): Likewise.
51175         (sub_magnitudes): Likewise.
51176         (__add): Likewise.
51177         (__sub): Likewise.
51178         (__mul): Likewise.
51179         (__inv): Likewise.
51180         (__dvd): Likewise.
51181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51182         (norm): Likewise.
51183         (denorm): Likewise.
51184         (dbl_mp): Likewise.
51185         (sub_magnitudes): Likewise.
51186         (__add): Likewise.
51187         (__sub): Likewise.
51188         (__mul): Likewise.
51189         (__inv): Likewise.
51190         (__dvd): Likewise.
51192         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51193         instead of __mul.
51194         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51195         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51196         (cc32): Likewise.
51198         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51199         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51201         of __mul for squares.
51202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51203         function
51204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51205         Likewise.
51206         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51207         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51209 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51211         [BZ #13550]
51212         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51213         code.
51214         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51215         prototype or function definition.  Rename ubp_* variables and
51216         parameters.  Remove argv definitions conditional on
51217         [__BOUNDED_POINTERS__].
51218         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51219         * elf/dl-runtime.c (_dl_fixup): Likewise.
51220         * include/set-hooks.h (RUN_HOOK): Likewise.
51221         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51222         definition.
51223         * string/strcpy.c (strcpy): Do not use __unbounded.
51224         * sysdeps/generic/frame.h (struct layout): Likewise.
51225         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51226         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51227         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51228         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51229         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51230         (__backtrace): Likewise.
51231         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51232         use __ptrvalue.
51233         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51234         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51235         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51236         Likewise.
51237         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51238         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51239         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51240         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51241         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51242         Do not use __unbounded.
51243         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51244         Rename __unboundedrlimits parameter to rlimits in prototype.
51245         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51246         Do not use __unbounded.
51247         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51248         not use __ptrvalue.
51249         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51250         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51251         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51252         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51253         __ptrvalue or __unbounded.
51254         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51255         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51256         use __unbounded.
51257         (__new_msgctl): Do not use __ptrvalue.
51258         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51259         __unbounded.
51260         (__libc_msgrcv): Do not use __ptrvalue.
51261         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51262         startup_info): Do not use __unbounded.
51263         (__libc_start_main): Likewise.  Rename ubp_* variables and
51264         parameters.  Remove argv definitions conditional on
51265         [__BOUNDED_POINTERS__].
51266         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51267         __ptrvalue.
51268         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51269         use __unbounded.
51270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51271         or __ptrvalue.
51272         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51273         use __unbounded.
51274         (__new_shmctl): Do not use __ptrvalue.
51275         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51276         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51277         Likewise.
51278         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51279         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51280         (__libc_sigaction): Likewise.
51281         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51282         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51283         Likewise.
51284         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51286 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51288         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51290         * string/mempcpy.c: Implement by calling memcpy.
51292 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51297         evaluation.
51299         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51300         values in the mantissa.
51302         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51303         minimize writes to Z.
51304         (sub_magnitudes): Simplify code a bit.
51306 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51308         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51309         from the message.  The linker prefixes all warnings with that already.
51311 2013-02-12  Andreas Schwab  <schwab@suse.de>
51313         [BZ #15078]
51314         * posix/regexec.c (extend_buffers): Add parameter min_len.
51315         (check_matching): Pass minimum needed length.
51316         (clean_state_log_if_needed): Likewise.
51317         (get_subexp): Likewise.
51318         * posix/Makefile (tests): Add bug-regex34.
51319         (bug-regex34-ENV): Define.
51320         * posix/bug-regex34.c: New file.
51322         [BZ #11561]
51323         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51324         elements compare against the byte sequence of it, not its name.
51325         * posix/Makefile (tests): Add bug-regex35.
51326         (bug-regex35-ENV): Define.
51327         * posix/bug-regex35.c: New file.
51329 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51331         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51332         comment.
51333         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51334         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51335         (CHECK_EOL): Add undef.
51337 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51339         * bits/stdlib-bsearch.h: New file.
51340         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51341         * stdlib/stdlib.h: Likewise.
51343 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51345         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51346         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51347         declaration.
51348         * manual/search.texi (Array Search Function): Add missing const in
51349         lfind prototype.
51350         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51351         declaration to use rlim_t.
51352         (Basic Scheduling Functions): Remove erroneous const from
51353         sched_getparam prototype.  Remove erroneous * from
51354         sched_get_priority_max and sched_get_priority_min prototypes.
51355         (Resource Usage): Fix summary @comment on vtimes to refer to
51356         sys/vtimes.h rather than vtimes.h.
51357         Add missing *s in vtimes prototype.
51358         (Limits on Resources): Fix ulimit prototype to return long int.
51359         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51360         prototypes to use long int rather than double.
51361         (BSD Random): Fix initstate and setstate to use char *, not void *.
51362         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51363         prototype to make second argument 'struct aiocb64 *const[]'.
51364         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51365         (Status of AIO Operations): Remove erroneous const in aio_return and
51366         aio_return64 prototypes.
51367         (Synchronizing I/O): Fix sync prototype to return void.
51368         * manual/startup.texi (Suboptions): Remove an erroneous const in
51369         getsubopt prototype.
51370         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51371         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51372         use size_t rather than int.
51373         (Scanning All Users): Likewise for getpwent_r.
51374         (Setting Groups): Add missing const to setgroups prototype.
51375         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51376         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51377         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51378         'const void *' rather than 'const char *'.
51379         (Host Address Functions): Likewise for inet_ntop.
51380         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51381         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51382         ssize_t for return value.
51383         (Sending Data): Likewise for send, sendto, sendmsg.
51384         (Socket Option Functions): Add a missing const in setsockopt prototype.
51385         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51386         use wchar_t for the argument.
51387         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51388         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51389         take no arguments.
51390         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51391         double/float/long double for second argument.
51392         Fix return types of significand, significandf, significandl.
51393         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51394         argument in fchmod prototype.
51395         (File Owner): Use uid_t and gid_t in fchown prototype.
51396         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51397         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51398         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51399         use 'const struct dirent **' as argument types to CMP function pointer
51400         argument.
51401         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51402         (File Times): Fix summary magic @comment for struct utimbuf and utime
51403         to refer to utime.h, not time.h.
51404         * manual/string.texi (Argz Functions): Add missing const in
51405         argz_extract and argz_next prototypes.
51406         (Finding Tokens in a String): Likewise for basename.
51407         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51408         (Copying and Concatenation): Fix typo in wmemmove prototype.
51409         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51410         (Signal Stack): Remove erroneous const in sigstack prototype.
51411         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51412         prototype.
51413         (Simple Calendar Time): Likewise for stime.
51414         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51415         prototype.
51416         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51417         say sys/sysctl.h instead.
51418         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51419         and vsyslog prototypes.
51421 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51423         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51424         Remove.
51426 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51428         * misc/sys/mman.h: Fix typo in mremap comment.
51430 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51432         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51433         the '\0' terminator.
51435 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51437         [BZ #13550]
51438         * debug/segfault.c: Don't include <bp-checks.h>.
51439         * sysdeps/generic/bp-checks.h: Remove file.
51440         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51441         (__GETDENTS): Don't use CHECK_N.
51442         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51443         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51444         (__getgroups): Don't use CHECK_N.
51445         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51446         (setgroups): Don't use CHECK_N.
51447         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51448         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51449         (__libc_msgrcv): Don't use CHECK_N.
51450         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51451         (__libc_msgsnd): Don't use CHECK_N.
51452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51453         <bp-checks.h>.
51454         (__libc_pread): Don't use CHECK_N.
51455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51456         include <bp-checks.h>.
51457         (__libc_pread64): Don't use CHECK_N.
51458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51459         include <bp-checks.h>.
51460         (__libc_pwrite): Don't use CHECK_N.
51461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51462         include <bp-checks.h>.
51463         (__libc_pwrite64): Don't use CHECK_N.
51464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51465         <bp-checks.h>.
51466         (__libc_pread): Don't use CHECK_N.
51467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51468         include <bp-checks.h>.
51469         (__libc_pread64): Don't use CHECK_N.
51470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51471         include <bp-checks.h>.
51472         (__libc_pwrite): Don't use CHECK_N.
51473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51474         include <bp-checks.h>.
51475         (__libc_pwrite64): Don't use CHECK_N.
51476         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51477         (do_pread): Don't use CHECK_N.
51478         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51479         (do_pread64): Don't use CHECK_N.
51480         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51481         (do_pwrite): Don't use CHECK_N.
51482         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51483         (do_pwrite64): Don't use CHECK_N.
51484         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51485         (__libc_readv): Don't use CHECK_N.
51486         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51487         (semop): Don't use CHECK_N.
51488         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51489         <bp-checks.h>.
51490         (semtimedop): Don't use CHECK_N.
51491         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51492         (__libc_pread): Don't use CHECK_N.
51493         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51494         <bp-checks.h>.
51495         (__libc_pread64): Don't use CHECK_N.
51496         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51497         <bp-checks.h>.
51498         (__libc_pwrite): Don't use CHECK_N.
51499         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51500         <bp-checks.h>.
51501         (__libc_pwrite64): Don't use CHECK_N.
51502         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51503         <bp-checks.h>.
51504         (__libc_msgrcv): Don't use CHECK_N.
51505         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51506         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51507         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51508         (__libc_writev): Don't use CHECK_N.
51510 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51512         * string/strcpy.c: Removed unused variable.
51514         * Makeconfig (+sysdep-includes): Define with := rather than =.
51515         Use an existing include/ subdir of each sysdeps dir before it.
51517 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51519         * nscd/connection.c (register_traced_file): Comment function.
51520         [HAVE_INOTIFY] (union __inev): Define.
51521         [HAVE_INOTIFY] (inotify_check_files): New function.
51522         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51523         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51524         clear_db_cache.
51525         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51527 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51529         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51530         loaded if not already and that a failure is permanent.
51532 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51534         [BZ #15006]
51535         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51536         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51538 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51540         [BZ #13550]
51541         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51542         (CHECK_1_NULL_OK): Likewise.
51543         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51544         (__fxstat): Do not use CHECK_1.
51545         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51546         <bp-checks.h>.
51547         (___fxstat64): Do not use CHECK_1.
51548         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51549         <bp-checks.h>.
51550         (__fxstatat): Do not use CHECK_1.
51551         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51552         <bp-checks.h>.
51553         (__fxstatat64): Do not use CHECK_1.
51554         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51555         <bp-checks.h>.
51556         (__fxstat): Do not use CHECK_1.
51557         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51558         <bp-checks.h>.
51559         (__fxstatat): Do not use CHECK_1.
51560         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51561         <bp-checks.h>.
51562         (__getresgid): Do not use CHECK_1.
51563         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51564         <bp-checks.h>.
51565         (__getresuid): Do not use CHECK_1.
51566         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51567         <bp-checks.h>.
51568         (__lxstat): Do not use CHECK_1.
51569         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51570         <bp-checks.h>.
51571         (__old_msgctl): Do not use CHECK_1.
51572         (__new_msgctl): Likewise.
51573         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51574         <bp-checks.h>.
51575         (__new_setrlimit): Do not use CHECK_1.
51576         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51577         <bp-checks.h>.
51578         (__old_shmctl): Do not use CHECK_1.
51579         (__new_shmctl): Likewise.
51580         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51581         <bp-checks.h>.
51582         (__xstat): Do not use CHECK_1.
51583         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51584         (__lxstat): Do not use CHECK_1.
51585         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51586         <bp-checks.h>.
51587         (___lxstat64): Do not use CHECK_1.
51588         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51589         (__old_msgctl): Do not use CHECK_1.
51590         (__new_msgctl): Likewise.
51591         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51592         <bp-checks.h>.
51593         (__gettimeofday): Do not use CHECK_1.
51594         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51595         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51596         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51597         <bp-checks.h>.
51598         (__gettimeofday): Do not use CHECK_1.
51599         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51600         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51601         (__new_shmctl): Do not use CHECK_1.
51602         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51603         <bp-checks.h>.
51604         (do_sigtimedwait): Do not use CHECK_1.
51605         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51606         <bp-checks.h>.
51607         (do_sigwaitinfo): Do not use CHECK_1.
51608         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51609         <bp-checks.h>.
51610         (msgctl): Do not use CHECK_1.
51611         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51612         <bp-checks.h>.
51613         (shmctl): Do not use CHECK_1.
51614         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51615         (ustat): Do not use CHECK_1.
51616         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51617         <bp-checks.h>.
51618         (__fxstat): Do not use CHECK_1.
51619         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51620         <bp-checks.h>.
51621         (__fxstatat): Do not use CHECK_1.
51622         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51623         <bp-checks.h>.
51624         (__lxstat): Do not use CHECK_1.
51625         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51626         <bp-checks.h>.
51627         (__xstat): Do not use CHECK_1.
51628         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51629         (__xstat): Do not use CHECK_1.
51630         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51631         (___xstat64): Do not use CHECK_1.
51633         [BZ #13550]
51634         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51635         definitions.
51636         (CHECK_BOUNDS_HIGH): Likewise.
51637         * string/strcpy.c: Do not include <bp-checks.h>.
51638         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51640 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51642         * nscd/nscd-client.h (__nscd_drop_map_ref):
51643         Add __attribute__ ((unused)).
51644         * nis/nss-nisplus.h (niserr2nss): Likewise.
51646         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51647         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51649         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51650         Remove inline keyword.
51651         * include/rounding-mode.h (round_away): Likewise.
51652         * libio/wfileops.c (adjust_wide_data): Likewise.
51653         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51654         (__m128i_strloadu_tolower): Likewise.
51655         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51656         (__m128i_strloadu_tolower): Likewise.
51657         * time/mktime.c (ydhms_diff): Likewise.
51658         * locale/elem-hash.h (elem_hash): Likewise.
51659         * locale/setlocale.c (setdata): Likewise.
51660         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51661         (re_string_wchar_at): Likewise.
51662         (bitset_not, bitset_merge, bitset_mask): Likewise.
51663         [!(__GNUC__ > 3)] (inline): Remove macro.
51664         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51665         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51666         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51667         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51668         * string/memcmp.c (memcmp_bytes): Likewise.
51669         * locale/programs/locarchive.c (compute_hashval): Likewise.
51670         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51671         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51672         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51673         * nss/getent.c (print_rpc, print_protocols): Likewise.
51674         (print_passwd, print_group, print_aliases): Likewise.
51675         * nis/nss-nisplus.h (niserr2nss): Likewise.
51676         * nscd/connections.c (restart_p): Likewise.
51677         Change return type to bool.
51679 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51681         * Makeconfig (all-Depend-files): Add existing
51682         $(sorted-subdirs:=/Depend) files.
51683         (all-subdirs): Remove nss.
51684         * sysdeps/unix/inet/Subdirs: Add it here instead.
51685         * hesiod/Depend: New file.
51687         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51688         instead of calling alloca.
51690         * io/lseek.c (__lseek): Rename to __libc_lseek.
51691         Define __lseek as an alias.
51693         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51695 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51697         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51698         else clause and remove check for non-standard endianness.
51700 2013-02-04  David S. Miller  <davem@davemloft.net>
51702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51704 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51706         [BZ #13550]
51707         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51708         (__ubp_memchr): Remove prototype.
51709         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51710         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51711         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51712         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51713         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51714         Remove alias.
51715         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51716         (__ubp_memchr): Likewise.
51717         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51718         (__ubp_memchr): Likewise.
51719         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51720         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51721         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51722         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51723         CHECK_STRING.
51724         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51725         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51726         (__getcwd): Do not use CHECK_STRING.
51727         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51728         <bp-checks.h>.
51729         (__real_chown): Do not use CHECK_STRING.
51730         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51731         <bp-checks.h>.
51732         (fchownat): Do not use CHECK_STRING.
51733         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51734         CHECK_STRING.
51735         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51736         <bp-checks.h>.
51737         (__lchown): Do not use CHECK_STRING.
51738         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51739         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51740         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51741         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51743         include <bp-checks.h>.
51744         (truncate64): Do not use CHECK_STRING.
51745         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51746         <bp-checks.h>.
51747         (__real_chown): Do not use CHECK_STRING.
51748         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51749         <bp-checks.h>.
51750         (__lchown): Do not use CHECK_STRING.
51751         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51752         <bp-checks.h>.
51753         (__chown): Do not use CHECK_STRING.
51754         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51755         <bp-checks.h>.
51756         (truncate64): Do not use CHECK_STRING.
51757         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51758         Likewise.
51759         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51760         (__xmknod): Do not use CHECK_STRING.
51761         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51762         <bp-checks.h>.
51763         (__xmknodat): Do not use CHECK_STRING.
51764         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51765         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51767 2013-02-04  Andreas Schwab  <schwab@suse.de>
51769         [BZ #14142]
51770         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51771         * include/netdb.h: Likewise for h_errno.
51772         * elf/tst-stackguard1.c: Include <tls.h>.
51774 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51776         * elf/link.h (struct link_map): Extend the l_addr comment.
51777         * include/link.h (struct link_map): Likewise.
51779 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51781         [BZ #13550]
51782         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51783         (BOUNDED_1): Remove macro.
51784         * debug/backtrace.c: Don't include <bp-checks.h>.
51785         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51786         (__backtrace): Likewise.
51787         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51788         <bp-checks.h>.
51789         (__backtrace): Don't use BOUNDED_1.
51790         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51791         <bp-checks.h>.
51792         (__backtrace): Don't use BOUNDED_1.
51793         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51794         (__backtrace): Don't use BOUNDED_1.
51795         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51796         (shmat): Don't use BOUNDED_N.
51798 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51800         [BZ #13550]
51801         * sysdeps/generic/bp-start.h: Remove file.
51802         * csu/libc-start.c: Don't include <bp-start.h>.
51803         (LIBC_START_MAIN): Set up __environ directly instead of using
51804         INIT_ARGV_and_ENVIRON.
51805         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51806         <bp-start.h>.
51808         [BZ #13550]
51809         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51810         definitions.
51811         (CHECK_FCNTL): Likewise.
51812         (CHECK_N_PAGES): Likewise.
51814         [BZ #13550]
51815         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51816         definitions.
51817         (CHECK_SIGSET_NULL_OK): Likewise.
51818         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51819         <bp-checks.h>.
51820         (sigpending): Don't use CHECK_SIGSET.
51821         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51822         <bp-checks.h>.
51823         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51824         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51825         <bp-checks.h>.
51826         (do_sigsuspend): Don't use CHECK_SIGSET.
51827         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51828         use CHECK_SIGSET.
51829         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51830         (do_sigwait): Don't use CHECK_SIGSET.
51831         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51832         use CHECK_SIGSET.
51833         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51834         include <bp-checks.h>.
51835         (sigpending): Don't use CHECK_SIGSET.
51836         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51837         include <bp-checks.h>.
51838         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51839         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51840         <bp-checks.h>.
51841         (sigpending): Don't use CHECK_SIGSET.
51842         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51843         <bp-checks.h>.
51844         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51846         [BZ #13550]
51847         * sysdeps/generic/bp-semctl.h: Remove file.
51848         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51849         <bp-checks.h> and <bp-semctl.h>.
51850         (__old_semctl): Don't use CHECK_SEMCTL.
51851         (__new_semctl): Likewise.
51852         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51853         and <bp-semctl.h>.
51854         (__old_semctl): Don't use CHECK_SEMCTL.
51855         (__new_semctl): Likewise.
51856         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51857         <bp-checks.h> and <bp-semctl.h>.
51858         (__old_semctl): Don't use CHECK_SEMCTL.
51859         (__new_semctl): Likewise.
51860         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51861         <bp-checks.h> and <bp-semctl.h>.
51862         (semctl): Don't use CHECK_SEMCTL.
51864         [BZ #13550]
51865         * Makerules (elide-bp-thunks): Remove variable.
51866         (elide-routines.oS): Don't use $(elide-bp-thunks).
51867         (elide-routines.os): Likewise.
51868         (elide-routines.o): Likewise.
51869         (elide-routines.op): Likewise.
51870         (elide-routines.og): Likewise.
51871         (objects): Don't use $(bp-thunks).
51872         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51873         include.
51874         (common-generated): Do not add s-proto-bp.d.
51875         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51876         (int): Likewise.
51877         (typ): Likewise.
51878         Do not generate makefile rules for bounded-pointer thunks.
51879         * sysdeps/generic/bp-thunks.h: Remove file.
51880         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51881         * sysdeps/unix/s-proto-bp.S: Likewise.
51883         [BZ #15062]
51884         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51885         parts of result separately when argument is not close to line from
51886         -i to i and one part of argument is small.
51887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51889         * math/libm-test.inc (cacos_test): Add more tests.
51890         (casin_test): Likewise.
51891         (casinh_test): Likewise.
51892         * sysdeps/i386/fpu/libm-test-ulps: Update.
51893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51895 2013-01-31  David S. Miller  <davem@davemloft.net>
51897         * po/de.po: Update from translation team.
51899 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51901         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51903 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51905         * configure.in (_AC_PROG_CC_C89): New definition.
51906         * configure: Regenerate.
51908         * configure.in (AC_PROG_CPP): New definition.
51909         * configure: Regenerate.
51911 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51913         * debug/tst-backtrace.h: New file.
51914         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51915         (ret): Remove variable.
51916         (x): Likewise.
51917         (FAIL): Remove macro.
51918         (NO_INLINE): Likewise.
51919         (fn1): Use match function instead of strstr.
51920         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51921         (ret): Remove variable.
51922         (x): Likewise.
51923         (FAIL): Remove macro.
51924         (NO_INLINE): Likewise.
51925         (fn): Use match function instead of strstr.
51926         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51927         (ret): Remove variable.
51928         (x): Likewise.
51929         (FAIL): Remove macro.
51930         (NO_INLINE): Likewise.
51931         (handle_signal): Use match function instead of strstr.
51932         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51933         (ret): Remove variable.
51934         (x): Likewise.
51935         (FAIL): Remove macro.
51936         (NO_INLINE): Likewise.
51937         (handle_signal): Use match function instead of strstr.
51939 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51941         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51943 2013-01-23  David S. Miller  <davem@davemloft.net>
51945         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51946         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51947         argument of CAS if possible.
51948         * sysdeps/sparc/sparc64/bits/atomic.h
51949         (__arch_compare_and_exchange_val_32_acq): Likewise.
51950         (__arch_compare_and_exchange_val_64_acq): Likewise.
51952 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51954         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51955         * sysdeps/posix/ulimit.c: ... this.
51956         Include <limits.h>.
51957         * sysdeps/unix/bsd/ulimit.c: Remove file.
51959 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51961         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51962         (LDFLAGS-tst-array5): Likewise.
51964 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51966         [BZ #15036]
51967         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51968         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51969         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51970         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51972 2013-01-21  David S. Miller  <davem@davemloft.net>
51974         * sysdeps/sparc/backtrace.c: New file.
51975         * sysdeps/sparc/sparc32/backtrace.h: New file.
51976         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51977         * sysdeps/sparc/sparc64/backtrace.h: New file.
51978         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51979         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51980         -funwind-tables.
51982 2013-01-21  Andreas Schwab  <schwab@suse.de>
51984         [BZ #15020]
51985         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51986         closed its stdout.
51988 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51991         "mpa2.h".
51992         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51994 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51995             Mark Mitchell  <mark@codesourcery.com>
51996             Tom de Vries  <tom@codesourcery.com>
51997             Paul Pluzhnikov  <ppluzhnikov@google.com>
51999         * debug/tst-backtrace2.c: New file.
52000         * debug/tst-backtrace3.c: Likewise.
52001         * debug/tst-backtrace4.c: Likewise.
52002         * debug/tst-backtrace5.c: Likewise.
52003         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52004         (CFLAGS-tst-backtrace3.c): Likewise.
52005         (CFLAGS-tst-backtrace4.c): Likewise.
52006         (CFLAGS-tst-backtrace5.c): Likewise.
52007         (LDFLAGS-tst-backtrace2): Likewise.
52008         (LDFLAGS-tst-backtrace3): Likewise.
52009         (LDFLAGS-tst-backtrace4): Likewise.
52010         (LDFLAGS-tst-backtrace5): Likewise.
52011         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52012         tst-backtrace4 and tst-backtrace5.
52014 2013-01-18  Anton Blanchard  <anton@samba.org>
52015             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52017         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52018         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52019         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52020         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52022         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52023         "+r" and remove output regs list as redundant.  Add explicit inline
52024         asm to specify register of return val to work around compiler codegen
52025         bug.  Remove (int) cast on return value.  Add return type parameter to
52026         use in macro so that this macro does not truncate return value for
52027         64-bit values.
52028         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52029         pass to INTERNAL_VSYSCALL_NCS.
52030         (INLINE_VSYSCALL): Add 'long int' as return type to
52031         INTERNAL_VSYSCALL_NCS macro invocation.
52032         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52033         INTERNAL_VSYSCALL_NCS macro invocation.
52034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52036 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52038         [BZ #14496]
52039         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52040         Fix application of SIMD FP exception mask.
52042         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52043         mp_no from a power of two.
52044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52045         __mpexp_twomm1.  Use __pow_mp.
52047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52048         multiplication.
52050 2013-01-17  David S. Miller  <davem@davemloft.net>
52052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52054 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52056         [BZ #15023]
52057         * include/complex.h: Condition contents on [!_COMPLEX_H].
52058         (__kernel_casinhf): New prototype.
52059         (__kernel_casinh): Likewise.
52060         (__kernel_casinhl): Likewise.
52061         * math/Makefile (libm_calls): Add k_casinh.
52062         * math/k_casinh.c: New file.
52063         * math/k_casinhf.c: Likewise.
52064         * math/k_casinhl.c: Likewise.
52065         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52066         finite nonzero arguments.
52067         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52068         finite nonzero arguments.
52069         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52070         finite nonzero arguments.
52071         * math/s_casinh.c: Do not include <float.h>.
52072         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52073         * math/s_casinhf.c: Do not include <float.h>.
52074         (__casinhf): Move code for finite nonzero arguments to
52075         k_casinhf.c.
52076         * math/s_casinhl.c: Do not include <float.h>.
52077         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52078         redefine.
52079         (__casinhl): Move code for finite nonzero arguments to
52080         k_casinhl.c.
52081         * math/libm-test.inc (cacos_test): Add more tests.
52082         * sysdeps/i386/fpu/libm-test-ulps: Update.
52083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52085 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52087         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52088         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52089         [!HAVE_MREMAP]: Remove [defined linux] case.
52090         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52092 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52094         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52096 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52098         * elf/elf.h (R_386_SIZE32): New relocation.
52099         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52100         R_386_SIZE32.
52101         (elf_machine_rela): Likewise.
52102         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52103         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52105 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52107         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52108         (FP_FAST_FMA): Do not define.
52109         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52110         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52111         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52112         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52113         !_SOFT_FLOAT]: Likewise.
52114         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52115         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52116         value.
52117         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52118         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52119         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52120         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52121         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52122         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52123         file.
52125 2013-01-16  Andreas Schwab  <schwab@suse.de>
52127         [BZ #14327]
52128         * include/stdlib.h (__mktemp): Add declaration.
52129         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52130         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52132 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52134         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52135         definitions.
52136         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52137         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52138         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52139         definitions here.
52140         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52141         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52142         definitions.
52143         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52144         and ONE.
52145         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52146         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52147         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52148         definitions.
52149         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52150         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52151         definitions.
52152         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52154         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52156 2013-01-15  David S. Miller  <davem@davemloft.net>
52158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52159         trunc{,f} to libm-sysdep_routes.
52160         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52162         file.
52163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52165         file.
52166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52167         file.
52168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52170         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52171         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52172         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52173         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52174         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52175         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52178         nearbyint{,f} to libm-sysdep_routes.
52179         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52181         New file.
52182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52183         file.
52184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52185         New file.
52186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52187         file.
52188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52190         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52191         file.
52192         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52193         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52194         file.
52195         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52196         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52197         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52199         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52200         libc_feholdexcept and libc_fesetenv.
52202 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52204         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52206 2013-01-14  David S. Miller  <davem@davemloft.net>
52208         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52209         (SPARC_ASM_VIS2_IFUNC): Likewise.
52210         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52212         use of 'siam' instruction.
52213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52214         Likewise.
52215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52216         Likewise.
52217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52218         Likewise.
52219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52224         file.
52225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52226         file.
52227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52228         file.
52229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52230         file.
52231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52236         new VIS2 routines.
52237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52240         Likewise.
52241         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52246         routines to libm-sysdep_routines.
52247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52250         fdim/fdimf to libm-sysdep_routines.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52252         file.
52253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52255         file.
52256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52259         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52260         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52261         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52262         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52264 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52266         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52267         to optimize copies.
52269         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52274         local variable MPTWO.
52275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52276         Likewise.
52278 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52280         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52281         GLOB_NOESCAPE.
52283 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52285         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52287 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52289         * manual/pattern.texi (glob_t): Document gl_flags.
52290         (glob64_t): Likewise.
52292 2013-01-11  David S. Miller  <davem@davemloft.net>
52294         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52295         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52296         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52297         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52298         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52299         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52300         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52301         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52302         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52303         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52304         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52305         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52306         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52308         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52309         sparc V9 rather than using V8 code.
52310         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52311         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52313         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52314         Move to...
52315         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52316         Here.
52318 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52320         [BZ #14941]
52321         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52322         not in the main loop.
52323         * configure: Regenerated.
52325 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52327         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52328         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52329         to just #else.
52330         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52331         [!__GLIBC_HAVE_LONG_LONG] case.
52332         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52333         condition to just #else.
52334         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52335         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52336         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52337         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52338         unconditional.
52339         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52340         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52341         #elif condition to just #else.
52342         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52343         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52344         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52345         #elif condition to just #else.
52347 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52349         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52350         (EF_MIPS_ARCH_64): Fix value.
52351         (EF_MIPS_ARCH_32R2): New.
52352         (EF_MIPS_ARCH_64R2): New.
52354 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52356         * Makeconfig (+link-pie-before-libc): New.
52357         (+link-pie-after-libc): Likewise.
52358         (+link-pie-tests): Likewise.
52359         (+link-pie): Rewritten.
52360         (link-before-libc): Remove $(config-LDFLAGS).
52361         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52362         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52363         (config-LDFLAGS): Renamed to ...
52364         (rtld-LDFLAGS): This.
52365         (rtld-tests-LDFLAGS): New macro.
52366         (link-libc-rpath-link): Likewise.
52367         (link-libc-tests-rpath-link): Likewise.
52368         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52369         (link-libc): Prepand $(link-libc-rpath-link).
52370         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52371         (test-program-prefix): New macro.
52372         (test-via-rtld-prefix): Likewise.
52373         (test-program-cmd): Likewise.
52374         (host-test-program-cmd): Likewise.
52375         * Makefile ($(common-objpfx)testrun.sh): Replace
52376         $(run-program-prefix) with $(test-program-prefix).
52377         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52378         $(rtld-LDFLAGS).
52379         ($(common-objpfx)shlib.lds): Likewise.
52380         (build-module-helper): Likewise.
52381         ($(common-objpfx)format.lds): Likewise.
52382         * Rules (binaries-pie-tests): New.
52383         (binaries-pie-notests): Likewise.
52384         (binaries-pie): Rewritten.
52385         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52386         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52387         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52388         (make-test-out): Replace $(host-built-program-cmd) with
52389         $(host-test-program-cmd).
52390         * config.make.in (build-hardcoded-path-in-tests): New variable.
52391         * configure.in (--enable-hardcoded-path-in-tests): New configure
52392         option.
52393         (hardcoded_path_in_tests): New AC_SUBST.
52394         * configure: Regenerated.
52395         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52396         $(built-program-cmd) with $(test-program-cmd).
52397         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52398         (test_program_cmd): This.
52399         * elf/Makefile ($(objpfx)order.out): Run test with
52400         $(test-program-prefix).
52401         ($(objpfx)order2.out): Likewise.
52402         ($(objpfx)tst-initorder.out): Likewise.
52403         ($(objpfx)tst-initorder2.out): Likewise.
52404         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52405         $(test-program-cmd).
52406         ($(objpfx)tst-array1-static.out): Likewise.
52407         ($(objpfx)tst-array2.out): Likewise.
52408         ($(objpfx)tst-array3.out): Likewise.
52409         ($(objpfx)tst-array4.out): Likewise.
52410         ($(objpfx)tst-array5.out): Likewise.
52411         ($(objpfx)tst-array5-static.out): Likewise.
52412         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52413         $(test-program-cmd).
52414         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52415         $(run-program-prefix) with $(test-program-prefix).
52416         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52417         (test_program_prefix): This.
52418         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52419         $(run-program-prefix) with $(test-program-prefix).
52420         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52421         (test_program_prefix): This.
52422         * iconvdata/tst-tables.sh: Likewise.
52423         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52424         $(run-program-prefix) with $(test-program-prefix).
52425         ($(objpfx)tst-translit.out): Likewise.
52426         ($(objpfx)tst-gettext2.out): Likewise.
52427         ($(objpfx)tst-gettext4.out): Likewise.
52428         ($(objpfx)tst-gettext6.out): Likewise.
52429         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52430         (test_program_prefix): This.
52431         * intl/tst-gettext2.sh: Likewise.
52432         * intl/tst-gettext4.sh  Likewise.
52433         * intl/tst-gettext6.sh: Likewise.
52434         * intl/tst-translit.sh: Likewise.
52435         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52436         with $(test-program-cmd).
52437         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52438         $(run-program-prefix) with $(test-program-prefix).
52439         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52440         (test_program_prefix): This.
52441         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52442         $(run-program-prefix) with $(test-program-prefix).
52443         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52444         (test_program_prefix): This.
52445         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52446         * posix/Makefile ($(objpfx)globtest.out): Replace
52447         $(run-via-rtld-prefix) and $(test-wrapper) with
52448         $(test-program-prefix) and $(test-via-rtld-prefix).
52449         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52450         $(test-program-prefix).
52451         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52452         $(host-test-program-cmd).
52453         (tst-spawn-ARGS): Likewise.
52454         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52455         $(test-program-prefix).
52456         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52457         (test_via_rtld_prefix): This.
52458         (test_wrapper): Renamed to ...
52459         (test_program_prefix): This.
52460         (run_program_prefix): Replaced by test_program_prefix.
52461         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52462         (test_program_prefix): This.
52463         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52464         with $(host-test-program-cmd).
52465         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52466         $(run-program-prefix) with $(test-program-prefix).
52467         ($(objpfx)tst-printf.out): Likewise.
52468         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52469         $(test-program-cmd).
52470         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52471         (test_program_prefix): This.
52472         * stdio-common/tst-unbputc.sh: Likewise.
52473         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52474         $(run-program-prefix) with $(test-program-prefix).
52475         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52476         (test_program_prefix): This.
52477         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52478         $(built-program-cmd) with $(test-program-cmd).
52480 2013-01-11  Andreas Jaeger  <aj@suse.de>
52482         [BZ #15003]
52483         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52484         value. Sync with Linux 3.7.
52486 2013-01-10  David S. Miller  <davem@davemloft.net>
52488         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52489         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52490         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52492 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52494         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52495         never set.
52496         * configure: Regenerated.
52498 2013-01-10  David S. Miller  <davem@davemloft.net>
52500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52501         sparc V9 rather than using V8 code.
52502         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52503         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52505 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52507         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52508         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52509         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52510         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52511         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52512         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52513         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52514         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52515         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52516         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52517         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52518         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52519         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52520         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52521         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52522         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52523         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52524         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52525         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52526         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52527         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52528         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52529         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52530         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52531         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52532         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52533         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52535 2013-01-10  David S. Miller  <davem@davemloft.net>
52537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52539 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52541         * posix/Makefile (tests-static): New variable.
52542         (tests): Add $(tests-static).
52543         (tst-exec-static-ARGS): New variable.
52544         (tst-spawn-static-ARGS): Likewise.
52545         * posix/tst-exec-static.c: New file.
52546         * posix/tst-spawn-static.c: Likewise.
52547         * posix/tst-exec.c: Support run directly.
52548         * posix/tst-spawn.c: Likewise.
52550 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52552         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52553         long.
52554         * math/bits/mathcalls.h (llrint): Likewise.
52555         (llround): Likewise.
52556         * stdlib/stdlib.h (struct drand48_data): Likewise.
52557         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52558         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52559         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52560         Likewise.
52561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52562         Likewise.
52563         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52564         (elf_greg_t): Likewise.
52565         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52566         (__jmp_buf): Likewise.
52567         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52568         definitions.
52569         (llrint): Likewise, for all definitions.
52570         (llrintl): Likewise.
52572         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52573         Remove [__GNUC__] condition.
52574         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52575         condition to just [__USE_ISOC99].
52576         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52578 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52580         [BZ #14200]
52581         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52582         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52583         defined.
52584         (_POSIX_V6_ILP32_OFF32): Likewise.
52585         (_XBS5_ILP32_OFF32): Likewise.
52586         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52587         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52589 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52591         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52594         doubles __mpexp_twomm1.  Adjust usage.
52595         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52596         Remove.
52598 2013-01-10  Andreas Schwab  <schwab@suse.de>
52600         [BZ #14964]
52601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52602         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52604 2013-01-09  David S. Miller  <davem@davemloft.net>
52606         [BZ #15003]
52607         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52608         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52609         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52610         (TCP_FASTOPEN): Define.
52611         (tcp_repair_opt): New structure.
52612         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52613         enum values.
52614         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52615         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52616         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52617         (tcp_cookie_transactions): New structure.
52619 2013-01-09  Anton Blanchard  <anton@samba.org>
52621         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52622         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52623         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52624         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52626 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52628         * include/features.h (__USE_ANSI): Remove.
52630 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52632         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52634         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52636 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52638         * sysdeps/s390/fpu/libm-test-ulps: Update.
52640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52642         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52643         (__acr): Likewise.
52644         (__cpy): Likewise.
52645         (norm): Likewise.
52646         (denorm): Likewise.
52647         (__mp_dbl): Likewise.
52648         (__dbl_mp): Likewise.
52649         (add_magnitudes): Likewise.
52650         (sub_magnitudes): Likewise.
52651         (__add): Likewise.
52652         (__sub): Likewise.
52653         (__mul): Likewise.
52654         (__inv): Likewise.
52655         (__dvd): Likewise.
52656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52657         (__acr): Likewise.
52658         (__cpy): Likewise.
52659         (norm): Likewise.
52660         (denorm): Likewise.
52661         (__mp_dbl): Likewise.
52662         (__dbl_mp): Likewise.
52663         (add_magnitudes): Likewise.
52664         (sub_magnitudes): Likewise.
52665         (__add): Likewise.
52666         (__sub): Likewise.
52667         (__mul): Likewise.
52668         (__inv): Likewise.
52669         (__dvd): Likewise.
52670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52671         (__acr): Likewise.
52672         (__cpy): Likewise.
52673         (norm): Likewise.
52674         (denorm): Likewise.
52675         (__mp_dbl): Likewise.
52676         (__dbl_mp): Likewise.
52677         (add_magnitudes): Likewise.
52678         (sub_magnitudes): Likewise.
52679         (__add): Likewise.
52680         (__sub): Likewise.
52681         (__mul): Likewise.
52682         (__inv): Likewise.
52683         (__dvd): Likewise.
52685 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52687         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52688         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52689         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52690         2 && __USE_EXTERN_INLINES]: Likewise.
52692 2013-01-08  Andreas Jaeger  <aj@suse.de>
52694         [BZ# 14985]
52695         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52696         Remove.
52697         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52698         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52700 2013-01-07  Anton Blanchard  <anton@samba.org>
52702         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52703         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52704         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52705         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52706         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52707         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52708         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52709         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52712         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52713         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52714         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52715         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52716         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52717         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52718         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52722         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52723         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52725         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52726         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52727         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52728         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52729         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52731         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52732         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52734         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52735         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52736         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52737         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52738         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52740         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52744         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52746 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52748         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52749         (__MALLOC_PMT): Likewise.
52750         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52751         [__GNUC__], only on [_LIBC].
52752         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52753         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52754         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52755         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52756         forward declaration.
52757         (realloc_hook_ini): Likewise.
52758         (memalign_hook_ini): Likewise.
52759         (__libc_memalign): Do not use __MALLOC_PMT in variable
52760         declaration.
52761         (__libc_valloc): Likewise.
52762         (__libc_pvalloc): Likewise.
52763         (__libc_calloc): Likewise.
52764         (__posix_memalign): Likewise.
52766         [BZ #14996]
52767         * math/s_casinh.c: Include <float.h>.
52768         (__casinh): Do not do computation with squaring and square root
52769         for large arguments.
52770         * math/s_casinhf.c: Include <float.h>.
52771         (__casinhf): Do not do computation with squaring and square root
52772         for large arguments.
52773         * math/s_casinhl.c: Include <float.h>.
52774         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52775         (__casinhl): Do not do computation with squaring and square root
52776         for large arguments.
52777         * math/libm-test.inc (casin_test): Add more tests.
52778         (casinh_test): Likewise.
52779         * sysdeps/i386/fpu/libm-test-ulps: Update.
52780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52782 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52784         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52785         (__x86_64_raw_data_cache_size): Likewise.
52786         (__x86_64_data_cache_size_half): Likewise.
52787         (__x86_64_raw_data_cache_size_half): Likewise.
52788         (__x86_64_shared_cache_size): Likewise.
52789         (__x86_64_raw_shared_cache_size): Likewise.
52790         (__x86_64_shared_cache_size_half): Likewise.
52791         (__x86_64_raw_shared_cache_size_half): Likewise.
52792         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52793         to ...
52794         (__x86_data_cache_size): This.
52795         (__x86_64_raw_data_cache_size): Renamed to ...
52796         (__x86_raw_data_cache_size): This.
52797         (__x86_64_data_cache_size_half): Renamed to ...
52798         (__x86_data_cache_size_half): This.
52799         (__x86_64_raw_data_cache_size_half): Renamed to ...
52800         (__x86_raw_data_cache_size_half): This.
52801         (__x86_64_shared_cache_size): Renamed to ...
52802         (__x86_shared_cache_size): This.
52803         (__x86_64_raw_shared_cache_size): Renamed to ...
52804         (__x86_raw_shared_cache_size): This.
52805         (__x86_64_shared_cache_size_half): Renamed to ...
52806         (__x86_shared_cache_size_half): This.
52807         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52808         (__x86_raw_shared_cache_size_half): This.
52809         * sysdeps/x86_64/memcpy.S: Updated.
52810         * sysdeps/x86_64/memset.S: Likewise.
52811         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52812         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52813         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52815 2013-01-04  David S. Miller  <davem@davemloft.net>
52817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52819 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52821         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52822         1 to avoid redefinition warning.
52823         (__USE_GNU): Don't define.
52824         (init_signaling_nan): Protoize.
52826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52828 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52830         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52832         (__cpymn): Likewise.
52833         (norm): Remove commented code.
52834         (denorm): Likewise.
52835         (__mp_dbl): Likewise.
52836         (__inv): Likewise.
52837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52838         (__cpymn): Likewise.
52839         (norm): Remove commented code.
52840         (denorm): Likewise.
52841         (__mp_dbl): Likewise.
52842         (__inv): Likewise.
52844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52845         mp_no value for 1.0 and 2.0.
52846         (norm): Use RADIXI instead of radixi.d.
52847         (denorm): Likewise.
52848         (__mul): Use 0.0 instead of zero.d.
52849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52850         mp_no value for 1.0 and 2.0.
52851         (norm): Use RADIXI instead of radixi.d.
52852         (denorm): Likewise.
52853         (__mul): Use 0.0 instead of zero.d.
52855 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52857         [BZ #14994]
52858         * math/s_casinh.c (__casinh): Reduce finite argument to first
52859         quadrant then set signs of results at the end.
52860         * math/s_casinhf.c (__casinhf): Likewise.
52861         * math/s_casinhl.c (__casinhl): Likewise.
52862         * math/libm-test.inc (casin_test): Add more tests.
52863         (casinh_test): Likewise.
52864         * sysdeps/i386/fpu/libm-test-ulps: Update.
52865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52867 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52869         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52871         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52873         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52874         declarations.
52875         (denorm): Likewise.
52876         (__mp_dbl): Likewise.
52877         (__inv): Likewise.
52879         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52880         and adjust the header comment.
52882         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52883         variable name from declaration.
52885 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52888         Initialize COMMON_CPUID_INDEX_7 element.
52889         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52890         (CPUID_RTM): Likewise.
52891         (HAS_RTM): Likewise.
52892         (COMMON_CPUID_INDEX_7): New enum.
52894 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52896         [BZ #14981]
52897         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52898         size is zero, record memory as freed.
52900 2013-01-03  Andreas Jaeger  <aj@suse.de>
52902         * po/ia.po: Add new Interlingua translation.
52904 2012-01-03  Allan McRae  <allan@archlinux.org>
52906         * locale/programs/localedef.c: Fix description of '--posix' flag.
52908 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52910         * NEWS: Update dates in second copyright notice.
52911         * README: Update copyright dates in example.
52912         * manual/libc.texinfo: Update copyright dates.
52913         * scripts/test-installation.pl: Update copyright date in --version
52914         output.
52916         * hurd/ctty-input.c: Fix copyright notice formatting.
52917         * hurd/ctty-output.c: Likewise.
52918         * hurd/dtable.c: Likewise.
52919         * hurd/hurd-raise.c: Likewise.
52920         * hurd/hurdprio.c: Likewise.
52921         * hurd/msgportdemux.c: Likewise.
52922         * misc/sys/file.h: Likewise.
52923         * misc/sys/ioctl.h: Likewise.
52924         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52925         * sysdeps/mach/hurd/chdir.c: Likewise.
52926         * sysdeps/mach/hurd/fchdir.c: Likewise.
52927         * sysdeps/mach/hurd/rename.c: Likewise.
52928         * sysdeps/mach/hurd/rmdir.c: Likewise.
52929         * sysdeps/mach/hurd/seekdir.c: Likewise.
52930         * sysdeps/mach/hurd/setsid.c: Likewise.
52931         * sysdeps/posix/wait3.c: Likewise.
52933         * All files with FSF copyright notices: Update copyright dates
52934         using scripts/update-copyrights.
52935         * intl/plural.c: Regenerated.
52936         * locale/programs/charmap-kw.h: Likewise.
52937         * locale/programs/locfile-kw.h: Likewise.
52939 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52941         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52942         four values.
52944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52945         calculation loop and add branch prediction.
52947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52948         check access beyond bounds of m1np.
52950         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52951         MPTWO.
52952         (__inv): Remove local variable MPTWO to use the global
52953         constant.
52954         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52956         variable MPTWO.
52957         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52958         MP3HALFS static const.
52960 2013-01-01  David S. Miller  <davem@davemloft.net>
52962         * po/ca.po: Update from translation team.
52964 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52966         * scripts/update-copyrights: New file.
52967         * Makeconfig: Reformat copyright notice.
52968         * ctype/ctype.h: Likewise.
52969         * debug/swprintf_chk.c: Likewise.
52970         * elf/dl-cache.c: Likewise.
52971         * elf/dl-debug.c: Likewise.
52972         * elf/dl-object.c: Likewise.
52973         * grp/initgroups.c: Likewise.
52974         * hurd/Makefile: Likewise.
52975         * hurd/hurd/signal.h: Likewise.
52976         * hurd/hurdfault.c: Likewise.
52977         * hurd/hurdioctl.c: Likewise.
52978         * hurd/hurdlookup.c: Likewise.
52979         * hurd/intr-msg.c: Likewise.
52980         * iconv/gconv_open.c: Likewise.
52981         * libio/swprintf.c: Likewise.
52982         * locale/lc-ctype.c: Likewise.
52983         * locale/nl_langinfo.c: Likewise.
52984         * mach/Machrules: Likewise.
52985         * mach/Makefile: Likewise.
52986         * malloc/obstack.h: Likewise.
52987         * manual/Makefile: Likewise.
52988         * manual/tsort.awk: Likewise.
52989         * misc/bits/stab.def: Likewise.
52990         * nis/nis_print_group_entry.c: Likewise.
52991         * nis/nis_table.c: Likewise.
52992         * nis/nss_compat/compat-pwd.c: Likewise.
52993         * nis/nss_compat/compat-spwd.c: Likewise.
52994         * po/Makefile: Likewise.
52995         * posix/fnmatch.c: Likewise.
52996         * posix/regex.h: Likewise.
52997         * resolv/Makefile: Likewise.
52998         * resolv/nss_dns/dns-network.c: Likewise.
52999         * resolv/res_hconf.c: Likewise.
53000         * scripts/gen-sorted.awk: Likewise.
53001         * soft-fp/soft-fp.h: Likewise.
53002         * stdio-common/printf.h: Likewise.
53003         * stdlib/monetary.h: Likewise.
53004         * stdlib/random.c: Likewise.
53005         * stdlib/random_r.c: Likewise.
53006         * sysdeps/generic/Makefile: Likewise.
53007         * sysdeps/gnu/Makefile: Likewise.
53008         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53031         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53032         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53033         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53036         * sysdeps/mach/hurd/errnos.awk: Likewise.
53037         * sysdeps/mach/hurd/fork.c: Likewise.
53038         * sysdeps/mach/hurd/getcwd.c: Likewise.
53039         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53040         * sysdeps/mach/hurd/mmap.c: Likewise.
53041         * sysdeps/mach/hurd/utimes.c: Likewise.
53042         * sysdeps/mach/hurd/xmknod.c: Likewise.
53043         * sysdeps/posix/profil.c: Likewise.
53044         * sysdeps/posix/readdir_r.c: Likewise.
53045         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53046         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53047         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53048         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53050         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53051         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53052         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53054         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53055         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53056         * sysdeps/pthread/lio_listio.c: Likewise.
53057         * sysdeps/sparc/dl-procinfo.h: Likewise.
53058         * sysdeps/unix/i386/sysdep.S: Likewise.
53059         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53060         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53061         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53062         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53064         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53065         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53066         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53067         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53068         * sysdeps/wordsize-32/divdi3.c: Likewise.
53069         * time/sys/time.h: Likewise.
53070         * wcsmbs/Makefile: Likewise.
53072 2013-01-01  David S. Miller  <davem@davemloft.net>
53074         * po/fr.po: Update from translation team.
53076         * catgets/gencat.c: Update copyright year.
53077         * csu/version.c: Likewise.
53078         * debug/catchsegv.sh: Likewise.
53079         * debug/pcprofiledump.c: Likewise.
53080         * debug/xtrace.sh: Likewise.
53081         * elf/ldconfig.c: Likewise.
53082         * elf/ldd.bash.in: Likewise.
53083         * elf/pldd.c: Likewise.
53084         * elf/sotruss.ksh: Likewise.
53085         * elf/sprof.c: Likewise.
53086         * iconv/iconv_prog.c: Likewise.
53087         * iconv/iconvconfig.c: Likewise.
53088         * locale/programs/locale.c: Likewise.
53089         * locale/programs/localedef.c: Likewise.
53090         * login/programs/pt_chown.c: Likewise.
53091         * malloc/memusage.sh: Likewise.
53092         * malloc/memusagestat.c: Likewise.
53093         * malloc/mtrace.pl: Likewise.
53094         * nscd/nscd.c: Likewise.
53095         * nss/getent.c: Likewise.
53096         * nss/makedb.c: Likewise.
53097         * posix/getconf.c: Likewise.
53099 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53101         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53102         numbers.
53104 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53106         * math/bits/mathcalls.h (modf): Use __nonnull.
53108 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53110         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53111         (split): Use macro CN instead of the bare value.
53112         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53113         could be used.
53114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53115         instead of the bare value.
53116         (power1): Likewise.
53118 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53120         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53121         __ATAN_TWOM.
53122         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53124         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53125         their values.
53126         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53127         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53128         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53129         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53131 2012-12-28  Andreas Jaeger  <aj@suse.de>
53133         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53134         values are from Linux 3.7.
53136         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53137         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53139 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53141         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53142         TRUE case.
53144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53145         (norm): Likewise.
53146         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53147         variables with preprocessor constants.
53148         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53149         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53150         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53152 2012-12-27  Bruno Haible  <bruno@clisp.org>
53154         [BZ #14317]
53155         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53156         only if needed.
53158 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53161         and use variable directly.
53162         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53164         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53165         MPONE.
53166         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53168         variable MPONE.
53169         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53171         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53172         include directive.  Remove local variable MPONE.
53173         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53174         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53175         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53177 2012-12-25  David S. Miller  <davem@davemloft.net>
53179         * version.h (RELEASE): Set to "development".
53180         (VERSION): Set to "2.17.90".
53181         * NEWS: Add 2.18 section.
53183 2012-12-21  David S. Miller  <davem@davemloft.net>
53185         * po/hr.po: Update from translation team.
53187 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53189         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53191 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53193         * NEWS:  Mention new memcpy for MIPS.
53195 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53197         * manual/contrib.texi (Contributors): Spelling correction.
53199 2012-12-15  David S. Miller  <davem@davemloft.net>
53201         * po/ru.po: Update from translation team.
53203 2012-12-13  David S. Miller  <davem@davemloft.net>
53205         * NEWS: Mention IFUNC testsuite enhancements.
53207         * po/pl.po: Update from translation team.
53208         * po/bg.po: Likewise.
53210         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53211         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53213 2012-12-11  David S. Miller  <davem@davemloft.net>
53215         * po/sv.po: Update from translation team.
53217         * po/vi.po: Update from translation team.
53219         * po/cs.po: Update from translation team.
53221         * po/de.po: Update from translation team.
53222         * po/eo.po: Likewise.
53223         * po/nl.po: Likewise.
53225 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         [BZ #14246]
53228         * manual/argp.texi (Argp Helper Functions): Move node to follow
53229         Argp Parsing State.
53231         [BZ #14872]
53232         * manual/conf.texi (Limits on File System Capacity): Mention if
53233         terminating null is included in the max size.
53235 2012-12-10  Andreas Jaeger  <aj@suse.de>
53237         * po/cs.po: Update from translation team.
53239 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53241         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53242         void pointer and cast to uintptr_t.
53243         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53244         path.
53245         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53246         * sysdeps/s390/s390-64/memset.S: Likewise.
53248 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53250         [BZ #14833]
53251         * menual/message.texi (Message Translation): Fix typos.
53252         (Helper programs for gettext): Likewise.
53254 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53256         [BZ #14898]
53257         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53258         Change to -1.
53260 2012-12-07  David S. Miller  <davem@davemloft.net>
53262         * po/libc.pot: Update.
53264 2012-12-07  Richard Henderson  <rth@redhat.com>
53266         [BZ #10114]
53267         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53268         normal/normal case to before the switch.
53269         (_FP_DIV): Likewise.
53271 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53272             Mike Frysinger  <vapier@gentoo.org>
53274         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53275         check for __NR_fadvise64_64.
53277 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53279         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53280         0, not just to plain "0" as a statement.
53281         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53282         with cw.
53284 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53286         * NEWS: Use sourceware.org in Bugzilla URL.
53288 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53291         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53293         * stdio-common/tst-put-error.c (do_test): Add newline to the
53294         padded test to ensure flush.
53296 2012-12-05  Jeff Law  <law@redhat.com>
53298         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53300 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53302         * README: Don't refer to ports add-on as distributed separately.
53303         Mention AArch64 in list of systems supported in the ports add-on.
53305         * LICENSES: Add more non-FSF copyright and license notices.
53307         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53308         ((unused)).
53310         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53312         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53313         10000 as width of padded output.
53315 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53317         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53319         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53320         variable LX with __attribute__ ((unused)).
53321         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53322         Likewise.
53323         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53326         with __attribute__ ((unused)).
53328 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53330         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53332 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53334         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53335         (CFLAGS-nldbl-acos.c): New variable.
53336         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53337         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53338         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53339         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53340         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53341         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53342         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53343         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53344         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53345         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53346         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53347         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53348         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53349         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53350         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53351         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53352         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53353         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53354         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53355         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53356         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53357         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53358         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53359         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53360         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53361         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53362         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53363         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53364         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53365         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53366         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53367         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53368         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53369         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53370         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53371         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53372         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53373         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53374         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53375         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53376         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53377         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53378         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53379         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53380         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53381         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53382         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53383         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53384         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53385         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53386         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53387         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53388         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53389         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53390         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53391         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53392         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53393         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53394         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53395         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53396         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53397         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53398         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53399         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53400         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53401         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53402         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53403         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53404         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53405         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53406         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53407         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53408         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53409         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53410         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53411         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53412         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53413         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53414         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53415         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53416         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53417         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53418         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53419         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53420         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53421         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53422         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53423         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53424         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53425         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53426         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53427         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53428         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53429         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53430         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53431         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53432         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53435         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53437         [BZ #14914]
53438         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53439         whole low double instead of just low 47 bits when splitting values
53440         into two parts.
53442 2012-12-03  Allan McRae  <allan@archlinux.org>
53444         * manual/stdio.texi (Predefined Printf Handlers): Remove
53445         @hsep and @vsep usage.
53447 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53449         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53450         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53452 2012-12-03  Jeff Law  <law@redhat.com>
53454         * time/sys/time.h (settimeofday): Do not mark TV argument
53455         as __nonnull.
53457 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53459         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53460         when currently writing and seek to current position when not.
53461         * libio/Makefile (tests): Remove bug-fclose1.
53462         * libio/bug-fclose1.c: Delete.
53464 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53466         * manual/arith.texi (feenableexcept): Fix typo.
53467         (fedisableexcept): Likewise.
53469 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53471         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53472         second, differently-typed declaration, rather than a cast.
53474 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53476         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53477         * include/rpc/svc.h: ... here.
53479 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53481         [BZ #13013]
53482         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53483         depending n and resplen2 to catch cases where answer
53484         equals answerp2.
53486 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53488         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53489         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53491 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53493         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53495 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53497         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53499 2012-11-28  Jeff Law  <law@redhat.com>
53501         [BZ #13761]
53502         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53503         dataset_temporary.  Track alloca usage into alloca_used.
53504         If dataset is large allocate and release it via malloc/free.
53506 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53508         [BZ #14197]
53509         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53511 2012-11-28  David S. Miller  <davem@davemloft.net>
53513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53515 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53517         [BZ #14803]
53518         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53519         of pi/2 rounded to nearest to 64 bits.
53520         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53521         nearest to 64 bits.
53522         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53523         bits.
53525 2012-11-28  Jeff Law <law@redhat.com>
53526             Martin Osvald <mosvald@redhat.com>
53528         [BZ #14889]
53529         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53530         * sunrpc/svc.c: Include time.h.
53531         (__svc_accept_failed): New function.
53532         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53533         any reason other than EINTR, call __svc_accept_failed.
53534         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53535         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53537 2012-11-28  Andreas Schwab  <schwab@suse.de>
53539         * scripts/abilist.awk: Also handle indirect functions in .opd
53540         section.
53542 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53544         [BZ #13881]
53545         * sysdeps/x86/fpu/powl_helper.c: New file.
53546         * sysdeps/x86/fpu/Makefile: Likewise.
53547         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53548         (p3): New object.
53549         (__ieee754_powl): Use __powl_helper for finite arguments except
53550         integer exponents below 8.
53551         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53552         (p3): New object.
53553         (__ieee754_powl): Use __powl_helper for finite arguments except
53554         integer exponents below 8.
53555         * math/libm-test.inc (pow_test): Add more tests and enable some
53556         previously disabled tests.
53557         * sysdeps/i386/fpu/libm-test-ulps: Update.
53558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53560 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53561             Carlos O'Donell  <carlos_odonell@mentor.com>
53563         * nss/makedb.c (is_prime): Assert that input is odd and greater
53564         than 4.  Note that fact in a comment too.
53565         (next_prime): Add 4 to input.
53567 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53569         [BZ #11741]
53570         * libio/Makefile (tests): Add test case tst-fwrite-error.
53571         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53572         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53573         * libio/tst-fwrite-error.c: New test case.
53575 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53577         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53578         before casting to void *.
53579         * include/libc-internal.h (__pointer_type): New macro.
53580         (__integer_if_pointer_type_sub): Likewise.
53581         (__integer_if_pointer_type): Likewise.
53582         (cast_to_integer): Likewise.
53583         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53584         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53585         before casting to atomic64_t.
53586         (atomic_exchange_acq): Likewise.
53587         (__arch_exchange_and_add_body): Likewise.
53588         (__arch_add_body): Likewise.
53589         (atomic_add_negative): Likewise.
53590         (atomic_add_zero): Likewise.
53592 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53594         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53595         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53596         (add_fdes): Likewise.
53597         (linear_search_fdes): Likewise.
53598         (binary_search_unencoded_fdes): Likewise.
53600 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53602         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53604 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53606         * configure.in: Autodetect C++ header directories.
53607         * configure: Regenerated.
53609 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53611         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53613 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53617 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53619         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53620         LDBL_MANT_DIG == 106]: Disable some tests.
53621         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53622         Likewise.
53623         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53624         Likewise.
53626         [BZ #14871]
53627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53628         input for small inputs.  Return +/- pi/2 for large inputs.
53629         * math/libm-test.inc (atan_test): Add more tests.
53631         * sysdeps/generic/unwind-dw2-fde-glibc.c
53632         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53633         __attribute__ ((unused)).
53635         [BZ #14645]
53636         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53637         x * y if x and y are nonzero and z is zero.
53639         [BZ #14811]
53640         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53641         nonzero exponents with absolute value below 0x1p-117 to +/-
53642         0x1p-117.
53644         [BZ #14869]
53645         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53646         up arguments below 2**-450, not just those below 2**-500.
53647         * math/libm-test.inc (hypot_test): Add another test.
53649         [BZ #14868]
53650         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53651         Return a+b for ratio over 2**120, not 2**60.
53652         * math/libm-test.inc (hypot_test): Add another test.
53654         * math/libm-test.inc (clog_test): Use
53655         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53656         (clog10_test): Likewise.
53658         [BZ #6778]
53659         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53661 2012-11-22  Andreas Schwab  <schwab@suse.de>
53663         * sysdeps/i386/fpu/libm-test-ulps: Update.
53665 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53667         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53668         printf output with newline.
53670 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53672         [BZ #14865]
53673         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53674         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53675         -z nodlopen, -z initfirst and -z execstack support.
53676         * configure: Regenerated.
53678         * elf/elf.h (DF_1_NODIRECT): New macro.
53679         (DF_1_IGNMULDEF): Likewise.
53680         (DF_1_NOKSYMS): Likewise.
53681         (DF_1_NOHDR): Likewise.
53682         (DF_1_EDITED): Likewise.
53683         (DF_1_NORELOC): Likewise.
53684         (DF_1_SYMINTPOSE): Likewise.
53685         (DF_1_GLOBAUDIT): Likewise.
53686         (DF_1_SINGLETON): Likewise.
53687         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53688         DT_1_SUPPORTED_MASK bits.
53689         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53691 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53693         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53695 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53697         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53698         macro.
53700         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53701         (sendmmsg): Move declarations...
53702         * socket/sys/socket.h: ... here.
53703         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53704         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53705         include it from...
53706         * socket/recvmmsg.c: ... this new file.
53707         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53708         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53709         definition of __sendmmsg hidden.
53710         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53711         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53712         Move ENOSYS stub into and include it from...
53713         * socket/sendmmsg.c: ... this new file.
53714         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53715         (sysdep_routines): Move recvmmsg and sendmmsg...
53716         * socket/Makefile (routines): ... here.
53717         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53718         (GLIBC_PRIVATE): Add __sendmmsg.
53719         * include/sys/socket.h (__sendmmsg): Add declarations.
53720         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53721         sendmmsg.
53723 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53726         variable I1 with __attribute__ ((unused)).
53727         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53729 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53731         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53732         DUMMY variables with __attribute__ ((unused)).
53734         * bits/byteswap.h: Include <bits/types.h>.
53735         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53737 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53739         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53740         string_t.  Do not manually set errno.
53741         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53742         length with __strnlen.  Make sure to both set errno and return it on
53743         failure.
53745 2012-11-19  David S. Miller  <davem@davemloft.net>
53747         With help from Joseph Myers.
53748         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53749         very large arguments properly.
53750         * math/libm-test.inc (atan_test): New tests.
53751         (atan2_test): New tests.
53752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53755 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53757         [BZ #14856]
53758         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53759         Define to 3.
53761         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53762         [POSIX] (EADDRNOTAVAIL): Likewise.
53763         [POSIX] (EAFNOSUPPORT): Likewise.
53764         [POSIX] (EALREADY): Likewise.
53765         [POSIX] (ECONNABORTED): Likewise.
53766         [POSIX] (ECONNREFUSED): Likewise.
53767         [POSIX] (ECONNRESET): Likewise.
53768         [POSIX] (EDESTADDRREQ): Likewise.
53769         [POSIX] (EDQUOT): Likewise.
53770         [POSIX] (EHOSTUNREACH): Likewise.
53771         [POSIX] (EIDRM): Likewise.
53772         [POSIX] (EISCONN): Likewise.
53773         [POSIX] (ELOOP): Likewise.
53774         [POSIX] (EMULTIHOP): Likewise.
53775         [POSIX] (ENETDOWN): Likewise.
53776         [POSIX] (ENETUNREACH): Likewise.
53777         [POSIX] (ENOBUFS): Likewise.
53778         [POSIX] (ENODATA): Likewise.
53779         [POSIX] (ENOLINK): Likewise.
53780         [POSIX] (ENOMSG): Likewise.
53781         [POSIX] (ENOPROTOOPT): Likewise.
53782         [POSIX] (ENOSR): Likewise.
53783         [POSIX] (ENOSTR): Likewise.
53784         [POSIX] (ENOTCONN): Likewise.
53785         [POSIX] (ENOTSOCK): Likewise.
53786         [POSIX] (EOPNOTSUPP): Likewise.
53787         [POSIX] (EOVERFLOW): Likewise.
53788         [POSIX] (EPROTO): Likewise.
53789         [POSIX] (EPROTONOSUPPORT): Likewise.
53790         [POSIX] (EPROTOTYPE): Likewise.
53791         [POSIX] (ESTALE): Likewise.
53792         [POSIX] (ETIME): Likewise.
53793         [POSIX] (ETXTBSY): Likewise.
53794         [POSIX] (EWOULDBLOCK): Likewise.
53795         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53796         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53797         [POSIX] (SEEK_CUR): Likewise.
53798         [POSIX] (SEEK_END): Likewise.
53799         [POSIX || UNIX98] (mode_t): Do not require.
53800         [POSIX] (off_t): Likewise.
53801         [POSIX] (pid_t): Likewise.
53802         [POSIX] (sys/stat.h): Do not allow header.
53803         [POSIX] (unistd.h): Likewise.
53804         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53805         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53806         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53807         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53808         require.
53809         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53810         sigevent): Specify elements.
53811         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53812         entry.
53813         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53814         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53816         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53817         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53818         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53819         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53820         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53821         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53822         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53823         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53824         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53825         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53826         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53827         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53828         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53829         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53830         Likewise.
53831         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53832         Likewise.
53833         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53834         Likewise.
53835         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53836         Likewise.
53837         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53838         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53839         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53840         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53841         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53842         Specify lower bound on value.
53843         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53844         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53845         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53846         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53847         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53849         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53850         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53851         value.
53852         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53853         as optional.
53854         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53855         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53856         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53857         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53858         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53859         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53860         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53861         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53862         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53863         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53864         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53865         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53866         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53867         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53868         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53869         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53870         entry.
53871         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53872         optional.
53873         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53874         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53875         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53876         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53877         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53878         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53879         Likewise.
53880         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53881         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53882         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53883         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53884         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53885         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53886         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53887         as optional.
53888         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53889         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53891         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53892         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53893         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53894         specify as optional.
53895         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53896         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53897         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53898         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53899         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53900         [XPG3] (NL_LANGMAX): Likewise.
53901         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53902         [POSIX || XPG3] (NL_NMAX): Likewise.
53903         [POSIX || XPG3] (NL_SETMAX): Likewise.
53904         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53905         [XPG3] (NZERO): Likewise.
53906         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53907         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53908         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53909         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53910         (REG_ERANGE): Expect.
53911         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53912         optional-constant.
53913         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53914         Use (void) in prototype.
53915         [POSIX] (*_t): Allow.
53916         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53917         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53918         (WRDE_BADVAL): Expect.
53920         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53921         expect.
53922         [XPG3 || XPG4] (O_RSYNC): Likewise.
53923         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53924         Likewise.
53925         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53926         [XPG3 || XPG4] (sigqueue): Likewise.
53927         [XPG3 || XPG4] (sigtimedwait): Likewise.
53928         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53929         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53930         [XPG3 || XPG4] (vsnprintf): Likewise.
53931         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53932         Likewise.
53933         [XPG3 || XPG4] (blksize_t): Likewise.
53934         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53935         Likewise.
53936         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53937         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53938         [XPG3 || XPG4] (struct itimerspec): Likewise.
53939         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53940         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53941         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53942         [XPG3 || XPG4] (clockid_t): Likewise.
53943         [XPG3 || XPG4] (timer_t): Likewise.
53944         [XPG3 || XPG4] (clock_getres): Likewise.
53945         [XPG3 || XPG4] (clock_gettime): Likewise.
53946         [XPG3 || XPG4] (clock_settime): Likewise.
53947         [XPG3 || XPG4] (nanosleep): Likewise.
53948         [XPG3 || XPG4] (timer_create): Likewise.
53949         [XPG3 || XPG4] (timer_delete): Likewise.
53950         [XPG3 || XPG4] (timer_gettime): Likewise.
53951         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53952         [XPG3 || XPG4] (timer_settime): Likewise.
53953         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53954         [XPG3 || XPG4] (getlogin_r): Likewise.
53955         [XPG3 || XPG4] (pread): Likewise.
53956         [XPG3 || XPG4] (pthread_atfork): Likewise.
53957         [XPG3 || XPG4] (pwrite): Likewise.
53959         [BZ #14835]
53960         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53961         <bits/siginfo.h>.
53963 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53965         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53966         finalizing MALLSTREAM.
53968         * sysdeps/mach/hurd/syncfs.c: New file.
53970 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53972         [BZ #14719]
53973         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53974         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53975         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53976         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53977         (_nss_dns_gethostbyname4_r): Likewise.
53978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53979         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53981 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53983         [BZ #13763]
53984         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53986 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53988         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53989         * elf/cache.c (print_entry): Print ",AArch64" for
53990         FLAG_AARCH64_LIB64
53992         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53993         * elf/cache.c (print_entry): Print ",hard-float" for
53994         FLAG_ARM_LIBHF.
53996 2012-11-18  David S. Miller  <davem@davemloft.net>
53998         With help from Joseph Myers.
53999         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54000         cutoff to 2**-13.
54001         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54002         cutoff to 2**-25.
54003         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54004         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54005         small.
54006         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54007         * math/libm-test.inc (y0_test): New tests.
54008         (y1_test): New tests.
54009         * sysdeps/i386/fpu/libm-test-ulps: Update.
54010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54013 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54015         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54016         64-bit targets.
54017         * configure: Regenerated.
54019 2012-11-17  David S. Miller  <davem@davemloft.net>
54021         [BZ #14811]
54022         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54023         nonzero exponents with absolute value below 0x1p-128 to +/-
54024         0x1p-128.
54026 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54028         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54030         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54032         * posix/getconf-speclist.c: New file.
54033         * posix/posix-envs.def: Likewise.
54034         * posix/confstr.c (START_ENV_GROUP): New macro.
54035         (END_ENV_GROUP): Likewise.
54036         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54037         (KNOWN_PRESENT_ENV_STRING): Likewise.
54038         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54039         (UNKNOWN_ENVIRONMENT): Likewise.
54040         (confstr): Include posix-envs.def instead of handling
54041         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54042         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54043         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54044         (END_ENV_GROUP): Likewise.
54045         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54046         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54047         (UNKNOWN_ENVIRONMENT): Likewise.
54048         (__sysconf): Include posix-envs.def instead of handling associated
54049         cases directly here.
54050         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54051         preprocessing getconf-speclist.c rather than running getconf or
54052         generating empty file.
54054 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54056         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54058 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54060         [BZ #14672]
54061         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54063 2012-11-16  David S. Miller  <davem@davemloft.net>
54065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54066         smaller than LDBL_EPSILON/2.0L, just return xm1.
54068 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54070         * elf/tst-array1.c (init): Set constructor priority to 1000.
54071         (fini): Set destructor priority to 1000.
54072         * elf/tst-array2dep.c: Likewise.
54074 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54076         [BZ #11741]
54077         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54078         (_IO_new_file_xsputn): Also return EOF if none of the input
54079         data was written when overflow failed.
54080         * libio/iopadn.c (_IO_padn): Likewise.
54081         * libio/iowpadn.c (_IO_wpadn): Likewise.
54082         * stdio-common/tst-put-error.c: Add copyright notice.
54083         (do_test): Add case for printing padded string.
54084         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54085         _IO_padn returned error.
54086         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54087         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54088         return EOF.
54090 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54092         * libio/libioP.h: Add comment note that the references to C++
54093         bits are now obsolete.
54095 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54097         * math/libm-test.inc (check_complex): Use asprintf.
54099 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54101         * debug/pcprofiledump.c (print_version): Update copyright year.
54102         * malloc/memusagestat.c (print_version): Likewise.
54104 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54106         [BZ #14831]
54107         * elf/Makefile (tests): Add tst-audit8.
54108         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54109         ($(objpfx)tst-audit8.out): New target.
54110         (tst-audit8-ENV): New variable.
54111         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54112         audit if l_reloc_result is NULL.
54113         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54114         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54115         * elf/tst-audit8.c: New file.
54117 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54119         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54120         * misc/Makefile (CFLAGS-select.c): Define.
54121         * posix/Makefile (CFLAGS-pause.c): Define.
54123 2012-11-13  David S. Miller  <davem@davemloft.net>
54125         * crypt/Makefile: Move test targets after toplevel Rules
54126         inclusion.  Grab any necessary sysdep routines when linking.
54127         * crypt/md5.c (md5_process_block): Remove define, we will always
54128         name it __md5_process_block.
54129         (md5_finish_ctx): Update md5_process_block call.
54130         (md5_stream): Likewise.
54131         (md5_process_bytes): Likewise.
54132         (md5_process_block): Rename to __md5_process_block and move to ...
54133         * crypt/md5-block.c: ... here.
54134         * crypt/sha256.c (sha256_process_block): Move to ...
54135         * crypt/sha256-block.c: ... here.
54136         * crypt/sha512.c (sha512_process_block): Move to ...
54137         * crypt/sha512-block.c: ... here.
54138         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54139         path.
54140         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54141         * sysdeps/sparc/sparc64/multiarch/Makefile
54142         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54143         crypt subdir.
54144         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54145         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54146         multiarch changes.
54147         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54148         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54149         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54150         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54151         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54152         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54153         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54154         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54155         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54156         file.
54157         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54158         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54159         file.
54160         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54162 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54164         * timezone/tzselect.ksh: Update from tzcode git revision
54165         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54166         * timezone/zdump.c: Likewise.
54167         * timezone/zic.c: Likewise.
54168         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54169         in TZVERSION setting, not $(PKGVERSION).
54170         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54171         REPORT_BUGS_TO settings.
54173         [BZ #14838]
54174         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54175         macro.
54177 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54179         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54180         detection to immediately after _FP_ROUND().
54181         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54182         bits are 0.
54184 2012-11-11  David S. Miller  <davem@davemloft.net>
54186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54187         inttypes.h
54188         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54189         __close rather than their public counterparts.
54191 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54193         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54194         file.
54195         [UNIX98] (sem_timedwait): Do not expect.
54196         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54197         [XPG4 || UNIX98] (sockatmark): Do not expect.
54198         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54199         (clock_getcpuclockid): Do not expect.
54200         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54201         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54202         Do not expect.
54203         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54204         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54205         [UNIX98] (vwscanf): Likewise.
54206         [UNIX98] (vswscanf): Likewise.
54208 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54210         * timezone/version.h: Remove file.
54211         * timezone/README: Do not refer to version.h.
54212         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54213         $(objpfx)version.h.
54214         ($(objpfx)zdump.o): Likewise.
54215         ($(objpfx)version.h): New target.
54217         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54218         2012i.
54219         * timezone/README: Don't mention modification to tzselect.ksh.
54220         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54221         work on unmodified tzselect.ksh.  Substitute version numbers in
54222         tzselect.ksh.
54224         * Makefile (format-me): Remove.
54225         (INSTALL): Adjust indentation.  Use commands directly instead of
54226         using $(format-me).
54228         * aclocal.m4 (ACX_PKGVERSION): New macro.
54229         (ACX_BUGURL): Likewise.
54230         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54231         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54232         (REPORT_BUGS_TO): Likewise.
54233         * configure: Regenerated.
54234         * config.h.in (PKGVERSION): New macro.
54235         (REPORT_BUGS_TO): Likewise.
54236         * config.make.in (PKGVERSION): New variable.
54237         (PKGVERSION_TEXI): Likewise.
54238         (REPORT_BUGS_TO): Likewise.
54239         (REPORT_BUGS_TEXI): Likewise.
54240         * Makefile (format-me): Use -I$(common-objpfx)manual.
54241         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54242         ($(common-objpfx)manual/%): New target.
54243         (manual/%): Remove target.
54244         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54245         (print_version): Use PKGVERSION.
54246         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54247         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54248         and REPORT_BUGS_TO.
54249         ($(objpfx)xtrace): Likewise.
54250         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54251         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54252         (print_version): Use PKGVERSION.
54253         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54254         (do_version): Use PKGVERSION.
54255         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54256         REPORT_BUGS_TO.
54257         (common-ldd-rewrite): Likewise.
54258         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54259         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54260         (print_version): Use PKGVERSION.
54261         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54262         * elf/pldd.c (argp_program_bug_address): Remove variable.
54263         (more_help): New function.
54264         (argp): Use more_help.
54265         (print_version): Use PKGVERSION.
54266         * elf/sln.c (main): Use PKGVERSION.
54267         (usage): Use REPORT_BUGS_TO.
54268         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54269         (top level): Use PKGVERSION.
54270         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54271         (print_version): Use PKGVERSION.
54272         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54273         (print_version): Use PKGVERSION.
54274         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54275         (print_version): Use PKGVERSION.
54276         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54277         (print_version): Use PKGVERSION.
54278         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54279         (print_version): Use PKGVERSION.
54280         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54281         (print_version): Use PKGVERSION.
54282         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54283         and BUGURL.
54284         ($(objpfx)memusage): Likewise.
54285         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54286         (do_version): Use PKGVERSION.
54287         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54288         (print_version): Use PKGVERSION.
54289         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54290         ($PKGVERSION): New variable.
54291         ($REPORT_BUGS_TO): Likewise.
54292         (usage): Use $REPORT_BUGS_TO.
54293         (top level): Use $PKGVERSION.
54294         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54295         ($(objpfx)pkgvers.texi): New rule.
54296         ($(objpfx)stamp-pkgvers): Likewise.
54297         * manual/install.texi: Include pkgvers.texi.
54298         (--with-pkgversion): Document new configure option.
54299         (--with-bugurl): Likewise.
54300         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54301         than necessarily for this particular distribution.  Use
54302         REPORT_BUGS_TO for where to report bugs.
54303         * INSTALL: Regenerated.
54304         * manual/libc.texinfo: Include pkgvers.texi.
54305         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54306         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54307         (print_version): Use PKGVERSION.
54308         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54309         (print_version): Use PKGVERSION.
54310         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54311         (print_version): Use PKGVERSION.
54312         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54313         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54314         macro.
54315         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54316         (print_version): Use PKGVERSION.
54317         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54318         (print_version): Use PKGVERSION.
54319         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54320         and PKGVERSION.
54322         * timezone/checktab.awk: Update from tzcode 2012i.
54323         * timezone/ialloc.c: Likewise.
54324         * timezone/private.h: Likewise.
54325         * timezone/scheck.c: Likewise.
54326         * timezone/tzfile.h: Likewise.
54327         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54328         (TZVERSION): Hardcode tzcode version number.
54329         * timezone/zdump.c: Update from tzcode 2012i.
54330         * timezone/zic.c: Likewise.
54331         * timezone/version.h: New file.
54332         * timezone/README: Describe version.h.  Update upstream location.
54334         [BZ #14824]
54335         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54336         (mktemp): Enable declaration.
54337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54341         Likewise.
54342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54343         Likewise.
54344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54345         Likewise.
54346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54347         Likewise.
54348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54349         Likewise.
54350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54351         Likewise.
54353         [BZ #14821]
54354         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54355         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54356         for copies of such integer values.
54357         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54358         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54360 2012-11-09  Andreas Jaeger  <aj@suse.de>
54362         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54363         definitions and declarations that are provided by
54364         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54366 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54368         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54369         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54370         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54371         definition.
54373 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54375         * elf/elf.h: Update comment before AArch64 relocations.
54377 2012-11-07  David S. Miller  <davem@davemloft.net>
54379         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54380         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54381         (__start_context): Declare.
54382         (__makecontext_ret): Delete.
54383         (__makecontext): Hook up __start_context instead of
54384         __makecontext_ret.
54385         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54386         (sysdep_routines): Add __start_context when in stdlib.
54388 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54390         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54391         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54392         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54393         hardcoded "nm".
54394         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54395         (READELF): New variable.  Use it instead of hardcoded "readelf".
54397 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54399         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54400         * sysdeps/x86/Makefile: Here.
54401         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54402         * sysdeps/x86/tst-xmmymm.sh: This.
54404 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54406         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54407         expectations.
54408         [UNIX98] (pthread_barrier_t): Do not expect.
54409         [UNIX98] (pthread_barrierattr_t): Likewise.
54410         [UNIX98] (pthread_spinlock_t): Likewise.
54411         [UNIX98] (pthread_barrier_destroy): Likewise.
54412         [UNIX98] (pthread_barrier_init): Likewise.
54413         [UNIX98] (pthread_barrier_wait): Likewise.
54414         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54415         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54416         [UNIX98] (pthread_barrierattr_init): Likewise.
54417         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54418         [UNIX98] (pthread_getcpuclockid): Likewise.
54419         [UNIX98] (pthread_mutex_timedlock): Likewise.
54420         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54421         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54422         [UNIX98] (pthread_sigmask): Likewise.
54423         [UNIX98] (pthread_spin_destroy): Likewise.
54424         [UNIX98] (pthread_spin_init): Likewise.
54425         [UNIX98] (pthread_spin_lock): Likewise.
54426         [UNIX98] (pthread_spin_trylock): Likewise.
54427         [UNIX98] (pthread_spin_unlock): Likewise.
54428         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54429         Do not expect.
54430         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54431         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54432         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54433         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54434         [XPG3 || XPG4] (pthread_key_t): Likewise.
54435         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54436         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54437         [XPG3 || XPG4] (pthread_once_t): Likewise.
54438         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54439         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54440         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54441         [XPG3 || XPG4] (pthread_t): Likewise.
54443         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54444         not expect.
54445         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54447         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54448         Change function return type to int.
54450         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54451         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54452         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54453         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54454         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54455         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54456         [!POSIX] (posix_madvise): Likewise.
54457         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54458         && !UNIX98].
54459         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54460         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54461         (mode_t): Likewise.
54462         (posix_mem_offset): Likewise.
54463         (posix_typed_mem_get_info): Likewise.
54464         (posix_typed_mem_open): Likewise.
54466         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54467         Change condition to [XOPEN2K8].
54469         * conform/conformtest.pl: Preprocess allow-header data with -x c
54470         instead of from stdin.
54471         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54472         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54473         [C99-based standards] (cerfc): Likewise.
54474         [C99-based standards] (cexp2): Likewise.
54475         [C99-based standards] (cexpm1): Likewise.
54476         [C99-based standards] (clog10): Likewise.
54477         [C99-based standards] (clog1p): Likewise.
54478         [C99-based standards] (clog2): Likewise.
54479         [C99-based standards] (clgamma): Likewise.
54480         [C99-based standards] (ctgamma): Likewise.
54481         [C99-based standards] (cerff): Likewise.
54482         [C99-based standards] (cerfcf): Likewise.
54483         [C99-based standards] (cexp2f): Likewise.
54484         [C99-based standards] (cexpm1f): Likewise.
54485         [C99-based standards] (clog10f): Likewise.
54486         [C99-based standards] (clog1pf): Likewise.
54487         [C99-based standards] (clog2f): Likewise.
54488         [C99-based standards] (clgammaf): Likewise.
54489         [C99-based standards] (ctgammaf): Likewise.
54490         [C99-based standards] (cerfl): Likewise.
54491         [C99-based standards] (cerfcl): Likewise.
54492         [C99-based standards] (cexp2l): Likewise.
54493         [C99-based standards] (cexpm1l): Likewise.
54494         [C99-based standards] (clog10l): Likewise.
54495         [C99-based standards] (clog1pl): Likewise.
54496         [C99-based standards] (clog2l): Likewise.
54497         [C99-based standards] (clgammal): Likewise.
54498         [C99-based standards] (ctgammal): Likewise.
54499         * conform/data/inttypes.h-data [C99-based standards]: Include
54500         stdint.h-data.  Remove all expectations for stdint.h contents.
54501         [C99-based standards] (PRI*): Do not allow.
54502         [C99-based standards] (SCN*): Likewise.
54503         [C99-based standards] (*_t): Likewise.
54504         [C99-based-standards] (PRId8): Expect macro.
54505         [C99-based-standards] (PRIi8): Likewise.
54506         [C99-based-standards] (PRIo8): Likewise.
54507         [C99-based-standards] (PRIu8): Likewise.
54508         [C99-based-standards] (PRIx8): Likewise.
54509         [C99-based-standards] (PRIX8): Likewise.
54510         [C99-based-standards] (SCNd8): Likewise.
54511         [C99-based-standards] (SCNi8): Likewise.
54512         [C99-based-standards] (SCNo8): Likewise.
54513         [C99-based-standards] (SCNu8): Likewise.
54514         [C99-based-standards] (SCNx8): Likewise.
54515         [C99-based-standards] (PRIdLEAST8): Likewise.
54516         [C99-based-standards] (PRIiLEAST8): Likewise.
54517         [C99-based-standards] (PRIoLEAST8): Likewise.
54518         [C99-based-standards] (PRIuLEAST8): Likewise.
54519         [C99-based-standards] (PRIxLEAST8): Likewise.
54520         [C99-based-standards] (PRIXLEAST8): Likewise.
54521         [C99-based-standards] (SCNdLEAST8): Likewise.
54522         [C99-based-standards] (SCNiLEAST8): Likewise.
54523         [C99-based-standards] (SCNoLEAST8): Likewise.
54524         [C99-based-standards] (SCNuLEAST8): Likewise.
54525         [C99-based-standards] (SCNxLEAST8): Likewise.
54526         [C99-based-standards] (PRIdFAST8): Likewise.
54527         [C99-based-standards] (PRIiFAST8): Likewise.
54528         [C99-based-standards] (PRIoFAST8): Likewise.
54529         [C99-based-standards] (PRIuFAST8): Likewise.
54530         [C99-based-standards] (PRIxFAST8): Likewise.
54531         [C99-based-standards] (PRIXFAST8): Likewise.
54532         [C99-based-standards] (SCNdFAST8): Likewise.
54533         [C99-based-standards] (SCNiFAST8): Likewise.
54534         [C99-based-standards] (SCNoFAST8): Likewise.
54535         [C99-based-standards] (SCNuFAST8): Likewise.
54536         [C99-based-standards] (SCNxFAST8): Likewise.
54537         [C99-based-standards] (PRId16): Likewise.
54538         [C99-based-standards] (PRIi16): Likewise.
54539         [C99-based-standards] (PRIo16): Likewise.
54540         [C99-based-standards] (PRIu16): Likewise.
54541         [C99-based-standards] (PRIx16): Likewise.
54542         [C99-based-standards] (PRIX16): Likewise.
54543         [C99-based-standards] (SCNd16): Likewise.
54544         [C99-based-standards] (SCNi16): Likewise.
54545         [C99-based-standards] (SCNo16): Likewise.
54546         [C99-based-standards] (SCNu16): Likewise.
54547         [C99-based-standards] (SCNx16): Likewise.
54548         [C99-based-standards] (PRIdLEAST16): Likewise.
54549         [C99-based-standards] (PRIiLEAST16): Likewise.
54550         [C99-based-standards] (PRIoLEAST16): Likewise.
54551         [C99-based-standards] (PRIuLEAST16): Likewise.
54552         [C99-based-standards] (PRIxLEAST16): Likewise.
54553         [C99-based-standards] (PRIXLEAST16): Likewise.
54554         [C99-based-standards] (SCNdLEAST16): Likewise.
54555         [C99-based-standards] (SCNiLEAST16): Likewise.
54556         [C99-based-standards] (SCNoLEAST16): Likewise.
54557         [C99-based-standards] (SCNuLEAST16): Likewise.
54558         [C99-based-standards] (SCNxLEAST16): Likewise.
54559         [C99-based-standards] (PRIdFAST16): Likewise.
54560         [C99-based-standards] (PRIiFAST16): Likewise.
54561         [C99-based-standards] (PRIoFAST16): Likewise.
54562         [C99-based-standards] (PRIuFAST16): Likewise.
54563         [C99-based-standards] (PRIxFAST16): Likewise.
54564         [C99-based-standards] (PRIXFAST16): Likewise.
54565         [C99-based-standards] (SCNdFAST16): Likewise.
54566         [C99-based-standards] (SCNiFAST16): Likewise.
54567         [C99-based-standards] (SCNoFAST16): Likewise.
54568         [C99-based-standards] (SCNuFAST16): Likewise.
54569         [C99-based-standards] (SCNxFAST16): Likewise.
54570         [C99-based-standards] (PRId32): Likewise.
54571         [C99-based-standards] (PRIi32): Likewise.
54572         [C99-based-standards] (PRIo32): Likewise.
54573         [C99-based-standards] (PRIu32): Likewise.
54574         [C99-based-standards] (PRIx32): Likewise.
54575         [C99-based-standards] (PRIX32): Likewise.
54576         [C99-based-standards] (SCNd32): Likewise.
54577         [C99-based-standards] (SCNi32): Likewise.
54578         [C99-based-standards] (SCNo32): Likewise.
54579         [C99-based-standards] (SCNu32): Likewise.
54580         [C99-based-standards] (SCNx32): Likewise.
54581         [C99-based-standards] (PRIdLEAST32): Likewise.
54582         [C99-based-standards] (PRIiLEAST32): Likewise.
54583         [C99-based-standards] (PRIoLEAST32): Likewise.
54584         [C99-based-standards] (PRIuLEAST32): Likewise.
54585         [C99-based-standards] (PRIxLEAST32): Likewise.
54586         [C99-based-standards] (PRIXLEAST32): Likewise.
54587         [C99-based-standards] (SCNdLEAST32): Likewise.
54588         [C99-based-standards] (SCNiLEAST32): Likewise.
54589         [C99-based-standards] (SCNoLEAST32): Likewise.
54590         [C99-based-standards] (SCNuLEAST32): Likewise.
54591         [C99-based-standards] (SCNxLEAST32): Likewise.
54592         [C99-based-standards] (PRIdFAST32): Likewise.
54593         [C99-based-standards] (PRIiFAST32): Likewise.
54594         [C99-based-standards] (PRIoFAST32): Likewise.
54595         [C99-based-standards] (PRIuFAST32): Likewise.
54596         [C99-based-standards] (PRIxFAST32): Likewise.
54597         [C99-based-standards] (PRIXFAST32): Likewise.
54598         [C99-based-standards] (SCNdFAST32): Likewise.
54599         [C99-based-standards] (SCNiFAST32): Likewise.
54600         [C99-based-standards] (SCNoFAST32): Likewise.
54601         [C99-based-standards] (SCNuFAST32): Likewise.
54602         [C99-based-standards] (SCNxFAST32): Likewise.
54603         [C99-based-standards] (PRId64): Likewise.
54604         [C99-based-standards] (PRIi64): Likewise.
54605         [C99-based-standards] (PRIo64): Likewise.
54606         [C99-based-standards] (PRIu64): Likewise.
54607         [C99-based-standards] (PRIx64): Likewise.
54608         [C99-based-standards] (PRIX64): Likewise.
54609         [C99-based-standards] (SCNd64): Likewise.
54610         [C99-based-standards] (SCNi64): Likewise.
54611         [C99-based-standards] (SCNo64): Likewise.
54612         [C99-based-standards] (SCNu64): Likewise.
54613         [C99-based-standards] (SCNx64): Likewise.
54614         [C99-based-standards] (PRIdLEAST64): Likewise.
54615         [C99-based-standards] (PRIiLEAST64): Likewise.
54616         [C99-based-standards] (PRIoLEAST64): Likewise.
54617         [C99-based-standards] (PRIuLEAST64): Likewise.
54618         [C99-based-standards] (PRIxLEAST64): Likewise.
54619         [C99-based-standards] (PRIXLEAST64): Likewise.
54620         [C99-based-standards] (SCNdLEAST64): Likewise.
54621         [C99-based-standards] (SCNiLEAST64): Likewise.
54622         [C99-based-standards] (SCNoLEAST64): Likewise.
54623         [C99-based-standards] (SCNuLEAST64): Likewise.
54624         [C99-based-standards] (SCNxLEAST64): Likewise.
54625         [C99-based-standards] (PRIdFAST64): Likewise.
54626         [C99-based-standards] (PRIiFAST64): Likewise.
54627         [C99-based-standards] (PRIoFAST64): Likewise.
54628         [C99-based-standards] (PRIuFAST64): Likewise.
54629         [C99-based-standards] (PRIxFAST64): Likewise.
54630         [C99-based-standards] (PRIXFAST64): Likewise.
54631         [C99-based-standards] (SCNdFAST64): Likewise.
54632         [C99-based-standards] (SCNiFAST64): Likewise.
54633         [C99-based-standards] (SCNoFAST64): Likewise.
54634         [C99-based-standards] (SCNuFAST64): Likewise.
54635         [C99-based-standards] (SCNxFAST64): Likewise.
54636         [C99-based-standards] (PRIdMAX): Likewise.
54637         [C99-based-standards] (PRIiMAX): Likewise.
54638         [C99-based-standards] (PRIoMAX): Likewise.
54639         [C99-based-standards] (PRIuMAX): Likewise.
54640         [C99-based-standards] (PRIxMAX): Likewise.
54641         [C99-based-standards] (PRIXMAX): Likewise.
54642         [C99-based-standards] (SCNdMAX): Likewise.
54643         [C99-based-standards] (SCNiMAX): Likewise.
54644         [C99-based-standards] (SCNoMAX): Likewise.
54645         [C99-based-standards] (SCNuMAX): Likewise.
54646         [C99-based-standards] (SCNxMAX): Likewise.
54647         [C99-based-standards] (PRIdPTR): Likewise.
54648         [C99-based-standards] (PRIiPTR): Likewise.
54649         [C99-based-standards] (PRIoPTR): Likewise.
54650         [C99-based-standards] (PRIuPTR): Likewise.
54651         [C99-based-standards] (PRIxPTR): Likewise.
54652         [C99-based-standards] (PRIXPTR): Likewise.
54653         [C99-based-standards] (SCNdPTR): Likewise.
54654         [C99-based-standards] (SCNiPTR): Likewise.
54655         [C99-based-standards] (SCNoPTR): Likewise.
54656         [C99-based-standards] (SCNuPTR): Likewise.
54657         [C99-based-standards] (SCNxPTR): Likewise.
54658         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54659         allow.
54660         * conform/data/stdint.h-data: Update comments to clarify
54661         requirements.
54662         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54663         type.
54664         [C99-based standards] (INT8_MAX): Likewise.
54665         [C99-based standards] (INT16_MIN): Likewise.
54666         [C99-based standards] (INT16_MAX): Likewise.
54667         [C99-based standards] (INT32_MIN): Likewise.
54668         [C99-based standards] (INT32_MAX): Likewise.
54669         [C99-based standards] (INT64_MIN): Likewise.
54670         [C99-based standards] (INT64_MAX): Likewise.
54671         [C99-based standards] (UINT8_MAX): Likewise.
54672         [C99-based standards] (UINT16_MAX): Likewise.
54673         [C99-based standards] (UINT32_MAX): Likewise.
54674         [C99-based standards] (UINT64_MAX): Likewise.
54675         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54676         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54677         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54678         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54679         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54680         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54681         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54682         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54683         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54684         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54685         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54686         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54687         [C99-based standards] (INT_FAST8_MIN): Likewise.
54688         [C99-based standards] (INT_FAST8_MAX): Likewise.
54689         [C99-based standards] (INT_FAST16_MIN): Likewise.
54690         [C99-based standards] (INT_FAST16_MAX): Likewise.
54691         [C99-based standards] (INT_FAST32_MIN): Likewise.
54692         [C99-based standards] (INT_FAST32_MAX): Likewise.
54693         [C99-based standards] (INT_FAST64_MIN): Likewise.
54694         [C99-based standards] (INT_FAST64_MAX): Likewise.
54695         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54696         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54697         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54698         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54699         [C99-based standards] (INTPTR_MIN): Likewise.
54700         [C99-based standards] (INTPTR_MAX): Likewise.
54701         [C99-based standards] (UINTPTR_MAX): Likewise.
54702         [C99-based standards] (INTMAX_MIN): Likewise.
54703         [C99-based standards] (INTMAX_MAX): Likewise.
54704         [C99-based standards] (UINTMAX_MAX): Likewise.
54705         [C99-based standards] (PTRDIFF_MIN): Likewise.
54706         [C99-based standards] (PTRDIFF_MAX): Likewise.
54707         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54708         [C99-based standards] (SIZE_MAX): Likewise.
54709         [C99-based standards] (WCHAR_MAX): Likewise.
54710         [C99-based standards] (WINT_MAX): Likewise.
54711         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54712         constraint on value.
54713         [C99-based standards] (WCHAR_MIN): Likewise.
54714         [C99-based standards] (WINT_MIN): Likewise.
54715         [C99-based standards] (*_t): Allow.
54716         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54717         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54718         Include math.h-data and complex.h-data.  Remove all expectations
54719         of math.h and complex.h contents.
54720         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54721         at end of line.
54722         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54723         (struct tm): Expect tag.
54724         [C99-based-standards] (wcstof): Expect function.
54725         [C99-based-standards] (wcstold): Likewise.
54726         [C99-based-standards] (wcstoll): Likewise.
54727         [C99-based-standards] (wcstoull): Likewise.
54728         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54729         macro-int-constant.  Specify type.
54730         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54731         constraint on value.
54732         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54733         Specify type.
54734         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54735         Specify value.
54736         [ISO C standards]: Do not allow headers.
54737         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54738         wcs[abcdefghijklmnopqrstuvwxyz]*.
54739         [ISO C standards] (*_t): Do not allow.
54740         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54741         Expect function.
54742         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54743         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54744         Specify type.
54745         [ISO C standards]: Do not allow headers.
54746         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54747         is[abcdefghijklmnopqrstuvwxyz]*.
54748         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54749         to[abcdefghijklmnopqrstuvwxyz]*.
54750         [ISO C standards] (*_t): Do not allow.
54751         * conform/data/stdalign.h-data: New file.
54752         * conform/data/stdbool.h-data: Likewise.
54753         * conform/data/stdnoreturn.h-data: Likewise.
54755 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54757         [BZ #14815]
54758         * manual/filesys.texi (Directory Entries): Typo fix.
54759         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54761 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54763         * elf/elf.h (EM_AARCH64): New macro.
54764         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54765         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54766         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54767         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54768         (R_AARCH64_TLSDESC): Likewise.
54769         (NT_ARM_TLS): Likewise.
54770         (NT_ARM_HW_BREAK): Likewise.
54771         (NT_ARM_HW_WATCH): Likewise.
54773 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54775         [BZ #14811]
54776         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54777         (__ieee754_powl): Saturate nonzero exponents with absolute value
54778         below 0x1p-79 to +/- 0x1p-79.
54779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54780         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54781         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54782         nonzero exponents with absolute value below 0x1p-32 to +/-
54783         0x1p-32.
54784         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54785         (__ieee754_powl): Saturate nonzero exponents with absolute value
54786         below 0x1p-79 to +/- 0x1p-79.
54787         * math/libm-test.inc (pow_test): Add more tests.
54789 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54791         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54792         _dl_s390_cap_flags with kernel. Increase string length.
54793         (_dl_s390_platforms): Add z196 and zEC12.
54795 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54797         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54798         Change XOPEN21K to XOPEN2K.
54800 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54802         * string/memmove.c: Use memcpy when possible.
54804 2012-11-06  Andreas Jaeger  <aj@suse.de>
54806         * po/eo.po: Update from translation team.
54808 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54810         [BZ #14793]
54811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54812         exponent and small x and y exponents, scale x or y up.  Increase
54813         by 2 the exponent used in scaling up.
54814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54816         * math/libm-test.inc (fma_test): Add more tests.
54817         (fma_test_towardzero): Likewise.
54818         (fma_test_downward): Likewise.
54819         (fma_test_upward): Likewise.
54821 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54823         [BZ #14805]
54824         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54825         fenv_t *.
54827         [BZ #14801]
54828         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54829         namespace for names of struct fields.
54830         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54831         fenv_t fields.
54832         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54833         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54835 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54837         [BZ #3665]
54838         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54840 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54842         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54843         PTR_DEMANGLE.
54845         [BZ #5246]
54846         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54847         PTR_DEMANGLE.
54849 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54851         [BZ #14797]
54852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54853         definitely overflow as x * y not x * y + z.
54854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54855         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54856         * math/libm-test.inc (fma_test): Add more tests.
54857         (fma_test_towardzero): Likewise.
54858         (fma_test_downward): Likewise.
54859         (fma_test_upward): Likewise.
54861 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54863         [BZ #157]
54865         * include/stub-tag.h: Remove file.
54866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54867         '#include' of it.
54868         * manual/maint.texi (Porting): Don't reference it.
54869         * Makerules ($(objpfx)stubs): Likewise.
54870         * dirent/closedir.c: Don't include <stub-tag.h>.
54871         * dirent/dirfd.c: Likewise.
54872         * dirent/fdopendir.c: Likewise.
54873         * dirent/getdents.c: Likewise.
54874         * dirent/getdents64.c: Likewise.
54875         * dirent/opendir.c: Likewise.
54876         * dirent/readdir.c: Likewise.
54877         * dirent/readdir64.c: Likewise.
54878         * dirent/readdir64_r.c: Likewise.
54879         * dirent/readdir_r.c: Likewise.
54880         * dirent/rewinddir.c: Likewise.
54881         * dirent/seekdir.c: Likewise.
54882         * dirent/telldir.c: Likewise.
54883         * gmon/profil.c: Likewise.
54884         * grp/setgroups.c: Likewise.
54885         * inet/if_index.c: Likewise.
54886         * io/access.c: Likewise.
54887         * io/chdir.c: Likewise.
54888         * io/chmod.c: Likewise.
54889         * io/chown.c: Likewise.
54890         * io/close.c: Likewise.
54891         * io/dup.c: Likewise.
54892         * io/dup2.c: Likewise.
54893         * io/dup3.c: Likewise.
54894         * io/euidaccess.c: Likewise.
54895         * io/faccessat.c: Likewise.
54896         * io/fchdir.c: Likewise.
54897         * io/fchmod.c: Likewise.
54898         * io/fchmodat.c: Likewise.
54899         * io/fchown.c: Likewise.
54900         * io/fchownat.c: Likewise.
54901         * io/fcntl.c: Likewise.
54902         * io/flock.c: Likewise.
54903         * io/fstatfs.c: Likewise.
54904         * io/fstatfs64.c: Likewise.
54905         * io/fstatvfs.c: Likewise.
54906         * io/fstatvfs64.c: Likewise.
54907         * io/futimens.c: Likewise.
54908         * io/fxstat.c: Likewise.
54909         * io/fxstat64.c: Likewise.
54910         * io/fxstatat.c: Likewise.
54911         * io/fxstatat64.c: Likewise.
54912         * io/getcwd.c: Likewise.
54913         * io/isatty.c: Likewise.
54914         * io/lchmod.c: Likewise.
54915         * io/lchown.c: Likewise.
54916         * io/link.c: Likewise.
54917         * io/linkat.c: Likewise.
54918         * io/lseek.c: Likewise.
54919         * io/lseek64.c: Likewise.
54920         * io/lxstat64.c: Likewise.
54921         * io/mkdir.c: Likewise.
54922         * io/mkdirat.c: Likewise.
54923         * io/mkfifo.c: Likewise.
54924         * io/mkfifoat.c: Likewise.
54925         * io/open.c: Likewise.
54926         * io/open64.c: Likewise.
54927         * io/openat.c: Likewise.
54928         * io/openat64.c: Likewise.
54929         * io/pipe.c: Likewise.
54930         * io/pipe2.c: Likewise.
54931         * io/poll.c: Likewise.
54932         * io/posix_fadvise.c: Likewise.
54933         * io/posix_fadvise64.c: Likewise.
54934         * io/posix_fallocate.c: Likewise.
54935         * io/posix_fallocate64.c: Likewise.
54936         * io/read.c: Likewise.
54937         * io/readlink.c: Likewise.
54938         * io/readlinkat.c: Likewise.
54939         * io/rmdir.c: Likewise.
54940         * io/sendfile.c: Likewise.
54941         * io/sendfile64.c: Likewise.
54942         * io/statfs.c: Likewise.
54943         * io/statfs64.c: Likewise.
54944         * io/statvfs.c: Likewise.
54945         * io/statvfs64.c: Likewise.
54946         * io/symlink.c: Likewise.
54947         * io/symlinkat.c: Likewise.
54948         * io/ttyname.c: Likewise.
54949         * io/ttyname_r.c: Likewise.
54950         * io/umask.c: Likewise.
54951         * io/unlink.c: Likewise.
54952         * io/unlinkat.c: Likewise.
54953         * io/utime.c: Likewise.
54954         * io/utimensat.c: Likewise.
54955         * io/write.c: Likewise.
54956         * io/xmknod.c: Likewise.
54957         * io/xmknodat.c: Likewise.
54958         * io/xstat.c: Likewise.
54959         * io/xstat64.c: Likewise.
54960         * login/getpt.c: Likewise.
54961         * login/grantpt.c: Likewise.
54962         * login/unlockpt.c: Likewise.
54963         * math/e_acoshl.c: Likewise.
54964         * math/e_acosl.c: Likewise.
54965         * math/e_asinl.c: Likewise.
54966         * math/e_atan2l.c: Likewise.
54967         * math/e_atanhl.c: Likewise.
54968         * math/e_coshl.c: Likewise.
54969         * math/e_expl.c: Likewise.
54970         * math/e_fmodl.c: Likewise.
54971         * math/e_gammal_r.c: Likewise.
54972         * math/e_hypotl.c: Likewise.
54973         * math/e_j0l.c: Likewise.
54974         * math/e_j1l.c: Likewise.
54975         * math/e_jnl.c: Likewise.
54976         * math/e_lgammal_r.c: Likewise.
54977         * math/e_log10l.c: Likewise.
54978         * math/e_log2l.c: Likewise.
54979         * math/e_logl.c: Likewise.
54980         * math/e_powl.c: Likewise.
54981         * math/e_rem_pio2l.c: Likewise.
54982         * math/e_sinhl.c: Likewise.
54983         * math/e_sqrtl.c: Likewise.
54984         * math/fclrexcpt.c: Likewise.
54985         * math/fedisblxcpt.c: Likewise.
54986         * math/feenablxcpt.c: Likewise.
54987         * math/fegetenv.c: Likewise.
54988         * math/fegetexcept.c: Likewise.
54989         * math/fegetround.c: Likewise.
54990         * math/feholdexcpt.c: Likewise.
54991         * math/fesetenv.c: Likewise.
54992         * math/fesetround.c: Likewise.
54993         * math/feupdateenv.c: Likewise.
54994         * math/fgetexcptflg.c: Likewise.
54995         * math/fraiseexcpt.c: Likewise.
54996         * math/fsetexcptflg.c: Likewise.
54997         * math/ftestexcept.c: Likewise.
54998         * math/k_cosl.c: Likewise.
54999         * math/k_rem_pio2l.c: Likewise.
55000         * math/k_sinl.c: Likewise.
55001         * math/k_tanl.c: Likewise.
55002         * math/s_asinhl.c: Likewise.
55003         * math/s_atanl.c: Likewise.
55004         * math/s_cbrtl.c: Likewise.
55005         * math/s_erfl.c: Likewise.
55006         * math/s_expm1l.c: Likewise.
55007         * math/s_log1pl.c: Likewise.
55008         * math/s_tanhl.c: Likewise.
55009         * misc/acct.c: Likewise.
55010         * misc/brk.c: Likewise.
55011         * misc/chflags.c: Likewise.
55012         * misc/chroot.c: Likewise.
55013         * misc/fchflags.c: Likewise.
55014         * misc/fgetxattr.c: Likewise.
55015         * misc/flistxattr.c: Likewise.
55016         * misc/fremovexattr.c: Likewise.
55017         * misc/fsetxattr.c: Likewise.
55018         * misc/fsync.c: Likewise.
55019         * misc/ftruncate.c: Likewise.
55020         * misc/futimes.c: Likewise.
55021         * misc/futimesat.c: Likewise.
55022         * misc/getdomain.c: Likewise.
55023         * misc/getdtsz.c: Likewise.
55024         * misc/gethostid.c: Likewise.
55025         * misc/gethostname.c: Likewise.
55026         * misc/getloadavg.c: Likewise.
55027         * misc/getpagesize.c: Likewise.
55028         * misc/getsysstats.c: Likewise.
55029         * misc/getxattr.c: Likewise.
55030         * misc/gtty.c: Likewise.
55031         * misc/ioctl.c: Likewise.
55032         * misc/lgetxattr.c: Likewise.
55033         * misc/listxattr.c: Likewise.
55034         * misc/llistxattr.c: Likewise.
55035         * misc/lremovexattr.c: Likewise.
55036         * misc/lsetxattr.c: Likewise.
55037         * misc/lutimes.c: Likewise.
55038         * misc/madvise.c: Likewise.
55039         * misc/mincore.c: Likewise.
55040         * misc/mlock.c: Likewise.
55041         * misc/mlockall.c: Likewise.
55042         * misc/mmap.c: Likewise.
55043         * misc/mprotect.c: Likewise.
55044         * misc/msync.c: Likewise.
55045         * misc/munlock.c: Likewise.
55046         * misc/munlockall.c: Likewise.
55047         * misc/munmap.c: Likewise.
55048         * misc/preadv.c: Likewise.
55049         * misc/preadv64.c: Likewise.
55050         * misc/ptrace.c: Likewise.
55051         * misc/pwritev.c: Likewise.
55052         * misc/pwritev64.c: Likewise.
55053         * misc/readv.c: Likewise.
55054         * misc/reboot.c: Likewise.
55055         * misc/remap_file_pages.c: Likewise.
55056         * misc/removexattr.c: Likewise.
55057         * misc/revoke.c: Likewise.
55058         * misc/select.c: Likewise.
55059         * misc/setdomain.c: Likewise.
55060         * misc/setegid.c: Likewise.
55061         * misc/seteuid.c: Likewise.
55062         * misc/sethostid.c: Likewise.
55063         * misc/sethostname.c: Likewise.
55064         * misc/setregid.c: Likewise.
55065         * misc/setreuid.c: Likewise.
55066         * misc/setxattr.c: Likewise.
55067         * misc/sstk.c: Likewise.
55068         * misc/stty.c: Likewise.
55069         * misc/swapoff.c: Likewise.
55070         * misc/swapon.c: Likewise.
55071         * misc/sync.c: Likewise.
55072         * misc/syncfs.c: Likewise.
55073         * misc/syscall.c: Likewise.
55074         * misc/truncate.c: Likewise.
55075         * misc/ualarm.c: Likewise.
55076         * misc/usleep.c: Likewise.
55077         * misc/ustat.c: Likewise.
55078         * misc/utimes.c: Likewise.
55079         * misc/vhangup.c: Likewise.
55080         * misc/writev.c: Likewise.
55081         * posix/_exit.c: Likewise.
55082         * posix/alarm.c: Likewise.
55083         * posix/execve.c: Likewise.
55084         * posix/fexecve.c: Likewise.
55085         * posix/fork.c: Likewise.
55086         * posix/fpathconf.c: Likewise.
55087         * posix/getaddrinfo.c: Likewise.
55088         * posix/getegid.c: Likewise.
55089         * posix/geteuid.c: Likewise.
55090         * posix/getgid.c: Likewise.
55091         * posix/getgroups.c: Likewise.
55092         * posix/getlogin.c: Likewise.
55093         * posix/getlogin_r.c: Likewise.
55094         * posix/getpgid.c: Likewise.
55095         * posix/getpid.c: Likewise.
55096         * posix/getppid.c: Likewise.
55097         * posix/getresgid.c: Likewise.
55098         * posix/getresuid.c: Likewise.
55099         * posix/getsid.c: Likewise.
55100         * posix/getuid.c: Likewise.
55101         * posix/glob64.c: Likewise.
55102         * posix/nanosleep.c: Likewise.
55103         * posix/pathconf.c: Likewise.
55104         * posix/pause.c: Likewise.
55105         * posix/posix_madvise.c: Likewise.
55106         * posix/pread.c: Likewise.
55107         * posix/pread64.c: Likewise.
55108         * posix/pwrite.c: Likewise.
55109         * posix/pwrite64.c: Likewise.
55110         * posix/sched_getaffinity.c: Likewise.
55111         * posix/sched_getp.c: Likewise.
55112         * posix/sched_gets.c: Likewise.
55113         * posix/sched_primax.c: Likewise.
55114         * posix/sched_primin.c: Likewise.
55115         * posix/sched_rr_gi.c: Likewise.
55116         * posix/sched_setaffinity.c: Likewise.
55117         * posix/sched_setp.c: Likewise.
55118         * posix/sched_sets.c: Likewise.
55119         * posix/sched_yield.c: Likewise.
55120         * posix/setgid.c: Likewise.
55121         * posix/setlogin.c: Likewise.
55122         * posix/setpgid.c: Likewise.
55123         * posix/setresgid.c: Likewise.
55124         * posix/setresuid.c: Likewise.
55125         * posix/setsid.c: Likewise.
55126         * posix/setuid.c: Likewise.
55127         * posix/sleep.c: Likewise.
55128         * posix/spawni.c: Likewise.
55129         * posix/sysconf.c: Likewise.
55130         * posix/times.c: Likewise.
55131         * posix/wait.c: Likewise.
55132         * posix/wait3.c: Likewise.
55133         * posix/wait4.c: Likewise.
55134         * posix/waitpid.c: Likewise.
55135         * resolv/gai_sigqueue.c: Likewise.
55136         * resource/getpriority.c: Likewise.
55137         * resource/getrlimit.c: Likewise.
55138         * resource/getrusage.c: Likewise.
55139         * resource/nice.c: Likewise.
55140         * resource/setpriority.c: Likewise.
55141         * resource/setrlimit.c: Likewise.
55142         * resource/ulimit.c: Likewise.
55143         * rt/aio_cancel.c: Likewise.
55144         * rt/aio_fsync.c: Likewise.
55145         * rt/aio_read.c: Likewise.
55146         * rt/aio_sigqueue.c: Likewise.
55147         * rt/aio_suspend.c: Likewise.
55148         * rt/aio_write.c: Likewise.
55149         * rt/clock_getres.c: Likewise.
55150         * rt/clock_gettime.c: Likewise.
55151         * rt/clock_nanosleep.c: Likewise.
55152         * rt/clock_settime.c: Likewise.
55153         * rt/lio_listio.c: Likewise.
55154         * rt/mq_close.c: Likewise.
55155         * rt/mq_getattr.c: Likewise.
55156         * rt/mq_notify.c: Likewise.
55157         * rt/mq_open.c: Likewise.
55158         * rt/mq_receive.c: Likewise.
55159         * rt/mq_send.c: Likewise.
55160         * rt/mq_setattr.c: Likewise.
55161         * rt/mq_timedreceive.c: Likewise.
55162         * rt/mq_timedsend.c: Likewise.
55163         * rt/mq_unlink.c: Likewise.
55164         * rt/shm_open.c: Likewise.
55165         * rt/shm_unlink.c: Likewise.
55166         * rt/timer_create.c: Likewise.
55167         * rt/timer_delete.c: Likewise.
55168         * rt/timer_getoverr.c: Likewise.
55169         * rt/timer_gettime.c: Likewise.
55170         * rt/timer_settime.c: Likewise.
55171         * setjmp/__longjmp.c: Likewise.
55172         * setjmp/setjmp.c: Likewise.
55173         * signal/kill.c: Likewise.
55174         * signal/killpg.c: Likewise.
55175         * signal/raise.c: Likewise.
55176         * signal/sigaction.c: Likewise.
55177         * signal/sigaltstack.c: Likewise.
55178         * signal/sigblock.c: Likewise.
55179         * signal/sigignore.c: Likewise.
55180         * signal/sigintr.c: Likewise.
55181         * signal/signal.c: Likewise.
55182         * signal/sigpause.c: Likewise.
55183         * signal/sigpending.c: Likewise.
55184         * signal/sigqueue.c: Likewise.
55185         * signal/sigreturn.c: Likewise.
55186         * signal/sigset.c: Likewise.
55187         * signal/sigsetmask.c: Likewise.
55188         * signal/sigstack.c: Likewise.
55189         * signal/sigsuspend.c: Likewise.
55190         * signal/sigtimedwait.c: Likewise.
55191         * signal/sigvec.c: Likewise.
55192         * signal/sigwait.c: Likewise.
55193         * signal/sigwaitinfo.c: Likewise.
55194         * signal/sysv_signal.c: Likewise.
55195         * socket/accept.c: Likewise.
55196         * socket/accept4.c: Likewise.
55197         * socket/bind.c: Likewise.
55198         * socket/connect.c: Likewise.
55199         * socket/getpeername.c: Likewise.
55200         * socket/getsockname.c: Likewise.
55201         * socket/getsockopt.c: Likewise.
55202         * socket/isfdtype.c: Likewise.
55203         * socket/listen.c: Likewise.
55204         * socket/recv.c: Likewise.
55205         * socket/recvfrom.c: Likewise.
55206         * socket/recvmsg.c: Likewise.
55207         * socket/send.c: Likewise.
55208         * socket/sendmsg.c: Likewise.
55209         * socket/sendto.c: Likewise.
55210         * socket/setsockopt.c: Likewise.
55211         * socket/shutdown.c: Likewise.
55212         * socket/sockatmark.c: Likewise.
55213         * socket/socket.c: Likewise.
55214         * socket/socketpair.c: Likewise.
55215         * stdio-common/ctermid.c: Likewise.
55216         * stdio-common/cuserid.c: Likewise.
55217         * stdio-common/remove.c: Likewise.
55218         * stdio-common/rename.c: Likewise.
55219         * stdio-common/renameat.c: Likewise.
55220         * stdio-common/tempname.c: Likewise.
55221         * stdlib/getcontext.c: Likewise.
55222         * stdlib/makecontext.c: Likewise.
55223         * stdlib/setcontext.c: Likewise.
55224         * stdlib/swapcontext.c: Likewise.
55225         * stdlib/system.c: Likewise.
55226         * streams/fattach.c: Likewise.
55227         * streams/fdetach.c: Likewise.
55228         * streams/getmsg.c: Likewise.
55229         * streams/getpmsg.c: Likewise.
55230         * streams/putmsg.c: Likewise.
55231         * streams/putpmsg.c: Likewise.
55232         * sysdeps/unix/bsd/getpt.c: Likewise.
55233         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55234         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55235         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55237         Likewise.
55238         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55239         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55240         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55241         * sysvipc/msgctl.c: Likewise.
55242         * sysvipc/msgget.c: Likewise.
55243         * sysvipc/msgrcv.c: Likewise.
55244         * sysvipc/msgsnd.c: Likewise.
55245         * sysvipc/semctl.c: Likewise.
55246         * sysvipc/semget.c: Likewise.
55247         * sysvipc/semop.c: Likewise.
55248         * sysvipc/semtimedop.c: Likewise.
55249         * sysvipc/shmat.c: Likewise.
55250         * sysvipc/shmctl.c: Likewise.
55251         * sysvipc/shmdt.c: Likewise.
55252         * sysvipc/shmget.c: Likewise.
55253         * termios/tcdrain.c: Likewise.
55254         * termios/tcflow.c: Likewise.
55255         * termios/tcflush.c: Likewise.
55256         * termios/tcgetattr.c: Likewise.
55257         * termios/tcgetpgrp.c: Likewise.
55258         * termios/tcsendbrk.c: Likewise.
55259         * termios/tcsetattr.c: Likewise.
55260         * termios/tcsetpgrp.c: Likewise.
55261         * time/adjtime.c: Likewise.
55262         * time/clock.c: Likewise.
55263         * time/getitimer.c: Likewise.
55264         * time/gettimeofday.c: Likewise.
55265         * time/setitimer.c: Likewise.
55266         * time/settimeofday.c: Likewise.
55267         * time/stime.c: Likewise.
55268         * time/time.c: Likewise.
55270 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55272         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55273         /usr/old/bin.
55275         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55276         instead of spaces.
55277         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55279 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55281         [BZ #14796]
55282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55283         FE_TONEAREST before applying Dekker multiplication and Knuth
55284         addition.  Clear inexact exceptions and check for exact zero
55285         results afterwards.
55286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55289         * math/libm-test.inc (fma_test): Add more tests.
55290         (fma_test_towardzero): Likewise.
55291         (fma_test_downward): Likewise.
55292         (fma_test_upward): Likewise.
55293         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55294         function.
55295         (libc_fesetround): New macro.
55296         (libc_fesetroundf): Likewise.
55297         (libc_fesetroundl): Likewise.
55298         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55299         function.
55300         (libc_fesetround_387): Likewise.
55301         (libc_fesetroundf): New macro.
55302         (libc_fesetround): Likewise.
55303         (libc_fesetroundl): Likewise.
55304         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55305         function.
55306         (libc_fesetroundf): New macro.
55307         (libc_fesetround): Likewise.
55308         (libc_fesetroundl): Likewise.
55309         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55310         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55311         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55312         libm_hidden_ver.
55313         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55314         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55315         libm_hidden_def.
55316         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55317         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55318         libm_hidden_ver.
55319         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55320         libm_hidden_def.
55322         [BZ #3439]
55323         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55324         integer constant usable in #if and use that to give value to enum
55325         constant.
55326         (FE_DIVBYZERO): Likewise.
55327         (FE_UNDERFLOW): Likewise.
55328         (FE_OVERFLOW): Likewise.
55329         (FE_INVALID): Likewise.
55330         (FE_INVALID_SNAN): Likewise.
55331         (FE_INVALID_ISI): Likewise.
55332         (FE_INVALID_IDI): Likewise.
55333         (FE_INVALID_ZDZ): Likewise.
55334         (FE_INVALID_IMZ): Likewise.
55335         (FE_INVALID_COMPARE): Likewise.
55336         (FE_INVALID_SOFTWARE): Likewise.
55337         (FE_INVALID_SQRT): Likewise.
55338         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55339         (FE_TONEAREST): Likewise.
55340         (FE_TOWARDZERO): Likewise.
55341         (FE_UPWARD): Likewise.
55342         (FE_DOWNWARD): Likewise.
55343         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55344         (FE_DIVBYZERO): Likewise.
55345         (FE_OVERFLOW): Likewise.
55346         (FE_UNDERFLOW): Likewise.
55347         (FE_INEXACT): Likewise.
55348         (FE_TONEAREST): Likewise.
55349         (FE_DOWNWARD): Likewise.
55350         (FE_UPWARD): Likewise.
55351         (FE_TOWARDZERO): Likewise.
55352         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55353         (FE_UNDERFLOW): Likewise.
55354         (FE_OVERFLOW): Likewise.
55355         (FE_DIVBYZERO): Likewise.
55356         (FE_INVALID): Likewise.
55357         (FE_TONEAREST): Likewise.
55358         (FE_TOWARDZERO): Likewise.
55359         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55360         (FE_OVERFLOW): Likewise.
55361         (FE_UNDERFLOW): Likewise.
55362         (FE_DIVBYZERO): Likewise.
55363         (FE_INEXACT): Likewise.
55364         (FE_TONEAREST): Likewise.
55365         (FE_TOWARDZERO): Likewise.
55366         (FE_UPWARD): Likewise.
55367         (FE_DOWNWARD): Likewise.
55368         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55369         (FE_DIVBYZERO): Likewise.
55370         (FE_OVERFLOW): Likewise.
55371         (FE_UNDERFLOW): Likewise.
55372         (FE_INEXACT): Likewise.
55373         (FE_TONEAREST): Likewise.
55374         (FE_DOWNWARD): Likewise.
55375         (FE_UPWARD): Likewise.
55376         (FE_TOWARDZERO): Likewise.
55378 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55380         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55382 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55384         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55385         commands.  Quote $PWD.
55386         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55387         -x" by "export".
55388         (remove_newlines): Remove.
55390 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55392         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55393         * stdlib/stdlib.h (atof): Moved to ...
55394         * include/bits/stdlib-float.h: Here.  New file.
55395         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55396         * stdlib/bits/stdlib-float.h: New file.
55397         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55398         -mno-sse -mno-mmx.
55399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55400         <xmmintrin.h>.
55402 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55404         * conform/conformtest.pl (@headers): Add fenv.h.
55405         * conform/data/fenv.h-data: New file.
55406         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55407         include of <math/fenv.h>.
55409         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55410         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55411         && !UNIX98].  Enables tests for XOPEN2K8.
55412         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55413         POSIX2008]: Likewise.
55415         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55416         (struct rusage): Do not expect type or its members.
55418         [BZ #3439]
55419         * math/math.h (FP_NAN): Define macro to integer constant usable in
55420         #if and use that to give value to enum constant.
55421         (FP_INFINITE): Likewise.
55422         (FP_ZERO): Likewise.
55423         (FP_SUBNORMAL): Likewise.
55424         (FP_NORMAL): Likewise.
55426 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55428         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55429         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55430         arguments.
55432 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55434         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55435         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55436         autoconf-time if not.
55437         * configure.in: Remove AC_PREREQ.
55439 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55441         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55442         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55443         of the internal implementation.
55445 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55447         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55448         except include of <misc/sys/syslog.h>.
55450 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55453         function returns with a NULL context exit with zero.
55455 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55457         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55459 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55461         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55462         (run_program_cmd): This.
55463         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55464         (tst_langinfo): New variable.  Use it.
55466 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55468         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55469         floating point opcodes.
55471 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55473         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55474         variable.
55476         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55478         * sysdeps/mach/hurd/powerpc: Remove directory.
55479         * sysdeps/mach/powerpc: Likewise.
55481 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55483         * scripts/check-local-headers.sh: Ignore c++ headers.
55485 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55487         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55488         __libc_cleanup_region_start argument.
55490 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55492         [BZ #14784]
55493         [BZ #14785]
55494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55495         x * y using scaling, not as x * y + z.
55496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55498         * math/libm-test.inc (fma_test): Add more tests.
55499         (fma_test_towardzero): Likewise.
55500         (fma_test_downward): Likewise.
55501         (fma_test_upward): Likewise.
55503 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55505         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55507 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55509         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55510         New variable.
55512 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55514         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55516 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55519         Fix sort order.
55520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55521         Likewise.
55523 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55526         Fix the order of the list for glibc 2.17.
55527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55528         Likewise.
55530 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55534 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55536         [BZ #14610]
55537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55538         for low part of x being zero before using __atanl (y).
55539         * math/libm-test.inc (atan2_test): Add another test.
55541         * manual/install.texi (Configuring and compiling): Document
55542         general use of test-wrapper and test-wrapper-env.
55543         * INSTALL: Regenerated.
55545         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55546         (__fma): Do not extract and scale down low bits on after-rounding
55547         systems when result rounded to normal precision would have normal
55548         exponent.
55549         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55550         (__fmal): Do not extract and scale down low bits on after-rounding
55551         systems when result rounded to normal precision would have normal
55552         exponent.
55553         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55554         (__fmal): Do not extract and scale down low bits on after-rounding
55555         systems when result rounded to normal precision would have normal
55556         exponent.
55557         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55558         macro.
55559         (fma_test): Add more tests.
55560         (fma_test_towardzero): Likewise.
55561         (fma_test_downward): Likewise.
55562         (fma_test_upward): Likewise.
55564 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55566         * sysdeps/i386/tininess.h: Renamed to ...
55567         * sysdeps/x86/tininess.h: This.
55568         * sysdeps/x86_64/tininess.h: Removed.
55570 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55572         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55573         input.  Use $(build-program-cmd).
55574         ($(objpfx)tst-array1-static.out): Likewise.
55575         ($(objpfx)tst-array2.out): Likewise.
55576         ($(objpfx)tst-array3.out): Likewise.
55577         ($(objpfx)tst-array4.out): Likewise.
55578         ($(objpfx)tst-array5.out): Likewise.
55579         ($(objpfx)tst-array5-static.out): Likewise.
55581 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55583         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55584         if defined.
55586         * nss/nsswitch.h (nss_interface_function): Provide new
55587         macro for use with NSS functions.
55588         * grp/initgroups.c: Use new macro.
55589         * nss/getXXbyYY.c: Likewise.
55590         * nss/getXXbyYY_r.c: Likewise.
55591         * nss/getXXent.c: Likewise.
55592         * nss/getXXent_r.c: Likewise.
55593         * sysdeps/posix/getaddrinfo.c: Likewise.
55595 2012-10-30  Andreas Jaeger  <aj@suse.de>
55597         * po/ru.po: Update Russion translation from translation project.
55599 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55601         [BZ #14152]
55602         [BZ #14783]
55603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55604         result and shift together with sticky bit instead of replicating
55605         round-to-nearest rounding.
55606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55608         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55609         missing underflow exceptions.
55610         (fma_test_towardzero): Add more tests.
55611         (fma_test_downward): Likewise.
55612         (fma_test_upward): Likewise.
55614         [BZ #14047]
55615         * sysdeps/generic/tininess.h: New file.
55616         * sysdeps/i386/tininess.h: Likewise.
55617         * sysdeps/sh/tininess.h: Likewise.
55618         * sysdeps/x86_64/tininess.h: Likewise.
55619         * stdlib/tst-strtod-underflow.c: Likewise.
55620         * stdlib/tst-tininess.c: Likewise.
55621         * stdlib/strtod_l.c: Include <tininess.h>.
55622         (round_and_return): Do not set errno for exact underflow cases.
55623         Force an underflow exception when setting errno for underflow.
55624         Determine underflow based on rounding to normal precision if
55625         TININESS_AFTER_ROUNDING.
55626         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55627         ERANGE for exact underflow cases.
55628         * stdlib/Makefile (tests): Add tst-tininess and
55629         tst-strtod-underflow.
55630         ($(objpfx)tst-tininess): Use $(link-libm).
55631         ($(objpfx)tst-strtod-underflow): Likewise.
55633 2012-10-30  Andreas Jaeger  <aj@suse.de>
55635         [BZ#14767]
55636         * elf/Makefile (tests): Remove conditional for have-initfini-array
55637         since this is now always required and the variable does not exist
55638         anymore.
55639         (tests-static): Likewise.
55640         (modules-names): Likewise.
55642         * po/eo.po: Add Esperanto translation from translation project.
55644         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55645         merged with constructor/destructor.
55646         (init_array): Likewise.
55647         * elf/tst-array2dep.c (fini_array): Likewise.
55648         (init_array): Likewise.
55650 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55652         * manual/message.texi: Delete @cartouche tags.
55654 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55656         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55657         EOPNOTSUPP.
55658         * sysdeps/mach/hurd/fsync.c: Likewise.
55660         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55661         [_POSIX_REALTIME_SIGNALS]: Change condition to
55662         [_POSIX_REALTIME_SIGNALS > 0].
55664 2012-10-27  Andreas Jaeger  <aj@suse.de>
55666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55667         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55669         [__WORDSIZE != 64]: Likewise.
55671 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55673         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55674         *  iconvdata/tst-tables.sh: Likewise.
55676 2012-10-25  David S. Miller  <davem@davemloft.net>
55678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55679         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55680         of strtoull.
55682         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55683         ifunc-impl-list.c
55684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55685         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55686         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55687         file.
55689 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55692         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55693         __getdirentries.
55695 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55696             Jim Blandy  <jimb@codesourcery.com>
55698         * scripts/cross-test-ssh.sh: New file.
55699         * manual/install.texi (Configuring and compiling): Document use of
55700         cross-test-ssh.sh.
55701         * INSTALL: Regenerated.
55703 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55705         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55706         EOPNOTSUPP.
55708 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55710         * Makeconfig (run-program-prefix): Fix comment.
55712 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55713             Jim Blandy  <jimb@codesourcery.com>
55715         * Makeconfig (test-wrapper): New variable,
55716         (test-wrapper-env): Likewise.
55717         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55718         (run-built-tests): Define to yes.
55719         (run-program-prefix): Use $(test-wrapper).
55720         (built-program-cmd): Likewise.
55721         * Rules (make-test-out): Use $(test-wrapper-env) and
55722         $(host-built-program-cmd).
55723         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55724         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55725         tst-pathopt.sh.
55726         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55727         $(test-wrapper-env) to tst-rtld-load-self.sh.
55728         ($(objpfx)order2.out): Use $(test-wrapper).
55729         ($(objpfx)tst-initorder.out): Likewise.
55730         ($(objpfx)tst-initorder2.out): Likewise.
55731         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55732         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55733         (test_wrapper_env): New variable.  Use it to run ld.so.
55734         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55735         Use it to run ld.so.
55736         (test_wrapper_env): Likewise.
55737         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55738         $(test-wrapper) to run-iconv-test.sh.
55739         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55740         (ICONV): Use $test_wrapper.
55741         * posix/Makefile ($(objpfx)globtest.out): Pass
55742         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55743         globtest.sh, not $(run-program-prefix).
55744         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55745         (test_wrapper): Likewise.
55746         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55747         set together with run_via_rtld_prefix.
55748         (run_program_prefix): Define in terms of test_wrapper and
55749         run_via_rtld_prefix.
55751 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55753         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55754         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55755         Targets removed.
55757         [BZ #14743]
55758         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55759         Declare __clock_getres, __clock_gettime, __clock_settime,
55760         __clock_nanosleep, and __clock_getcpuclockid.
55761         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55762         Remove librt_hidden_def (clock_gettime).
55763         * sysdeps/unix/clock_gettime.c: Likewise.
55764         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55765         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55766         * rt/clock_getres.c: Define __clock_getres as an alias.
55767         * sysdeps/posix/clock_getres.c: Likewise.
55768         * rt/clock_settime.c: Define __clock_settime as an alias.
55769         * sysdeps/unix/clock_settime.c: Likewise.
55770         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55771         * sysdeps/unix/clock_nanosleep.c: Likewise.
55772         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55773         * rt/clock-compat.c: New file.
55774         * rt/Makefile (librt-routines): Add clock-compat and move
55775         $(clock-routines) to ...
55776         (routines): ... here, new variable.
55777         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55778         Don't add get_clockfreq here.
55779         * rt/Versions (libc: GLIBC_2.17): New version set.
55780         Add clock_* symbols here.
55781         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55782         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55783         (GLIBC_2.17): Add clock_* symbols.
55784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55788         Likewise.
55789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55790         Likewise.
55791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55795         * NEWS: Mention the move.
55797         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55798         Use __open, __read, __close rather than their public counterparts.
55799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55800         (__get_clockfreq_via_cpuinfo): Likewise.
55801         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55802         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55804         * config.h.in (HAVE_IFUNC): New #undef.
55805         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55806         was successful.
55807         * configure: Regenerated.
55809 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55811         * configure.in: Move READELF check to start of file.
55812         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55813         libc_cv_asm_gnu_indirect_function in the process.
55814         * configure: Regenerated.
55816 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55818         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55819         send the output to /dev/null.
55820         (libc_cv_cc_with_libunwind): Likewise.
55821         (libc_cv_as_noexecstack): Likewise.
55822         * configure: Regenerate.
55824 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55826         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55828         * posix/globtest.sh (TMPDIR): Do not set.
55829         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55830         (testout): Likewise.
55832 2012-10-24  Andreas Jaeger  <aj@suse.de>
55834         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55835         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55836         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55837         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55838         posix_fadvise64, posix_fallocate64.
55840         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55841         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55842         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55843         Likewise.
55844         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55845         Likewise.
55846         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55848         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55849         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55850         <bits/fcntl-linux.h>.
55851         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55854         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55855         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55856         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55857         [__WORDSIZE != 64]: Likewise.
55859 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55861         * Makeconfig (run-built-tests): New variable.
55862         * Rules [$(cross-compiling) = yes]: Change condition to
55863         [$(run-built-tests) = no].
55864         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55865         to [$(run-built-tests) = yes].
55866         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55867         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55868         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55869         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55870         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55871         * io/Makefile [$(cross-compiling) = no]: Likewise.
55872         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55873         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55874         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55875         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55876         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55877         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55878         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55879         * string/Makefile [$(cross-compiling) = no]: Likewise.
55881         * posix/Makefile ($(objpfx)globtest.out): Pass
55882         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55883         $(rtld-installed-name).
55884         * posix/globtest.sh (elf_objpfx): Remove variable.
55885         (rtld_installed_name): Likewise.
55886         (library_path): Likewise.
55887         (run_program_prefix): New variable.  Use for running globtest
55888         binary.
55890 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55891             Joseph Myers  <joseph@codesourcery.com>
55893         * Makeconfig (host-built-program-cmd): New variable.
55894         * elf/Makefile (tst-stackguard1-ARGS): Use
55895         $(host-built-program-cmd).
55896         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55897         (tst-spawn-ARGS): Likewise.
55898         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55900 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55901             Jim Blandy  <jimb@codesourcery.com>
55903         * Makeconfig (run-via-rtld-prefix): New variable.
55904         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55905         (built-program-cmd): Likewise.
55907 2012-10-22  Andreas Jaeger  <aj@suse.de>
55909         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55910         __O_RSYNC if it exists, otherwise to O_SYNC.
55912 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55913             Joseph Myers  <joseph@codesourcery.com>
55915         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55916         /dev/null.
55917         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55918         from /dev/null
55919         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55920         /dev/null.
55922 2012-10-22  Andreas Jaeger  <aj@suse.de>
55924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55925         Define always.
55926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55929         bits/fcntl-linux.h.
55931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55932         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55935         to __O_LARGEFILE.
55936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55937         to __O_LARGEFILE.
55939 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55940             Joseph Myers  <joseph@codesourcery.com>
55942         * config.make.in (NM): New variable.
55944 2012-10-21  Andreas Jaeger  <aj@suse.de>
55946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55947         definitions and declarations that are provided by
55948         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55950 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55952         [BZ #14683]
55953         * elf/Makefile (tests-static): Add tst-leaks1-static.
55954         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55955         ($(objpfx)tst-leaks1-static): New rule.
55956         ($(objpfx)tst-leaks1-static-mem): Likewise.
55957         (tst-leaks1-static-ENV): New macro.
55958         * elf/dl-open.c (dl_open_worker): Check the main application
55959         only if SHARED is defined.
55960         * elf/tst-leaks1-static.c: New file.
55962 2012-10-20  Andreas Jaeger  <aj@suse.de>
55964         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55965         generic values for Linux.
55966         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55967         and declarations that are provided by <bits/fcntl-linux.h> and
55968         include <bits/fcntl-linux.h>.
55969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55972 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55974         * io/fcntl.h: Move include of <bits/types.h> to the top and
55975         include it unconditionally.
55977 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55979         * wcsmbs/Makefile (tests-ifunc): New variable.
55980         (tests): Add $(tests-ifunc).
55981         * wcsmbs/test-wcschr-ifunc.c: New file.
55982         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55983         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55984         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55985         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55986         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55988         * string/Makefile (tests-ifunc): New variable.
55989         (tests): Add $(tests-ifunc).
55990         * string/test-memccpy.c (TEST_NAME): New macro.
55991         * string/test-memchr.c (TEST_NAME): Likewise.
55992         * string/test-memcmp.c (TEST_NAME): Likewise.
55993         * string/test-memcpy.c (TEST_NAME): Likewise.
55994         * string/test-memmem.c (TEST_NAME): Likewise.
55995         * string/test-memmove.c (TEST_NAME): Likewise.
55996         * string/test-memset.c (TEST_NAME): Likewise.
55997         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55998         * string/test-stpcpy.c (TEST_NAME): Likewise.
55999         * string/test-stpncpy.c (TEST_NAME): Likewise.
56000         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56001         * string/test-strcasestr.c (TEST_NAME): Likewise.
56002         * string/test-strcat.c (TEST_NAME): Likewise.
56003         * string/test-strchr.c (TEST_NAME): Likewise.
56004         * string/test-strcmp.c(TEST_NAME): Likewise.
56005         * string/test-strcpy.c (TEST_NAME): Likewise.
56006         * string/test-strcspn.c (TEST_NAME): Likewise.
56007         * string/test-strlen.c (TEST_NAME): Likewise.
56008         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56009         * string/test-strncmp.c (TEST_NAME): Likewise.
56010         * string/test-strncpy.c (TEST_NAME): Likewise.
56011         * string/test-strnlen.c (TEST_NAME): Likewise.
56012         * string/test-strpbrk.c (TEST_NAME): Likewise.
56013         * string/test-strrchr.c (TEST_NAME): Likewise.
56014         * string/test-strspn.c (TEST_NAME): Likewise.
56015         * string/test-strstr.c (TEST_NAME): Likewise.
56016         * string/test-bcopy-ifunc.c: New file.
56017         * string/test-bzero-ifunc.c: Likewise.
56018         * string/test-memccpy-ifunc.c: Likewise.
56019         * string/test-memchr-ifunc.c: Likewise.
56020         * string/test-memcmp-ifunc.c: Likewise.
56021         * string/test-memcpy-ifunc.c: Likewise.
56022         * string/test-memmem-ifunc.c: Likewise.
56023         * string/test-memmove-ifunc.c: Likewise.
56024         * string/test-mempcpy-ifunc.c: Likewise.
56025         * string/test-memset-ifunc.c: Likewise.
56026         * string/test-rawmemchr-ifunc.c: Likewise.
56027         * string/test-stpcpy-ifunc.c: Likewise.
56028         * string/test-stpncpy-ifunc.c: Likewise.
56029         * string/test-strcasecmp-ifunc.c: Likewise.
56030         * string/test-strcasestr-ifunc.c: Likewise.
56031         * string/test-strcat-ifunc.c: Likewise.
56032         * string/test-strchr-ifunc.c: Likewise.
56033         * string/test-strchrnul-ifunc.c: Likewise.
56034         * string/test-strcmp-ifunc.c: Likewise.
56035         * string/test-strcpy-ifunc.c: Likewise.
56036         * string/test-strcspn-ifunc.c: Likewise.
56037         * string/test-strlen-ifunc.c: Likewise.
56038         * string/test-strncasecmp-ifunc.c: Likewise.
56039         * string/test-strncat-ifunc.c: Likewise.
56040         * string/test-strncmp-ifunc.c: Likewise.
56041         * string/test-strncpy-ifunc.c: Likewise.
56042         * string/test-strnlen-ifunc.c: Likewise.
56043         * string/test-strpbrk-ifunc.c: Likewise.
56044         * string/test-strrchr-ifunc.c: Likewise.
56045         * string/test-strspn-ifunc.c: Likewise.
56046         * string/test-strstr-ifunc.c: Likewise.
56048         * debug/Makefile (tests-ifunc): New variable.
56049         (tests): Add $(tests-ifunc).
56050         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56051         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56052         * debug/test-stpcpy_chk-ifunc.c: New file.
56053         * debug/test-strcpy_chk-ifunc.c: Likewise.
56055 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56057         [BZ #13601]
56058         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56059         header is not read in.
56061 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56063         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56064         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56065         directly.  Pass built executable to script as
56066         $(built-program-cmd).
56067         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56068         $testprogram without using LD_LIBRARY_PATH and $ldso.
56070         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56071         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56072         $(rtld-installed-name).
56073         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56074         (rtld_installed_name): Likewise.
56075         (library_path): Likewise.
56076         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56077         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56078         $(run-program-prefix) to tst-tables.sh.
56079         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56080         it to run tst-table-from and tst-table-to.
56081         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56082         Pass it to tst-table.sh.
56083         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56084         $(run-program-prefix) to tst-gettext.sh.
56085         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56086         tst-translit.sh.
56087         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56088         tst-gettext2.sh.
56089         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56090         to run tst-gettext.
56091         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56092         to run tst-gettext2.
56093         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56094         to run tst-translit.
56095         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56096         $(run-program-prefix) to tst-mtrace.sh.
56097         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56098         to run tst-mtrace.
56099         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56100         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56101         $(rtld-installed-name).
56102         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56103         (rtld_installed_name): Likewise.
56104         (run_program_prefix): New variable.  Use it to run wordexp-test.
56106         * Makeconfig (ARCH): Remove all definitions.
56107         (machine): Likewise.
56108         [ARCH]: Remove conditional code.
56109         [!objdir]: Give error.
56110         [!objdir] (objpfx): Remove.
56111         [!objdir] (common-objpfx): Likewise.
56112         [!objdir] (common-objdir): Likewise.
56113         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56114         AC_CONFIG_FILES call.
56115         * configure: Regenerated.
56117         [BZ #13888]
56118         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56119         or TMPDIR.
56120         (testout): Likewise.
56122         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56123         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56124         $(rtld-installed-name).
56125         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56126         (rtld_installed_name): Likwise.
56127         (runit): Remove function.
56128         (run_getconf): New variable,  Use it for running getconf binary.
56130 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56132         [BZ #14716]
56133         * string/test-memmem.c (check_result): New function.
56134         (do_one_test): Use it.
56135         (check1): New function.
56136         (test_main): Use it.
56138 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56140         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56142 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56144         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56145         (_G_LSEEK64): Likewise.
56146         (_G_MMAP64): Likewise.
56147         (_G_FSTAT64): Likewise.
56148         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56149         (_G_LSEEK64): Likewise.
56150         (_G_MMAP64): Likewise.
56151         (_G_FSTAT64): Likewise.
56152         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56153         unconditional.  Call __mmap64 directly.
56154         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56155         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56156         __lseek64 directly.
56157         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56158         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56159         __mmap64 directly.
56160         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56161         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56162         __lseek64 directly.
56163         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56164         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56165         __lseek64 directly.
56166         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56167         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56168         __lseek64 directly.
56169         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56170         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56171         __fxstat64 directly.
56172         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56173         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56174         unconditional.
56175         (freopen64) [!_G_OPEN64]: Remove conditional code.
56176         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56177         unconditional.
56178         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56179         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56180         unconditional.
56181         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56182         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56183         unconditional.
56184         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56185         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56186         unconditional.
56187         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56188         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56189         unconditional.
56190         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56191         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56192         unconditional.
56193         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56194         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56195         unconditional.
56196         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56198 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56200         [BZ #12140]
56201         * manual/memory.texi (Malloc Tunable Parameters): Add note
56202         about free list pointers overwriting some perturb bytes.
56203         Wording suggested by Roland McGrath.
56205 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56207         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56208         (lgamma_test): Likewise.
56209         (tgamma_test): Likewise.
56211 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56213         [BZ #14700]
56214         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56215         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56217 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56219         * NEWS: Mention BZ #14716.
56220         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56221         when removing AVAILABLE1_USES_J macro.
56223 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56225         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56226         (__bswap_64): __uint64_t for unsigned 64-bit int.
56228 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56230         * include/string.h (memmem): Declare libc hidden alias.
56231         * string/memmem.c (memmem): Define libc hidden alias.
56232         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56233         __read, __close instead of open, read, close.
56235 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56238         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56239         global and hidden.
56240         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56241         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56242         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56243         Likewise.
56244         (__rawmemchr_sse2): Likewise.
56245         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56246         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56247         (__strchr_sse2): Likewise.
56248         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56249         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56250         (__strcasecmp_sse2): Likewise.
56251         (__strncasecmp_sse2): Likewise.
56252         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56253         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56254         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56255         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56256         (__strrchr_sse2): Likewise.
56257         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56258         ifunc-impl-list.c.
56259         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56260         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56261         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56262         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56263         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56264         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56265         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56266         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56267         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56268         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56269         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56270         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56271         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56272         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56273         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56274         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56275         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56276         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56277         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56278         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56279         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56280         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56281         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56282         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56283         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56284         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56285         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56286         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56287         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56288         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56290         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56291         global and hidden.
56292         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56293         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56294         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56295         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56296         Likewise.
56297         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56298         Likewise.
56299         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56300         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56301         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56302         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56303         ifunc-impl-list.c.
56304         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56305         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56306         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56307         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56308         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56309         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56310         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56311         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56312         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56313         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56314         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56315         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56316         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56317         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56318         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56319         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56320         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56321         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56322         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56323         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56324         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56325         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56326         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56327         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56328         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56329         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56330         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56331         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56332         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56333         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56334         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56335         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56336         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56337         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56338         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56339         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56340         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56341         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56342         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56343         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56344         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56346         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56347         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56348         * include/ifunc-impl-list.h: New file.
56349         * misc/ifunc-impl-list.c: Likewise.
56350         * misc/Makefile (routines): Add ifunc-impl-list.
56351         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56352         * string/test-string.h: Include <ifunc-impl-list.h>.
56353         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56354         TEST_NAME]: New variables.
56355         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56356         are defined.
56357         (test_init): Call __libc_ifunc_impl_list to initialize
56358         func_list if TEST_IFUNC and TEST_NAME are defined.
56360         * string/Makefile (strop-tests): Add bcopy and bzero.
56361         * string/test-bcopy.c: New file.
56362         * string/test-bzero.c: Likewise.
56363         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56364         defined.
56365         * string/test-memset.c: Support bzero test if TEST_BZERO is
56366         defined.
56367         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56368         __libc_memmove.
56369         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56370         __libc_memset.
56371         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56372         of memset.
56374 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56376         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56377         * configure: Regenerated.
56379         * Makeconfig (+link-static-before-libc): Don't include
56380         $(link-static-libc).
56382         * libio/libio.h (_IO_pos_t): Remove.
56384 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56386         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56387         McGrath.
56389 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56391         * crypt/crypt-entry.c: Include fips-private.h.
56392         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56393         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56394         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56395         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56397 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56399         * crypt/crypt-private.h: Include stdbool.h.
56400         (_ufc_setup_salt_r): Return bool.
56401         * crypt/crypt-entry.c: Include errno.h.
56402         (__crypt_r): Return NULL with EINVAL for bad salt.
56403         * crypt/crypt_util.c (bad_for_salt): New.
56404         (_ufc_setup_salt_r): Check that salt is long enough and within
56405         the specified alphabet.
56406         * crypt/badsalttest.c: New file.
56407         * crypt/Makefile (tests): Add it.
56408         ($(objpfx)badsalttest): New.
56410 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56412         * NEWS: Add entry for BZ #14602.
56414 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56416         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56417         type-generic.
56418         * math/libm-test.inc: Update comment listing what functions and
56419         macros are tested.
56420         (isgreater_test): New function.
56421         (isgreaterequal_test): Likewise.
56422         (isless_test): Likewise.
56423         (islessequal_test): Likewise.
56424         (islessgreater_test): Likewise.
56425         (isunordered_test): Likewise.
56426         (main): Call the new functions.
56428 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56430         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56431         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56432         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56433         * sysdeps/i386/configure: Regenerated.
56434         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56435         * sysdeps/mach/configure: Regenerated.
56436         * sysdeps/mach/hurd/configure: Regenerated.
56437         * sysdeps/powerpc/configure: Regenerated.
56438         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56439         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56440         * sysdeps/s390/s390-32/configure: Regenerated.
56441         * sysdeps/s390/s390-64/configure: Regenerated.
56442         * sysdeps/sh/configure: Regenerated.
56443         * sysdeps/sparc/configure: Regenerated.
56444         * sysdeps/unix/sysv/linux/configure: Regenerated.
56445         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56446         * sysdeps/x86_64/configure: Regenerated.
56448         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56449         defined.  Don't check if MAP is NULL.
56451 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56453         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56454         (_G_stat64): Likewise.
56455         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56456         (_G_stat64): Likewise.
56457         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56458         instead of struct _G_stat64.
56459         * libio/fileops.c (mmap_remap_check): Likewise.
56460         (decide_maybe_mmap): Likewise.
56461         (_IO_new_file_seekoff): Likewise.
56462         (_IO_file_stat): Likewise.
56463         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56464         _G_off64_t.
56465         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56466         instead of struct _G_stat64.
56467         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56469 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56471         [BZ #14602]
56472         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56473         Replace with ...
56474         (CHECK_EOL): New macro.
56475         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56476         CHECK_EOL.
56477         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56478         Replace with CHECK_EOL.
56479         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56480         Replace with CHECK_EOL.
56482 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56484         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56485         type-generic.
56486         * math/libm-test.inc: Update comment listing what functions and
56487         macros are tested.
56488         (finite_test): New function.
56489         (isinf_test): Likewise.
56490         (isnan_test): Likewise.
56491         (fpclassify_test): Test subnormal input.
56492         (isfinite_test): Likewise.
56493         (isnormal_test): Likewise.
56494         (main): Call the new functions.
56496 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56498         [BZ #14660]
56499         * Makerules (%.dynsym): Force C locale when running
56500         $(OBJDUMP) --dynamic-syms.
56502 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56504         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56505         <stdint.h>.
56507 2012-10-06  David S. Miller  <davem@davemloft.net>
56509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56510         upper 32-bits of the length value in %o2 since we use branch-on-register
56511         tests which consider the entire 64-bit register.
56513 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56515         * string/test-strstr.c (check2): Add a test for page boundary.
56517 2012-10-05  David S. Miller  <davem@davemloft.net>
56519         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56520         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56521         file.
56522         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56523         sysdep_routines.
56524         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56525         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56526         and bzero when HWCAP_SPARC_CRYPTO is present.
56528 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56530         [BZ #14602]
56531         * string/test-strstr.c (check2): New function.
56532         (test_main): Call check2.
56534         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56535         and bug-strchr1.
56536         * string/bug-strcasestr1.c (do_test): Moved to ...
56537         * string/test-strcasestr.c (check1): Here.  New function.
56538         (do_one_test): Break out result checking code into ...
56539         (check_result): This.  New function.
56540         (do_one_test): Call check_result.
56541         (test_main): Call check1.
56542         * string/bug-strchr1.c (do_test): Moved to ...
56543         * string/test-strchr.c (check1): Here.  New function.
56544         (do_one_test): Break out result checking code into ...
56545         (check_result): This.  New function.
56546         (do_one_test): Call check_result.
56547         (test_main): Call check1.
56548         * string/bug-strstr1.c (main): Moved to ...
56549         * string/test-strstr.c (check1): Here.  New function.
56550         (do_one_test): Break out result checking code into ...
56551         (check_result): This.  New function.
56552         (do_one_test): Call check_result.
56553         (test_main): Call check1.
56554         * string/bug-strcasestr1.c: Removed.
56555         * string/bug-strchr1.c: Likewise.
56556         * string/bug-strstr1.c: Likewise.
56558         * elf/Makefile (dl-routines): Add hwcaps.
56559         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56560         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56561         (_dl_important_hwcaps): Moved to ...
56562         * elf/dl-hwcaps.c: Here.  New file.
56563         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56565         [BZ #14557]
56566         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56567         if IS_IN_rtld isn't defined.
56569         * elf/dl-support.c (_dl_sysinfo_map): New.
56570         Include "get-dynamic-info.h" and "setup-vdso.h".
56571         (_dl_non_dynamic_init): Call setup_vdso.
56572         * elf/dynamic-link.h: Don't include <assert.h>.
56573         (elf_get_dynamic_info): Moved to ...
56574         * elf/get-dynamic-info.h: Here.  New file.
56575         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56576         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56577         * elf/setup-vdso.h: Here.  New file.
56578         * elf/rtld.c: Include "setup-vdso.h".
56579         (dl_main): Call setup_vdso.
56581 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56583         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56584         creal in comment listing functions tested.  List finite, isinf,
56585         isnan, isless, islessequal, isgreater, isgreaterequal,
56586         islessgreater, isunordered, lgamma_r and pow10 as functions and
56587         macros not tested.  Mention which functions not tested are aliases
56588         for other functions.  Fix typo.  Note that signs of NaNs are not
56589         tested.
56591         * scripts/config.guess: Update from config.git.
56592         * scripts/config.sub: Likewise.
56594 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56596         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56597         * misc/madvise.c (madvise): Renamed to __madvise.
56598         Make madvise a weak alias.
56599         * include/sys/mman.h: Declare __madvise.
56600         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56601         * sysdeps/unix/syscalls.list
56602         (madvise): Make __madvise the strong name, and madvise a weak alias.
56603         * sysdeps/unix/sysv/linux/syscalls.list
56604         (madvise, mmap): Remove redundant entries.
56605         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56606         * malloc/malloc.c (mtrim): Likewise.
56607         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56609 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56611         * sysdeps/mach/hurd/dl-cache.c: File removed.
56612         * config.h.in (USE_LDCONFIG): New #undef.
56613         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56614         * configure: Regenerated.
56615         * elf/Makefile (dl-routines): Add dl-cache only under
56616         [$(use-ldconfig) = yes].
56617         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56618         cache on [USE_LDCONFIG].
56619         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56620         [USE_LDCONFIG].
56621         * elf/rtld.c (dl_main): Likewise.
56623 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56625         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56626         _SC_LEVEL4_CACHE_LINESIZE.
56628 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56630         * sysdeps/unix/bsd/confstr.h: File removed.
56632 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56634         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56635         sys/sdt-config.h.
56637 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56639         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56640         Make 'mapoff' field ElfW(Off) rather than off_t.
56642 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56644         * nscd/Makefile: Remove nscd-cflags and all its users.
56645         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56646         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56648         [BZ #10631]
56649         * malloc.c (malloc_printerr): Clarify error message.
56651 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56653         [BZ #14648]
56654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56655         Set bit_FMA_Usable if FMA is supported.
56656         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56657         macro.
56658         (bit_FMA4_Usable): Updated.
56659         (index_FMA_Usable): New macro.
56660         (CPUID_FMA): Likewise.
56661         (HAS_FMA): Defined with bit_FMA_Usable.
56663 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56665         * bits/types.h (__swblk_t): Type removed.
56666         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56667         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56668         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56669         (__SWBLK_T_TYPE): Likewise.
56670         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56671         (__SWBLK_T_TYPE): Likewise.
56672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56673         (__SWBLK_T_TYPE): Likewise.
56674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56675         (__SWBLK_T_TYPE): Likewise.
56677 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56678             Honza Horak <hhorak@redhat.com>
56680         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56681         (xdr_mapname): Use YPMAXMAP as maxsize.
56682         (xdr_peername): Use YPMAXPEER as maxsize.
56683         (xdr_keydat): Use YPAXRECORD as maxsize.
56684         (xdr_valdat): Use YPMAXRECORD as maxsize.
56686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56688         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56690         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56691         * csu/init-first.c: ... here.
56692         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56693         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56694         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56695         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56696         * sysdeps/i386/init-first.c: File removed.
56697         * sysdeps/sh/init-first.c: File removed.
56699 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56701         [BZ #14645]
56702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56703         if x * y might underflow to zero and z is zero.
56704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56706         * math/libm-test.inc (min_subnorm_value): New variable.
56707         (fma_test): Add more tests.
56708         (fma_test_towardzero): Likewise.
56709         (fma_test_downward): Likewise.
56710         (fma_test_upward): Likewise.
56711         (initialize): Set min_subnorm_value.
56713 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56715         [BZ #14638]
56716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56717         0 + 0.
56718         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56719         mode for addition resulting in exact zero.
56720         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56722         exact 0 + 0.
56723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56725         * math/libm-test.inc (fma_test): Add more tests.
56726         (fma_test_towardzero): New function.
56727         (fma_test_downward): Likewise.
56728         (fma_test_upward): Likewise.
56729         (main): Call the new functions.
56731 2012-09-28  David S. Miller  <davem@davemloft.net>
56733         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56735 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56737         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56738         instead of SIGALRM.
56740         * sysdeps/gnu/_G_config.h: Moved to ...
56741         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56742         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56743         * sysdeps/generic/_G_config.h: ... here.
56745         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56747         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56749         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56750         Conditionalize target on [libnss_test1.so-version].
56752         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56754         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56755         (elfobjdir): Move out of conditionals.
56757         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56758         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56759         (__nss_lookup_function): Conditionalize label remove_from_tree on
56760         [!DO_STATIC_NSS || SHARED], matching its only use.
56762 2012-09-28  David S. Miller  <davem@davemloft.net>
56764         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56765         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56766         file.
56767         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56768         sysdep_routines.
56769         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56771         when HWCAP_SPARC_CRYPTO is present.
56773 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56775         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56777 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56779         [BZ #6530]
56780         * stdio-common/vfprintf.c (process_string_arg): Revert
56781         2000-07-22 change.
56783 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56785         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56786         for testcase.
56787         * stdio-common/tst-sprintf.c: Include <locale.h>
56788         (main): Test sprintf's handling of incomplete multibyte
56789         characters.
56791 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56793         * elf/dl-runtime.c (VERSYMIDX): Removed.
56794         * elf/dl-version.c (VERSYMIDX): Likewise.
56795         * elf/do-rel.h (VERSYMIDX): Likewise.
56796         (VALIDX): Likewise.
56797         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56798         * elf/rtld.c (VALIDX): Likewise.
56799         (ADDRIDX): Likewise.
56800         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56801         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56802         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56803         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56804         (VALIDX): Likewise.
56805         (ADDRIDX): Likewise.
56807 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56809         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56811 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56813         [BZ #11438]
56814         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56815         to global scope.
56816         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56817         addresses are in the same scope as 192.0.2/24.
56818         * posix/gai.conf: Document new scope table defaults.
56820 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56822         [BZ #5298]
56823         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56824         for ftell.  Compute offsets from write pointers instead.
56825         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56827 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56829         [BZ #14543]
56830         * libio/Makefile (tests): New test case tst-fseek.
56831         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56832         combination works in wide mode.
56833         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56834         state when the external buffer state changes.
56836 2012-09-27  David S. Miller  <davem@davemloft.net>
56838         [BZ #14376]
56839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56840         pass reloc->r_addend in as the 'high' argument to
56841         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56845 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56847         * rt/tst-aio2.c: Include <pthread.h>.
56848         * rt/tst-aio3.c: Likewise.
56850 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56852         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56854 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56856         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56857         contents on [SHARED].
56859 2012-09-26  Marek Polacek  <polacek@redhat.com>
56861         [BZ #14530]
56862         [BZ #13741]
56863         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56864         for C++ and GCC <4.3 as well as for non GCC compilers.
56866 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56870 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56872         * Makefile.in (all, install): Declare with .PHONY.
56873         Reported by Michael Hope <michael.hope@linaro.org>.
56875 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56877         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56878         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56879         system header.
56880         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56881         Likewise.
56882         (sydep_routines): Add the new and the internal functions.
56883         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56884         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56886         (GLIBC_2.17): Add the new function.
56887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56888         (GLIBC_2.17): Likewise.
56889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56890         (GLIBC_2.17): Likewise.
56891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56892         (GLIBC_2.17): Likewise.
56893         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56895 2012-09-25  Alan Modra  <amodra@gmail.com>
56897         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56898         Add release barrier before setting once_control to say
56899         initialisation is done.  Add hints on lwarx.  Use macro in
56900         place of isync.
56901         (clear_once_control): Add release barrier.
56903 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56905         [BZ #13629]
56906         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56907         specially.
56908         * math/s_clog10.c (__clog10): Likewise.
56909         * math/s_clog10f.c (__clog10f): Likewise.
56910         * math/s_clog10l.c (__clog10l): Likewise.
56911         * math/s_clogf.c (__clogf): Likewise.
56912         * math/s_clogl.c (__clogl): Likewise.
56913         * math/Makefile (libm-calls): Add x2y2m1.
56914         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56915         (__x2y2m1): Likewise.
56916         (__x2y2m1l): Likewise.
56917         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56918         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56919         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56920         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56921         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56922         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56923         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56924         * sysdeps/i386/fpu/libm-test-ulps: Update.
56925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56927         [BZ #14621]
56928         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56929         int as type of variable DEPTH.
56930         (glob): Use size_t instead of int as type of variables NEWCOUNT
56931         and OLD_PATHC.
56933 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56935         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56936         Add s_sincosf-sse2.
56937         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56938         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56939         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56940         macros for using routine as __sincosf_ia32.
56941         Use macro for function declaration and weak_alias.
56942         * sysdeps/i386/fpu/libm-test-ulps: Update.
56944         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56947         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56948         subnormal argument.
56949         * math/s_cexpf.c (__cexpf): Likewise.
56950         * math/s_csinf.c (__csinf): Likewise.
56951         * math/s_csinhf.c (__csinhf): Likewise.
56952         * math/s_ctanf.c (__ctanf): Likewise.
56953         * math/s_ctanhf.c (__ctanhf): Likewise.
56954         * math/s_ccosh.c (__ccoshf): Likewise.
56955         * math/s_cexp.c (__cexpl): Likewise.
56956         * math/s_csin.c (__csin): Likewise.
56957         * math/s_csinh.c (__csinh): Likewise.
56958         * math/s_ctan.c (__ctan): Likewise.
56959         * math/s_ctanh.c (ctanh): Likewise.
56960         * math/s_ccoshl.c (__ccoshl): Likewise.
56961         * math/s_cexpl.c (__cexpl): Likewise.
56962         * math/s_csinl.c (__csinl): Likewise.
56963         * math/s_csinhl.c (__csinhl): Likewise.
56964         * math/s_ctanl.c (__ctanl): Likewise.
56965         * math/s_ctanhl.c (__ctanhl): Likewise.
56967 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56969         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56970         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56971         (_IO_off_t): Define to __off_t, not _G_off_t.
56972         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56973         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56974         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56975         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56976         type of __dummy and __dummy2 fields.
56977         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56978         (_G_ssize_t): Likewise.
56979         (_G_off_t): Likewise.
56980         (_G_pid_t): Likewise.
56981         (_G_uid_t): Likewise.
56982         (_G_wchar_t): Likewise.
56983         (_G_wint_t): Likewise.
56984         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56985         (_G_ssize_t): Likewise.
56986         (_G_off_t): Likewise.
56987         (_G_pid_t): Likewise.
56988         (_G_uid_t): Likewise.
56989         (_G_wchar_t): Likewise.
56990         (_G_wint_t): Likewise.
56991         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56992         (_G_ssize_t): Likewise.
56993         (_G_off_t): Likewise.
56994         (_G_pid_t): Likewise.
56995         (_G_uid_t): Likewise.
56996         (_G_wchar_t): Likewise.
56997         (_G_wint_t): Likewise.
56999 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57001         * malloc/arena.c: Include malloc-sysdep.h.
57002         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57003         is sufficient to shrink the heap or an unmap is needed.
57004         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57005         new function check_may_shrink_heap.
57006         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57007         new function check_may_shrink_heap.
57009 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57011         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57012         comments.
57014 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57016         * catgets/test-gencat.sh: Add "set -e".
57017         * elf/tst-pathopt.sh: Likewise.
57018         * grp/tst_fgetgrent.sh: Likewise.
57019         * iconvdata/run-iconv-test.sh: Likewise.
57020         * intl/tst-gettext.sh: Likewise.
57021         * intl/tst-gettext2.sh: Likewise.
57022         * intl/tst-gettext4.sh: Likewise.
57023         * intl/tst-gettext6.sh: Likewise.
57024         * intl/tst-translit.sh: Likewise.
57025         * io/ftwtest-sh: Likewise.
57026         * libio/test-freopen.sh: Likewise.
57027         * malloc/tst-mtrace.sh: Likewise.
57028         * posix/globtest.sh: Likewise.
57029         * posix/tst-getconf.sh: Likewise.
57030         * posix/wordexp-tst.sh: Likewise.
57031         * stdio-common/tst-printf.sh: Likewise.
57032         * stdio-common/tst-unbputc.sh: Likewise.
57033         * stdlib/tst-fmtmsg.sh: Likewise.
57034         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57035         * catgets/Makefile: Do not specify -e option when running
57036         testsuite shell scripts.
57037         * elf/Makefile: Likewise.
57038         * grp/Makefile: Likewise.
57039         * iconvdata/Makefile: Likewise.
57040         * intl/Makefile: Likewise.
57041         * io/Makefile: Likewise.
57042         * libio/Makefile: Likewise.
57043         * malloc/Makefile: Likewise.
57044         * posix/Makefile: Likewise.
57045         * stdio-common/Makefile: Likewise.
57046         * stdlib/Makefile: Likewise.
57047         * sysdeps/x86_64/Makefile: Likewise.
57049         * io/ftwtest-sh: Add copyright header.
57050         * posix/globtest.sh: Likewise.
57051         * posix/tst-getconf.sh: Likewise.
57052         * posix/wordexp-tst.sh: Likewise.
57053         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57055 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57057         [BZ #13679]
57058         * Makeconfig (+link): Defined as $(+link-static) if
57059         $(build-shared) isn't yes.
57060         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57061         isn't yes.
57062         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57064         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57066         [BZ #14562]
57067         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57068         new chunk size with MALLOC_ALIGN_MASK.
57070 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57072         [BZ #5044]
57073         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57074         <rounding-mode.h>.
57075         (__printf_fphex): Determine rounding using get_rounding_mode and
57076         round_away.
57077         * stdio-common/tst-printf-round.c (struct hex_test): New
57078         structure.
57079         (hex_tests): New variable.
57080         (test_hex_in_one_mode): New function.
57081         (do_test): Also run tests for hex float output.
57083 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57085         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57086         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57087         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57088         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57089         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57090         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57091         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57092         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57094 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57096         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57097         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57098         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57099         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57101 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57103         [BZ #14579]
57104         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57105         mode only.
57106         * elf/tst-rtld-load-self.sh: New test.
57107         * elf/Makefile: Run it.
57109 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57111         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57112         (tst-writev-ENV): Remove.
57113         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57115 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57117         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57119 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57121         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57122         unconditional.
57123         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57124         Likewise.
57125         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57126         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57127         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57128         Likewise.
57130 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57132         [BZ #14587]
57133         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57134         * config.make.in (have-cpp-asm-debuginfo): Removed.
57135         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57136         * configure: Regenerated.
57138 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57140         [BZ #5044]
57141         * stdio-common/printf_fp.c: Include <stdbool.h> and
57142         <rounding-mode.h>.
57143         (___printf_fp): Determine rounding using get_rounding_mode and
57144         round_away.
57145         * stdio-common/tst-printf-round.c: New file.
57146         * stdio-common/Makefile (tests): Add tst-printf-round.
57147         (link-libm): New variable.
57148         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57150 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57152         [BZ #14576]
57153         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57154         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57155         Likewise.
57156         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57157         Likewise.
57159 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57161         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57162         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57163         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57164         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57166 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57168         [BZ #14518]
57169         * include/rounding-mode.h: New file.
57170         * sysdeps/generic/get-rounding-mode.h: Likewise.
57171         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57172         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57173         (MAX_VALUE): New macro.
57174         (MIN_VALUE): Likewise.
57175         (overflow_value): New function.
57176         (underflow_value): Likewise.
57177         (round_and_return): Use overflow_value and underflow_value to
57178         determine return values in overflow and underflow cases.  Use
57179         round_away to determine rounding depending on rounding mode.
57180         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57181         determine return values in overflow and underflow cases.
57182         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57183         (struct test_results): New structure.
57184         (struct test): Use struct test_results to store expected results
57185         for all rounding modes.
57186         (TEST): Include expected results for all rounding modes.
57187         (test_in_one_mode): New function.
57188         (do_test): Use test_in_one_mode to compute and check results.
57189         Check results for all rounding modes.
57190         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57191         $(link-libm).
57193 2012-12-09  Allan McRae  <allan@archlinux.org>
57195         * sysdeps/i386/fpu/libm-test-ulps: Update
57197 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57199         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57200         (_G_int32_t): Likewise.
57201         (_G_uint16_t): Likewise.
57202         (_G_uint32_t): Likewise.
57203         (_G_HAVE_BOOL): Likewise.
57204         (_G_HAVE_ATEXIT): Likewise.
57205         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57206         (_G_HAVE_IO_FILE_OPEN): Likewise.
57207         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57208         (_G_int32_t): Likewise.
57209         (_G_uint16_t): Likewise.
57210         (_G_uint32_t): Likewise.
57211         (_G_HAVE_BOOL): Likewise.
57212         (_G_HAVE_ATEXIT): Likewise.
57213         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57214         (_G_HAVE_IO_FILE_OPEN): Likewise.
57215         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57216         (_G_int32_t): Likewise.
57217         (_G_uint16_t): Likewise.
57218         (_G_uint32_t): Likewise.
57219         (_G_HAVE_BOOL): Likewise.
57220         (_G_HAVE_ATEXIT): Likewise.
57221         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57222         (_G_HAVE_IO_FILE_OPEN): Likewise.
57224 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57226         * csu/libc-tls.c: Update copyright years.
57228 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57230         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57231         [!_G_USING_THUNKS]: Remove conditional code.
57232         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57233         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57235         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57236         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57237         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57238         (_G_VTABLE_LABEL_PREFIX): Likewise.
57239         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57240         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57241         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57242         (_G_VTABLE_LABEL_PREFIX): Likewise.
57243         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57244         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57245         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57246         (_G_VTABLE_LABEL_PREFIX): Likewise.
57247         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57249 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57251         * libio/Makefile: Include ../Makeconfig before tests.
57252         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57253         only if $(build-shared) is yes.
57255         * iconv/gconv_db.c: Update copyright years.
57257 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57259         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57260         unwind info if defined PIC. Fix special cases description.
57261         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57263         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57264         DP_HI_MASK entry.
57265         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57267 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57269         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57271         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57272         is NULL.
57274         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57275         (LDLIBS-tst-chk4): This.
57276         (LDFLAGS-tst-chk5): Renamed to ...
57277         (LDLIBS-tst-chk5): This.
57278         (LDFLAGS-tst-chk6): Renamed to ...
57279         (LDLIBS-tst-chk6): This.
57280         (LDFLAGS-tst-lfschk4): Renamed to ...
57281         (LDLIBS-tst-lfschk4): This.
57282         (LDFLAGS-tst-lfschk5): Renamed to ...
57283         (LDLIBS-tst-lfschk5): This.
57284         (LDFLAGS-tst-lfschk6): Renamed to ...
57285         (LDLIBS-tst-lfschk6): This.
57287         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57288         on $(common-objpfx)soversions.mk.
57290 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57292         [BZ #10014]
57293         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57294         example host name.
57296 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57298         * malloc/arena.c (arena_get_retry): New function that gets
57299         another arena for the caller to try its request on.
57300         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57301         current arena cannot fulfill the request.
57302         (__libc_memalign): Likewise.
57303         (__libc_memalign): Likewise.
57304         (__libc_pvalloc): Likewise.
57305         (__libc_calloc): Likewise.
57307 2012-09-05  John Tobey  <john.tobey@gmail.com>
57309         [BZ #13542]
57310         * manual/arith.texi (Operations on Complex): Fix description
57311         of carg branch cut.
57313 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57315         [BZ #10014]
57316         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57317         host name.
57319         [BZ #10038]
57320         * manual/memory.texi (Memory): Make order of menu items match
57321         order of sections.
57323 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57325         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57326         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57327         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57331         * csu/libc-tls.c (static_dtv): Renamed to ...
57332         (_dl_static_dtv): This.  Make it global.
57333         (_dl_initial_dtv): Removed.
57334         (__libc_setup_tls): Updated.
57335         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57336         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57337         DL_INITIAL_DTV.
57339 2012-09-06  Petr Machata  <pmachata@redhat.com>
57341         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57342         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57343         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57344         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57348         [BZ #14545]
57349         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57350         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57351         freeing dtv[-1].
57353 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57355         [BZ #14544]
57356         * Makeconfig (link-static-before-libc): Replace $(+prector)
57357         with $(+prectorT).
57358         (link-static-after-libc): Replace $(+postctor) with
57359         $(+postctorT).
57360         (link-bounded): Replace $(+prector)/$(+postctor) with
57361         $(+prectorT)/$(+postctorT).
57362         (+prectorT): New macro.
57363         (+postctorT): Likewise.
57365 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57367         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57368         (round_str): Handle values above the maximum for IBM long double
57369         as inexact.
57370         * stdlib/tst-strtod-round.c (tests): Regenerated.
57372 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57374         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57375         assembler flag.
57376         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57377         zarch_nohighgprs around the zarch optimized routines.
57378         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57379         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57381         for zarch.
57383 2012-09-05  David S. Miller  <davem@davemloft.net>
57385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57387         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57388         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57389         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57390         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57391         entries.
57393 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57395         * malloc/arena.c: Fold copyright years.
57396         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57398 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57400         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57402 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57404         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57406 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57408         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57409         change internal state upon failure.
57411 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57413         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57414         * malloc/memusage.c (mmap): Likewise.
57415         (mmap64, mremap): Likewise.  Adjust name in comment.
57417 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57419         * libio/fileops.c: Fix typos in comments.
57420         * libio/oldfileops.c: Likewise.
57421         * libio/wfileops.c: Likewise.
57423 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57425         [BZ #1349]
57426         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57427         (tst-malloc-usable-ENV): Set environment for test case.
57428         * malloc/hooks.c (malloc_check_get_size): New function to get
57429         requested size.
57430         * malloc/malloc.c (musable): Use malloc_check_get_size.
57431         * malloc/tst-malloc-usable.c: New test case.
57433 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57435         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57437 2012-09-05  Allan McRae  <allan@archlinux.org>
57439         [BZ #13966]
57440         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57441         determine header location.
57442         * configure: Regenerated.
57444 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57446         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57447         float format.
57448         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57449         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57450         format.
57451         (test): Regenerate.
57453 2012-09-04  David S. Miller  <davem@davemloft.net>
57455         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57456         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57457         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57459 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57461         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57462         failures.
57464         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57466 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57468         [BZ #9914]
57469         * libio/iogetdelim.c: Include <limits.h>.
57470         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57471         + len + 1 would overflow.
57473 2012-09-03  Andreas Jaeger  <aj@suse.de>
57475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57476         * sysdeps/i386/fpu/libm-test-ulps: Update.
57478 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57480         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57481         Add s_sinf-sse2, s_conf-sse2.
57483         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57484         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57485         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57486         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57488         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57489         for using routine as __sinf_ia32.
57490         Use macro for function declaration and weak_alias.
57491         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57492         for using routine as __cosf_ia32.
57493         Use macro for function declaration and weak_alias.
57495         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57496         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57498         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57499         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57502         * math/libm-test.inc (cos_test): Add more test cases.
57503         (sin_test): Likewise.
57504         (sincos_test): Likewise.
57506 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57509         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57510         hidden.
57511         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57513 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57515         [BZ #14538]
57516         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57517         first element of the GOT.
57518         (elf_machine_load_address): Return the difference between
57519         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57521 2012-09-01  Allan McRae  <allan@archlinux.org>
57523         [BZ #13412]
57524         * configure.in (AWK): Require gawk version 3.0 or later.
57525         * configure: Regenerated.
57527 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57529         * sysdeps/unix/sysv/linux/kernel-features.h
57530         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57531         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57532         [__NR_clock_getres]: Make code unconditional.
57533         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57534         (clock_getcpuclockid): Remove code left unreachable by removal of
57535         conditionals.
57536         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57537         code unconditional.
57538         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57539         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57540         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57541         Make code unconditional.
57542         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57543         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57544         * sysdeps/unix/sysv/linux/clock_settime.c
57545         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57546         conditional code.
57547         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57548         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57550 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57552         [BZ #14476]
57553         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57554         scripts/test-installation.pl.
57556         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57557         and $ld_so_version if it is set.
57559 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57561         [BZ #14516]
57562         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57563         failure if reading from procfs failed.
57564         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57566 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57568         * sysdeps/unix/sysv/linux/kernel-features.h
57569         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57570         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57571         Remove conditional code.
57572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57573         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57574         Remove conditional code.
57575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57576         * sysdeps/unix/sysv/linux/i386/fxstat.c
57577         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57579         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57580         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57582         * sysdeps/unix/sysv/linux/i386/lxstat.c
57583         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57585         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57586         Remove conditional code.
57587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57588         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57589         Remove conditional code.
57590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57591         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57592         <kernel-features.h>.
57593         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57594         Remove.
57595         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57596         Remove conditional code.
57597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57598         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57599         Remove conditional.
57601 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57603         [BZ #5400]
57604         * NEWS: Add fixed bug number.
57606 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57608         [BZ #14519]
57609         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57610         underflowing exponent in case of negative sign.
57611         * stdlib/tst-strtod-round-data: Add more tests.
57612         * stdlib/tst-strtod-round.c (tests): Regenerated.
57614         [BZ #3479]
57615         * stdlib/strtod_l.c (NDIG): Remove.
57616         (HEXNDIG): Likewise.
57617         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57618         smallest representable value.
57619         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57620         lie within an exact representation of 1/2 ulp of the result.
57621         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57622         unconditionally.
57623         (TENS_P9_IDX): Define unconditionally.
57624         (TENS_P9_SIZE): Likewise.
57625         (TENS_P10_IDX): Likewise.
57626         (TENS_P10_SIZE): Likewise.
57627         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57628         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57629         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57630         entries for 10^2^13 and 10^2^14.
57631         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57632         (TENS_P13_IDX): Define.
57633         (TENS_P13_SIZE): Likewise.
57634         (TENS_P14_IDX): Likewise.
57635         (TENS_P14_SIZE): Likewise.
57636         (_fpioconst_pow10): Change array size to
57637         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57638         unconditional.
57639         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57640         1024]: Add entries for 10^2^13 and 10^2^14.
57641         [LAST_POW10 > _LAST_POW10]: Remove #error.
57642         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57643         (_fpioconst_pow10): Change array size to
57644         FPIOCONST_POW10_ARRAY_SIZE.
57645         * stdlib/gen-fpioconst.c: New file.
57646         * stdlib/gen-tst-strtod-round.c: Likewise.
57647         * stdlib/tst-strtod-round-data: Likewise.
57648         * stdlib/tst-strtod-round.c: Likewise.
57649         * stdlib/Makefile (tests): Add tst-strtod-round.
57651         [BZ #14459]
57652         * stdlib/strtod_l.c: Include <stdint.h>.
57653         (NDEBUG): Do not define.
57654         (round_and_return): Change EXPONENT parameter to type intmax_t.
57655         Rearrange calculations to avoid internal overflow possibilities.
57656         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57657         Rearrange calculations to avoid internal overflow possibilities.
57658         Assert that number fits inside MPNSIZE limbs.
57659         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57660         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57661         calculations and add assertions to avoid internal overflow
57662         possibilities.  Add casts to avoid signed/unsigned operations.
57663         * stdlib/tst-strtod-overflow.c: New file.
57664         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57666 2012-08-25  Marek Polacek  <polacek@redhat.com>
57668         * time/time.h: Fix some typos in comments.
57670 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57672         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57673         * posix/tst-rfc3484-2.c: Likewise.
57674         * posix/tst-rfc3484-3.c: Likewise.
57676 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57678         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57679         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57681 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57683         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57684         #include of fxstatat64.c.
57686 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57688         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57689         * shadow/getspent_r.c: Likewise.
57690         * shadow/getspnam.c: Likewise.
57691         * shadow/getspnam_r.c: Likewise.
57692         * gshadow/getsgent.c: Likewise.
57693         * gshadow/getsgent_r.c: Likewise.
57694         * gshadow/getsgnam.c: Likewise.
57695         * gshadow/getsgnam_r.c: Likewise.
57696         * inet/getnetbyad.c: Likewise.
57697         * inet/getnetbyad_r.c: Likewise.
57698         * inet/getnetbynm.c: Likewise.
57699         * inet/getnetbynm_r.c: Likewise.
57700         * inet/getnetent.c: Likewise.
57701         * inet/getnetent_r.c: Likewise.
57702         * inet/getproto.c: Likewise.
57703         * inet/getproto_r.c: Likewise.
57704         * inet/getprtent.c: Likewise.
57705         * inet/getprtent_r.c: Likewise.
57706         * inet/getprtname.c: Likewise.
57707         * inet/getprtname_r.c: Likewise.
57708         * inet/getrpcbyname.c: Likewise.
57709         * inet/getrpcbyname_r.c: Likewise.
57710         * inet/getrpcbynumber.c: Likewise.
57711         * inet/getrpcbynumber_r.c: Likewise.
57712         * inet/getrpcent.c: Likewise.
57713         * inet/getrpcent_r.c: Likewise.
57714         * inet/getaliasent.c: Likewise.
57715         * inet/getaliasent_r.c: Likewise.
57716         * inet/getaliasname.c: Likewise.
57717         * inet/getaliasname_r.c: Likewise.
57718         * nscd/getgrgid_r.c: Likewise.
57719         * nscd/getgrnam_r.c: Likewise.
57720         * nscd/gethstbyad_r.c: Likewise.
57721         * nscd/gethstbynm3_r.c: Likewise.
57722         * nscd/getpwnam_r.c: Likewise.
57723         * nscd/getpwuid_r.c: Likewise.
57724         * nscd/getsrvbynm_r.c: Likewise.
57725         * nscd/getsrvbypt_r.c: Likewise.
57726         * nscd/gai.c: Likewise.
57728         * configure.in (build_nscd): New substituted variable, set
57729         by --disable-build-nscd and defaults to $use_nscd.
57730         * configure: Regenerated.
57731         * config.make.in (build-nscd): New substituted variable.
57732         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57733         Change conditional to require [$(build-nscd) = yes] as well.
57734         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57736         [BZ# 13696]
57737         * configure.in (use_nscd): New substituted variable, set by
57738         --disable-nscd.  If enabled, define USE_NSCD.
57739         * configure: Regenerated.
57740         * config.h.in: Add USE_NSCD.
57741         * config.make.in (use-nscd): New substituted variable.
57742         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57743         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57744         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57745         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57746         (CFLAGS-getgrnam_r.c): Likewise.
57747         (CFLAGS-initgroups.c): Likewise.
57748         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57749         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57750         Variables removed.
57751         * inet/getnetgrent_r.c
57752         (nscd_setnetgrent): New function, broken out of ...
57753         (setnetgrent): ... here.  Call it.
57754         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57755         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57756         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57757         * nscd/Makefile (routines, aux): Move definitions after include of
57758         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57759         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57760         Conditionalize on [USE_NSCD].
57761         (is_nscd, nscd_init_cb): Likewise.
57762         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57763         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57764         * nss/nss_db/db-init.c: Likewise.
57765         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57766         [USE_NSCD].
57767         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57768         (make_request): Use it.
57769         (cache_valid_p): New function.
57770         (__check_pf): Use it.
57771         * NEWS: Add item for --disable-nscd.
57773 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57775         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57776         to support sed >= 4.2.1-20-ga9bf076.
57777         * configure: Regenerated.
57779 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57781         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57782         Conditionalize whole body on [IREL].
57784 2012-08-22  Jeff Law <law@redhat.com>
57786         [BZ #14505]
57787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57788         if the family is PF_UNSPEC.
57790 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57792         * Makerules (lib-version): Rename from V.
57793         (install-lib-nosubdir): Change V to lib-version.
57795 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57797         [BZ #14252]
57798         * powerpc32/power6/wcschr.c: New file.
57799         * powerpc32/power6/wcscpy.c: New file.
57800         * powerpc32/power6/wcsrchr.c: New file.
57801         * powerpc64/power6/wcschr.c: New file.
57802         * powerpc64/power6/wcscpy.c: New file.
57803         * powerpc64/power6/wcsrchr.c: New file.
57805 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57807         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57808         (two_way_short_needle): Use it.
57809         * string/strstr.c (AVAILABLE1_USES_J): Define.
57810         * string/strcasestr.c: Likewise.
57812         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57813         array references.
57814         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57816         [BZ #11607]
57817         * NEWS: Add an entry.
57818         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57819         define their defaults.
57820         (two_way_short_needle): Detect end-of-string on-the-fly.
57821         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57822         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57823         * string/bug-strcasestr1.c: New test.
57824         * string/Makefile: Run it.
57826 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57828         [BZ #11607]
57829         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57830         the first character.
57832 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57834         * csu/elf-init.c (__libc_csu_irel): Function removed.
57835         * csu/libc-start.c (apply_irel): New function.
57836         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57838 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57840         * sysdeps/unix/sysv/linux/kernel-features.h
57841         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57842         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57843         <kernel-features.h>.
57844         [__NR_fadvise64_64]: Make code unconditional.
57845         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57846         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57847         !__NR_fadvise64_64)]: Likewise.
57848         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57849         !__NR_fadvise64_64))]: Likewise.
57850         [__NR_fadvise64]: Make code unconditional.
57851         [!__NR_fadvise64]: Remove conditional code.
57852         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57853         <kernel-features.h>.
57854         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57855         unconditional.
57856         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57857         conditional code.
57858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57859         not include <kernel-features.h>.
57860         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57861         unconditional.
57862         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57863         conditional code.
57864         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57865         include <kernel-features.h>.
57866         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57867         unconditional.
57868         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57869         conditional code.
57871 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57873         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57874         slight instruction rearrangements per scrollpipe analysis.
57875         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57877 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57879         * manual/syslog.texi (syslog; vsyslog, closelog):
57880         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57881         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57883         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57884         DSOCAPS to match condition on defining it.
57886 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57888         * sysdeps/unix/sysv/linux/kernel-features.h
57889         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57891         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57892         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57894         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57895         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57897         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57898         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57900         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57901         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57903         * sysdeps/unix/sysv/linux/kernel-features.h
57904         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57905         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57906         unconditional.
57907         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57908         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57909         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57910         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57911         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57912         Make code unconditional.
57913         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57914         (__mmap64) [!__NR_mmap2]: Likewise.
57915         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57916         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57917         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57918         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57919         [__NR_mmap2]: Make code unconditional.
57920         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57921         (__mmap64) [!__NR_mmap2]: Likewise.
57923 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57925         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57927 2012-08-18  Andreas Jaeger  <aj@suse.de>
57929         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57931 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57933         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57934         * include/unistd.h (__have_sock_cloexec): Likewise.
57935         (__have_pipe2): Likewise.
57936         (__have_dup3): Likewise.
57938 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57940         [BZ #9685]
57941         * include/unistd.h (__have_pipe2): Change define into an extern int.
57942         (__have_dup3): Likewise.
57943         * socket/have_sock_cloexec.c: Include fcntl.h.
57944         (__have_pipe2): New variable.
57945         (__have_dup3): Likewise.
57947 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57949         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57951 2012-08-17  Marek Polacek  <polacek@redhat.com>
57953         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57954         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57956 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57958         * configure.in: Add AC_SUBST for sysheaders.
57959         * configure: Regenerated.
57960         * config.make.in (sysheaders): New substituted variable.
57962         * sysdeps/unix/mkfifo.c: Moved ...
57963         * sysdeps/posix/mkfifo.c: ... here.
57964         * sysdeps/unix/mkfifoat.c: Moved ...
57965         * sysdeps/posix/mkfifoat.c: ... here.
57967         * sysdeps/unix/utime.c: Moved ...
57968         * sysdeps/posix/utime.c: ... here.
57970         * sysdeps/unix/time.c: Moved ...
57971         * sysdeps/posix/time.c: ... here.
57972         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57973         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57975         * sysdeps/unix/nice.c: Moved ...
57976         * sysdeps/posix/nice.c: ... here.
57978         * sysdeps/unix/alarm.c: Moved ...
57979         * sysdeps/posix/alarm.c: ... here.
57981         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57983 2012-08-17  Jeff Law <law@redhat.com>
57985         * intl/Makefile (codeset_mo): New variable.
57986         ($(codeset_mo)): New target.
57987         (tst-codeset.out): Depend on that.  Remove explicit rule.
57988         (tst-gettext3.out, tst-gettext5.out): Likewise.
57989         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57990         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57991         * intl/tst-codeset.sh: Remove.
57992         * intl/tst-gettext3.sh: Likewise.
57993         * intl/tst-gettext5.sh: Likewise.
57995 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57997         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57998         * sysdeps/unix/syscalls.list: ... here.
58000         * sysdeps/posix/getaddrinfo.c
58001         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58002         (gaiconf_init, gaiconf_reload): Use them.
58003         [!_STATBUF_ST_NSEC]
58004         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58005         Define using time_t rather than struct timespec.
58007         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58008         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58009         Macros removed.
58010         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58011         [!NO_THREADS].
58012         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58013         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58014         Likewise.
58016         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58017         __libc_cleanup_push argument.
58019         * bits/param.h: New file.
58020         * misc/sys/param.h: New file.
58021         * include/sys/param.h: New file.
58022         * misc/Makefile (headers): Add bits/param.h.
58023         * sysdeps/generic/sys/param.h: File removed.
58024         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58025         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58026         * sysdeps/mach/hurd/bits/param.h: New file.
58027         * sysdeps/mach/hurd/sys/param.h: File removed.
58029         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58030         last change.
58032         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58033         [_IO_MTSAFE_IO].
58034         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58035         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58036         New macros.
58038         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58039         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58040         rather than -D_IO_MTSAFE_IO conditionally.
58041         * stdio-common/Makefile (CPPFLAGS): Likewise.
58042         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58043         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58044         Use $(libio-mtsafe).
58045         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58046         of -D_IO_MTSAFE_IO.
58047         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58048         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58049         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58050         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58051         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58052         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58053         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58054         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58055         (CFLAGS-fread_u_chk.c): Likewise.
58056         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58057         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58058         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58059         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58060         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58061         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58062         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58063         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58064         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58066         * libio/Makefile: Test [$(libc-reentrant) = yes]
58067         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58069         * Makeconfig
58070         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58071         * sysdeps/pthread/configure: File removed.
58072         * sysdeps/pthread/Makeconfig: New file.
58073         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58074         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58076 2012-08-16  Gary Benson  <gbenson@redhat.com>
58078         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58079         unmapping the first object in a namespace.
58081 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58083         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58084         (__internal_setnetgrent): ... this.  Add internal_function to
58085         definition.  Add libc_hidden_def.
58086         (setnetgrent): Update caller.
58087         (internal_endnetgrent): Renamed to ...
58088         (__internal_endnetgrent): ... this.  Add internal_function to
58089         definition.  Add libc_hidden_def.
58090         (endnetgrent): Update caller.
58091         (internal_getnetgrent_r): Renamed to ...
58092         (__internal_getnetgrent_r): ... this.  Add internal_function to
58093         definition.  Add libc_hidden_def.
58094         (__getnetgrent_r): Update caller.
58095         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58097 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58099         * stdlib/longlong.h: Update from GCC.
58101 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58103         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58104         on _QL, which is set by umul_ppmm but never used.
58105         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58106         variables, which are set by GMP macros but never used.
58107         * stdio-common/_itowa.c (_itowa): Likewise.
58108         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58109         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58111 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58113         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58114         struct La_sh_regs is not constant.
58115         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58116         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58117         and struct La_sparc64_regs are not constant.
58119 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58121         * sysdeps/unix/sysv/linux/kernel-features.h
58122         (__ASSUME_POSIX_TIMERS): Remove.
58123         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58125         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58126         Make code unconditional.
58127         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58128         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58129         Make code unconditional.
58130         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58131         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58132         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58133         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58134         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58135         Make code unconditional.
58136         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58137         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58138         (__libc_missing_posix_timers): Remove.
58140 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58142         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58143         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58145         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58147         * elf/dl-sym.c: Include <stdlib.h>.
58149         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58150         constants, which avoids warnings in 32-bit builds.
58152         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58153         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58155         * misc/lseek.c: File moved to ...
58156         * io/lseek.c: ... here.
58158         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58160         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58161         shifting LEN more than 31 bits at once.
58163 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58165         [BZ #14195]
58166         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58167         segmentation fault for a case of two empty input strings.
58168         * string/test-strncasecmp.c (check1): Renamed to...
58169         (bz12205): ...this.
58170         (bz14195): Add new testcase for two empty input strings and N > 0.
58171         (test_main): Call new testcase, adapt for renamed function.
58173 2012-08-15  Andreas Jaeger  <aj@suse.de>
58175         [BZ #14090]
58176         * crypt/md5test2.c: New test, based on test supplied by Serge
58177         Belyshev <belyshev@depni.sinp.msu.ru>.
58178         * crypt/Makefile (xtests): Add md5test-giant..
58179         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58181 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58183         [BZ #14090]
58184         * crypt/md5.c (md5_process_block): Don't assume the buffer
58185         length is less than 2**32.
58186         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58187         length is less than 2**64.
58189 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58191         * string/str-two-way.h: Include <sys/param.h>.
58192         (MAX): Macro removed.
58194         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58195         Move #define and #undef of memmove to just before and after
58196         including <string.h>.
58198         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58199         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58200         and after including <string.h>.  Move declarations of
58201         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58202         to before #include "string/memmove.c".
58204         * include/dirent.h: Declare __getdirentries.
58206         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58207         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58209 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58211         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58212         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58213         * sysdeps/i386/configure: Regenerated.
58214         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58215         STABS_CURRENT_FILE, and STABS_FUN.
58216         (END): Remove call to STABS_FUN_END.
58217         (STABS_CURRENT_FILE1): Delete.
58218         (STABS_CURRENT_FILE): Likewise.
58219         (STABS_FUN): Likewise.
58220         (STABS_FUN_END): Likewise.
58221         (STABS_FUN2): Likewise.
58222         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58223         * sysdeps/x86_64/configure: Regenerated.
58225 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58227         * elf/dl-open.c: Include <atomic.h>.
58228         * elf/dl-lookup.c: Likewise.
58230 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58232         * sysdeps/unix/sysv/linux/kernel-features.h
58233         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58234         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58235         unconditionally.
58236         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58237         unconditionally.
58238         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58239         condition on __ASSUME_CLONE_THREAD_FLAGS.
58241 2012-08-14  Andreas Jaeger  <aj@suse.de>
58243         * sysdeps/i386/fpu/libm-test-ulps: Update.
58245 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58247         * include/atomic.h (atomic_exchange_and_add): Split into ...
58248         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58249         New atomic macros.
58251 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58255 2012-08-13  Jeff Law <law@redhat.com>
58257         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58258         null byte in the output string.
58260 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58262         * sysdeps/unix/sysv/linux/kernel-features.h
58263         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58264         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58265         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58266         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58267         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58268         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58269         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58271 2012-08-09  Jeff Law <law@redhat.com>
58273         [BZ #13939]
58274         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58275         When avoid_arena is set, don't retry in the that arena.  Pick the
58276         next one, whatever it might be.
58277         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58278         (arena_lock): Pass in new parameter to arena_get2.
58279         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58280         arena_get2.
58281         (__libc_malloc): Unify retrying after main arena failure with
58282         __libc_memalign version.
58283         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58285 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58287         [BZ #14166]
58288         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58289         to __redirect_strstr.
58290         (__strstr_sse42): Use typeof __redirect_strstr.
58291         (__strstr_ia32): Likewise.
58292         (__libc_strstr): New prototype.
58293         (strstr): Renamed to ...
58294         (__libc_strstr): This.
58295         (strstr): New strong alias of __libc_strstr.
58296         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58297         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58298         __redirect_time.
58299         Include <time.h>.
58300         (__libc_time): New prototype.
58301         (time_ifunc): Replace time with __libc_time.
58302         (time): New strong alias and hidden definition of __libc_time.
58303         (__GI_time): Remove strong alias.
58304         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58305         Include <stddef.h>.
58306         (memmove): Redefined to __redirect_memmove.
58307         (__memmove_sse2): Use typeof __redirect_memmove.
58308         (__memmove_ssse3): Likewise.
58309         (__memmove_ssse3_back): Likewise.
58310         (__libc_memmove): New prototype.
58311         (memmove): Renamed to ...
58312         (__libc_memmove): This.
58313         (memmove): New strong alias of __libc_memmove.
58315 2012-08-08  Mark Salter  <msalter@redhat.com>
58317         * elf/elf.h
58318         (R_MN10300_TLS_GD): Define.
58319         (R_MN10300_TLS_LD): Likewise.
58320         (R_MN10300_TLS_LDO): Likewise.
58321         (R_MN10300_TLS_GOTIE): Likewise.
58322         (R_MN10300_TLS_IE): Likewise.
58323         (R_MN10300_TLS_LE): Likewise.
58324         (R_MN10300_TLS_DTPMOD): Likewise.
58325         (R_MN10300_TLS_DTPOFF): Likewise.
58326         (R_MN10300_TLS_TPOFF): Likewise.
58327         (R_MN10300_SYM_DIFF): Likewise.
58328         (R_MN10300_ALIGN): Likewise.
58329         (R_MN10300_NUM): Update.
58331 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58334         Remove.
58336 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58338         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58340         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58341         sysdeps/unix -> sysdeps/posix move.
58342         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58344 2012-08-07      Allan McRae     <allan@archlinux.org>
58346         [BZ #14303]
58347         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58348         (SUNOS_CPP): Likewise.
58349         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58350         not found.
58351         (open_input): Call CPP using execvp.
58353 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58355         * sysdeps/unix/sysv/linux/kernel-features.h
58356         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58359         (__ASSUME_WAITID_SYSCALL): Likewise.
58360         * sysdeps/unix/sysv/linux/dl-execstack.c
58361         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58362         code unconditional.
58363         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58364         conditional code.
58365         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58366         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58367         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58368         code.
58369         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58370         unconditional.
58371         [__ASSUME_WAITID_SYSCALL]: Likewise.
58372         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58374 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58376         * sysdeps/unix/closedir.c: Renamed to ...
58377         * sysdeps/posix/closedir.c: ... here.
58378         * sysdeps/unix/dirfd.c: Renamed to ...
58379         * sysdeps/posix/dirfd.c: ... here.
58380         * sysdeps/unix/dirstream.h: Renamed to ...
58381         * sysdeps/posix/dirstream.h: ... here.
58382         * sysdeps/unix/fdopendir.c: Renamed to ...
58383         * sysdeps/posix/fdopendir.c: ... here.
58384         * sysdeps/unix/opendir.c: Renamed to ...
58385         * sysdeps/posix/opendir.c: ... here.
58386         * sysdeps/unix/readdir.c: Renamed to ...
58387         * sysdeps/posix/readdir.c: ... here.
58388         * sysdeps/unix/readdir_r.c: Renamed to ...
58389         * sysdeps/posix/readdir_r.c: ... here.
58390         * sysdeps/unix/rewinddir.c: Renamed to ...
58391         * sysdeps/posix/rewinddir.c: ... here.
58392         * sysdeps/unix/seekdir.c: Renamed to ...
58393         * sysdeps/posix/seekdir.c: ... here.
58394         * sysdeps/unix/telldir.c: Renamed to ...
58395         * sysdeps/posix/telldir.c: ... here.
58396         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58397         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58398         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58399         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58401         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58402         * bits/fcntl.h: ... here.
58404         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58405         not 0.
58406         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58407         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58408         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58409         (struct flock): Move l_start, l_len to the beginning.
58410         Use __pid_t for l_pid.
58411         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58412         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58413         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58414         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58415         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58416         [__USE_LARGEFILE64] (struct flock64): New type.
58417         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58419         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58420         * bits/dirent.h: ... here.
58422         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58423         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58425 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58428         Change from 2.6.0 to 2.6.16.
58429         * sysdeps/unix/sysv/linux/configure: Regenerated.
58430         * sysdeps/unix/sysv/linux/kernel-features.h
58431         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58432         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58433         version.
58434         (__ASSUME_UTIMES): Likewise.
58435         (__ASSUME_CLONE_STOPPED): Remove.
58436         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58437         architectures, not kernel version.
58438         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58439         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58440         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58441         (__ASSUME_WAITID_SYSCALL): Likewise.
58442         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58443         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58444         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58445         refer to older versions.
58447 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58449         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58450         Define alphasort64 as an alias.
58451         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58452         Define versionsort64 as an alias.
58453         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58454         Define scandir64 as an alias.
58455         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58456         Define scandirat64 as an alias.
58457         * dirent/alphasort64.c (alphasort64):
58458         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58459         * dirent/versionsort64.c: Likewise.
58460         * dirent/scandir64.c: Likewise.
58461         * dirent/scandirat64.c: Likewise.
58462         * sysdeps/wordsize-64/alphasort.c: File removed.
58463         * sysdeps/wordsize-64/alphasort64.c: File removed.
58464         * sysdeps/wordsize-64/scandir.c: File removed.
58465         * sysdeps/wordsize-64/scandir64.c: File removed.
58466         * sysdeps/wordsize-64/scandirat.c: File removed.
58467         * sysdeps/wordsize-64/scandirat64.c: File removed.
58468         * sysdeps/wordsize-64/versionsort.c: File removed.
58469         * sysdeps/wordsize-64/versionsort64.c: File removed.
58470         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58471         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58472         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58473         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58474         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58475         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58479         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58481         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58483         [defined __arch64__ || defined __sparcv9]
58484         (__INO_T_MATCHES_INO64_T): New macro.
58485         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58486         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58487         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58488         * sysdeps/unix/sysv/linux/bits/dirent.h
58489         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58490         (_DIRENT_MATCHES_DIRENT64): New macro.
58492         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58493         Define lockf64 as an alias.
58494         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58495         Define fseeko64 as an alias.
58496         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58497         Define ftello64 as an alias.
58498         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58499         Define _IO_fgetpos64 and fgetpos64 as aliases.
58500         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58501         Define _IO_fsetpos64 and fsetpos64 as aliases.
58502         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58503         Conditionalize body on this.
58504         * libio/fseeko64.c: Likewise.
58505         * libio/ftello64.c: Likewise.
58506         * libio/iofgetpos64.c: Likewise.
58507         * libio/iofsetpos64.c: Likewise.
58508         * sysdeps/wordsize-64/lockf.c: File removed.
58509         * sysdeps/wordsize-64/lockf64.c: File removed.
58510         * sysdeps/wordsize-64/fseeko.c: File removed.
58511         * sysdeps/wordsize-64/fseeko64.c: File removed.
58512         * sysdeps/wordsize-64/ftello.c: File removed.
58513         * sysdeps/wordsize-64/ftello64.c: File removed.
58514         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58515         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58516         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58517         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58518         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58519         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58520         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58522         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58524         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58525         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58526         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58529         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58531         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58532         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58533         [defined __arch64__ || defined __sparcv9]
58534         (__OFF_T_MATCHES_OFF64_T): New macro.
58535         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58536         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58538         (__OFF_T_MATCHES_OFF64_T): New macro.
58540 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58542         * stdlib/secure-getenv.c (__secure_getenv): Replace
58543         GLIBC_2_16 with GLIBC_2_17.
58545 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58547         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58550 2012-08-03  David S. Miller  <davem@davemloft.net>
58552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58554 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58557         Remove.
58558         (__ASSUME_CORRECT_SI_PID): Likewise.
58559         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58560         (__ASSUME_TMPFS_NAME): Likewise.
58561         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58562         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58563         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58564         (HAVE_AUX_SECURE): Make definition unconditional.
58565         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58566         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58568 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58570         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58571         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58572         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58573         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58574         __eloop_threshold instead of SYMLOOP_MAX.
58576         * sysdeps/generic/eloop-threshold.h: New file.
58577         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58578         of MAXSYMLINKS.
58579         * elf/chroot_canon.c (chroot_canon): Likewise.
58581 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58583         [BZ #13717]
58584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58585         Change to 2.6.0 everywhere.
58586         * sysdeps/unix/sysv/linux/configure: Regenerated.
58587         * sysdeps/unix/sysv/linux/kernel-features.h
58588         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58589         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58590         kernel versions.
58591         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58592         (__ASSUME_FUTEX_REQUEUE): Remove.
58593         (__ASSUME_STATFS64): Define unconditionally.
58594         (__ASSUME_AT_SECURE): Likewise.
58595         (__ASSUME_CORRECT_SI_PID): Likewise.
58596         (__ASSUME_TGKILL): Define without depending on kernel version for
58597         i386.
58598         (__ASSUME_UTIMES): Likewise.
58599         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58600         kernel version.
58601         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58602         (__ASSUME_TMPFS_NAME): Likewise.
58603         * README: Update reference to Linux kernel versions.
58605 2012-08-02  Marek Polacek  <polacek@redhat.com>
58607         [BZ# 14150]
58608         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58609         libc_cv_asm_type_prefix with %.
58610         * configure: Regenerated.
58611         * include/libc-symbols.h: Remove comment about
58612         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58613         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58614         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58615         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58616         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58617         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58618         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58619         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58620         * elf/tst-unique2mod1.c: Likewise.
58621         * elf/tst-unique1mod2.c: Likewise.
58622         * elf/tst-unique1mod1.c: Likewise.
58623         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58624         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58625         Replace ASM_TYPE_DIRECTIVE with .type.
58626         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58627         * sysdeps/i386/sysdep.h: Likewise.
58628         * sysdeps/x86_64/sysdep.h: Likewise.
58629         * sysdeps/sh/sysdep.h: Likewise.
58630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58631         Do not define ASM_TYPE_DIRECTIVE.
58632         * sysdeps/powerpc/sysdep.h: Likewise.
58633         * sysdeps/powerpc/powerpc32/sysdep.h:
58634         Replace ASM_TYPE_DIRECTIVE with .type.
58635         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58636         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58637         * sysdeps/i386/fpu/e_powf.S: Likewise.
58638         * sysdeps/i386/fpu/e_expl.S: Likewise.
58639         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58640         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58641         * sysdeps/i386/fpu/e_pow.S: Likewise.
58642         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58643         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58644         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58645         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58646         * sysdeps/i386/fpu/e_log2.S: Likewise.
58647         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58648         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58649         * sysdeps/i386/fpu/e_powl.S: Likewise.
58650         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58651         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58652         * sysdeps/i386/fpu/e_logl.S: Likewise.
58653         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58654         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58655         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58656         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58657         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58658         * sysdeps/i386/fpu/e_log.S: Likewise.
58659         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58660         * sysdeps/i386/fpu/e_logf.S: Likewise.
58661         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58662         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58663         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58664         * sysdeps/i386/fpu/e_log10.S: Likewise.
58665         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58666         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58667         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58668         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58669         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58670         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58671         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58672         * sysdeps/i386/i686/strtok.S: Likewise.
58673         * sysdeps/i386/i386-mcount.S: Likewise.
58674         * sysdeps/i386/strtok.S: Likewise.
58675         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58676         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58677         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58678         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58679         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58680         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58681         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58682         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58683         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58684         * sysdeps/x86_64/_mcount.S: Likewise.
58685         * sysdeps/x86_64/strtok.S: Likewise.
58686         * sysdeps/sh/_mcount.S: Likewise.
58688 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58690         * libio/iofopen.c: Include <fcntl.h>.
58691         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58692         (_IO_fopen64, fopen64): Define as aliases.
58693         * libio/iofopen64.c: Include <fcntl.h>.
58694         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58695         Conditionalize body on this.
58696         * sysdeps/wordsize-64/iofopen.c: File removed.
58697         * sysdeps/wordsize-64/iofopen64.c: File removed.
58699 2012-08-01  Marek Polacek  <polacek@redhat.com>
58701         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58702         Use dlfcn directly instead of a variable.
58703         (binfmt-subdir): Do not define.
58704         (dlfcn): Likewise.
58706 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58709         Remove all definitions.
58710         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58711         <kernel-features.h>.
58712         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58713         (miss_F_GETOWN_EX): Remove all definitions.
58714         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58715         macro definition.
58716         [!__ASSUME_FCNTL64]: Remove conditional code.
58717         [__ASSUME_FCNTL64]: Make code unconditional.
58718         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58719         <kernel-features.h>.
58720         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58721         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58722         (lockf64) [__NR_fcntl64]: Make code unconditional.
58723         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58725         * sysdeps/unix/sysv/linux/kernel-features.h
58726         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58727         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58728         Make code unconditional.
58729         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58730         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58732         [__NR_vfork]: Make code unconditional.
58733         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58734         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58736         [__NR_vfork]: Make code unconditional.
58737         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58738         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58740 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58742         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58743         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58745         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58746         Define mkstemp64 as an alias.
58747         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58748         Define mkstemps64 as an alias.
58749         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58750         Define mkostemp64 as an alias.
58751         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58752         Define mkostemps64 as an alias.
58753         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58754         Conditionalize body on this.
58755         * misc/mkostemp64.c: Likewise.
58756         * misc/mkostemps64.c: Likewise.
58757         * misc/mkstemps64.c: Likewise.
58758         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58759         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58760         * sysdeps/wordsize-64/mkostemp.c: File removed.
58761         * sysdeps/wordsize-64/mkstemp.c: File removed.
58762         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58763         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58764         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58765         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58767         [BZ #14138]
58768         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58769         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58770         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58771         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58773         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58774         compat_symbol macros from <shlib-compat.h> rather than the underlying
58775         default_symbol_version and symbol_version macros, so that DEFAULT
58776         lines in shlib-versions are respected.
58777         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58779 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58781         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58782         Declare with warn_unused_result.
58783         (setgid, setregid, setegid, setresgid): Likewise.
58784         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58785         Likewise.
58786         * WUR-REPORT: Remove set*id functions.
58788 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58790         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58792 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58794         [BZ #10191]
58795         * include/sys/socket.h (__libc_accept, __libc_accept4):
58796         Add attribute_hidden.
58797         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58799         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58800         use of PTR_MANGLE.
58801         * inet/getnetgrent_r.c (setup): Likewise.
58803         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58805 2012-07-31  David S. Miller  <davem@davemloft.net>
58807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58809 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58811         [BZ #13629]
58812         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58813         value between 1.0 and 2.0 and smaller part has absolute value less
58814         than 1.0.
58815         * math/s_clog10.c (__clog10): Likewise.
58816         * math/s_clog10f.c (__clog10f): Likewise.
58817         * math/s_clog10l.c (__clog10l): Likewise.
58818         * math/s_clogf.c (__clogf): Likewise.
58819         * math/s_clogl.c (__clogl): Likewise.
58820         * math/libm-test.inc (clog_test): Add more tests.
58821         (clog10_test): Likewise.
58822         * sysdeps/i386/fpu/libm-test-ulps: Update.
58823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58825 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58827         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58828         Exit with zero in case no suitable GID is found, and write a
58829         message to standard error.
58831 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58833         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58834         rather than to 1.
58835         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58836         (MAXPATHLEN): Removed.
58837         (NOGROUP, NODEV): New macros.
58838         (setbit, clrbit, isset, isclr): New macros.
58839         (howmany, roundup, powerof2): New macros.
58840         (DEV_BSIZE): New macro.
58842         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58843         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58845         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58846         definition on [!__NO_LONG_DOUBLE_MATH].
58848         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58849         PTR_MANGLE and PTR_DEMANGLE.
58851         * socket/accept4.c (accept4): Rename to __libc_accept4.
58852         Define accept4 as a weak alias.
58854         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58855         on [_DIRENT_HAVE_D_TYPE].
58856         * io/ftw.c (ftw_dir): Likewise.
58858         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58860         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58862         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58863         Use the BSD numbers rather than the arbitrary ones we had.
58864         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58865         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58866         (SIGXCPU, SIGXFSZ): New macros.
58867         (_NSIG): Now 32.
58869         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58870         initializer on [_LIBC_REENTRANT].
58872         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58873         definitions inside [_POSIX_MAPPED_FILES].
58875         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58877         * dirent/opendir.c: Include <fcntl.h>.
58879         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58880         (__libc_getspecific): Likewise.
58881         (__libc_key_create): Likewise.
58883         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58884         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58885         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58886         (tmpfile64): Define as alias.
58887         * sysdeps/wordsize-64/tmpfile.c: File removed.
58888         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58889         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58892         * stdio-common/vfscanf.c: Include <stdbool.h>.
58893         * nss/makedb.c: Likewise.
58894         * stdio-common/_i18n_number.h: Likewise.
58895         * argp/argp-help.c: Likewise.
58896         * posix/wordexp.c: Likewise.
58897         * sysdeps/posix/spawni.c: Likewise.
58898         * nss/nss_files/files-initgroups.c: Likewise.
58899         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58900         * nss/nss_files/files-initgroups.c: Likewise.
58901         * nss/nss_db/db-netgrp.c: Likewise.
58902         * nss/nss_db/db-initgroups.c: Likewise.
58903         * io/fchmodat.c: Include <sys/stat.h>.
58905         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58906         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58908         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58909         [HAVE_MMAP].
58911         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58912         Add multiple inclusion protection.
58914 2012-07-27  David S. Miller  <davem@davemloft.net>
58916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58918 2012-07-27  Gary Benson  <gbenson@redhat.com>
58920         [BZ #14298]
58921         * elf/rtld.c: Include <stap-probe.h>.
58922         (dl_main): Added static probes "init_start" and "init_complete".
58923         * elf/dl-load.c: Include <stap-probe.h>.
58924         (lose): Take new parameter "nsid".
58925         Added static probe "map_failed".
58926         (_dl_map_object_from_fd): Pass namespace id to lose.
58927         Added static probe "map_start".
58928         (open_verify): Pass namespace id to lose.
58929         * elf/dl-open.c: Include <stap-probe.h>.
58930         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58931         and "reloc_complete".
58932         * elf/dl-close.c: Include <stap-probe.h>.
58933         (_dl_close_worker): Added static probes "unmap_start" and
58934         "unmap_complete".
58935         * elf/rtld-debugger-interface.txt: New file documenting the above.
58937 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58939         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58940         rather than a string variable.
58941         * sunrpc/rpc_main.c (h_output): Likewise.
58942         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58944 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58946         * inet/check_native.c: New file.
58948 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58950         [BZ #13629]
58951         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58952         if larger part has absolute value 1.0.
58953         * math/s_clog10.c (__clog10): Likewise.
58954         * math/s_clog10f.c (__clog10f): Likewise.
58955         * math/s_clog10l.c (__clog10l): Likewise.
58956         * math/s_clogf.c (__clogf): Likewise.
58957         * math/s_clogl.c (__clogl): Likewise.
58958         * math/libm-test.inc (clog_test): Add more tests.
58959         (clog10_test): Likewise.
58960         * sysdeps/i386/fpu/libm-test-ulps: Update.
58961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58963         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58964         (pltexit): Likewise.
58965         (La_regs): Likewise.
58966         (La_retval): Likewise.
58967         (int_retval): Likewise.
58968         Update #error for removed macros to refer only to definitions in
58969         tst-audit.h.
58970         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58971         macro.
58972         (pltexit): Likewise.
58973         (La_regs): Likewise.
58974         (La_retval): Likewise.
58975         (int_retval): Likewise.
58976         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58977         macro.
58978         (pltexit): Likewise.
58979         (La_regs): Likewise.
58980         (La_retval): Likewise.
58981         (int_retval): Likewise.
58982         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58983         macro.
58984         (pltexit): Likewise.
58985         (La_regs): Likewise.
58986         (La_retval): Likewise.
58987         (int_retval): Likewise.
58988         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58989         macro.
58990         (pltexit): Likewise.
58991         (La_regs): Likewise.
58992         (La_retval): Likewise.
58993         (int_retval): Likewise.
58994         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58995         macro.
58996         (pltexit): Likewise.
58997         (La_regs): Likewise.
58998         (La_retval): Likewise.
58999         (int_retval): Likewise.
59000         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59001         macro.
59002         (pltexit): Likewise.
59003         (La_regs): Likewise.
59004         (La_retval): Likewise.
59005         (int_retval): Likewise.
59006         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59007         macro definitions in tst-audit.h.
59008         * sysdeps/i386/tst-audit.h: New file.
59009         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59010         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59011         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59012         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59013         * sysdeps/sh/tst-audit.h: Likewise.
59014         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59015         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59016         * sysdeps/x86_64/tst-audit.h: Likewise.
59018 2012-07-26  Andreas Jaeger  <aj@suse.de>
59020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59021         ptrace.
59023         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59024         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59025         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59026         PTRACE_O_MASK.
59027         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59028         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59029         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59031         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59032         value.
59034         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59035         _sigsys.
59036         (si_call_addr, si_syscall, si_arch): Define new macro.
59037         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59038         _sigsys.
59039         (si_call_addr, si_syscall, si_arch): Define new marcro.
59040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59041         _sigsys.
59042         (si_call_addr, si_syscall, si_arch): Define new macro.
59043         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59044         _sigsys.
59045         (si_call_addr, si_syscall, si_arch): Define new macro.
59047 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59049         [BZ #13717]
59050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59051         Change to 2.4.21 where previously 2.4.1.
59052         * sysdeps/unix/sysv/linux/configure: Regenerated.
59053         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59054         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59055         Linux kernel version.
59056         (__ASSUME_STD_AUXV): Remove.
59057         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59058         kernel version.
59059         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59060         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59061         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59062         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59063         (__ASSUME_NETLINK_SUPPORT): Likewise.
59064         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59065         (__no_netlink_support): Remove conditional definition.
59066         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59067         Remove.
59068         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59069         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59070         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59071         (if_nameindex_ioctl): Remove.
59072         (if_nameindex_netlink): Do not handle __no_netlink_support.
59073         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59074         code.
59075         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59076         Remove conditional code.
59077         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59078         code.
59079         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59080         unconditional.
59081         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59082         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59083         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59084         Remove.
59085         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59086         [!__ASSUME_STD_AUXV]: Remove conditional code.
59087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59088         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59089         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59091         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59092         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59093         code.
59094         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59096         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59097         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59098         conditional code.
59099         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59101         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59102         code.
59103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59104         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59105         conditional code.
59106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59107         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59108         code unconditional.
59109         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59110         conditional code.
59111         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59112         unconditional.
59113         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59114         conditional code.
59115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59116         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59117         unconditional.
59118         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59119         conditional code.
59120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59121         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59122         code unconditional.
59123         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59124         conditional code.
59125         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59126         unconditional.
59127         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59128         conditional code.
59129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59130         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59131         code unconditional.
59132         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59133         conditional code.
59134         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59135         unconditional.
59136         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59137         conditional code.
59139 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59141         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59142         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59143         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59144         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59145         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59146         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59147         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59148         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59149         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59150         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59151         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59152         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59153         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59154         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59155         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59156         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59157         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59158         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59159         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59161         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59162         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59165 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59167         * Versions.def: Add GLIBC_2.17.
59168         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59169         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59170         Introduce __libc_secure_getenv.
59171         * stdlib/Versions (2.17): Add secure_getenv
59172         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59173         * stdlib/secure-getenv.c: Rename __secure_getenv to
59174         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59175         symbol __secure_getenv for GLIBC_2.0.
59176         * stdlib/tst-secure-getenv.c: New.
59177         * stdlib/Makefile (tests): Add testcase.
59178         * manual/startup.texi (Environment Access): Document
59179         secure_getenv.
59180         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59181         __libc_secure_getenv.
59182         * inet/ruserpass.c (ruserpass): Likewise.
59183         * malloc/mtrace.c (mtrace): Likewise.
59184         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59185         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59186         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59187         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59188         HAVE_SECURE_GETENV.
59189         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59190         __secure_getenv to __libc_secure_getenv.
59191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59193         Likewise.
59194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59195         Likewise.
59196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59198         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59204 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59206         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59207         (struct La_i86_retval): Likewise.
59208         (struct La_x86_64_regs): Likewise.
59209         (struct La_x86_64_retval): Likewise.
59210         (struct La_x32_regs): Likewise.
59211         (struct La_x32_retval): Likewise.
59212         (struct La_ppc32_regs): Likewise.
59213         (struct La_ppc32_retval): Likewise.
59214         (struct La_ppc64_regs): Likewise.
59215         (struct La_ppc64_retval): Likewise.
59216         (struct La_sh_regs): Likewise.
59217         (struct La_sh_retval): Likewise.
59218         (struct La_s390_32_regs): Likewise.
59219         (struct La_s390_32_retval): Likewise.
59220         (struct La_s390_64_regs): Likewise.
59221         (struct La_s390_64_retval): Likewise.
59222         (struct La_sparc32_regs): Likewise.
59223         (struct La_sparc32_retval): Likewise.
59224         (struct La_sparc64_regs): Likewise.
59225         (struct La_sparc64_retval): Likewise.
59226         (struct audit_ifaces): Remove architecture-specific pltenter and
59227         pltexit members.
59228         * sysdeps/i386/ldsodefs.h: New file.
59229         * sysdeps/powerpc/ldsodefs.h: Likewise.
59230         * sysdeps/s390/ldsodefs.h: Likewise.
59231         * sysdeps/sh/ldsodefs.h: Likewise.
59232         * sysdeps/sparc/ldsodefs.h: Likewise.
59233         * sysdeps/x86_64/ldsodefs.h: Likewise.
59235 2012-07-25  Marek Polacek  <polacek@redhat.com>
59237         [BZ #6808]
59238         * math/libm-test.inc (yn_test): Add another test.
59239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59240         to ERANGE when the result is +-Inf.
59241         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59244         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59246 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59248         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59249         equal to 0.
59250         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59251         clock_t.
59252         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59254 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59256         * configure.in <sysdeps resolving>: Correct printing
59257         Implies_before.
59258         * configure: Regenerate.
59260 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59262         * math/w_ilogb.c: Include <limits.h>.
59263         * math/w_ilogbl.c: Likewise.
59265 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59267         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59268         va_copy.  Document allowing for unavailable va_copy only as
59269         pre-C99 compatibility.
59270         * manual/string.texi (Copying and Concatenation): Use va_copy
59271         instead of __va_copy in concat example.
59273 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59275         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59276         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59277         it if not null.
59279         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59280         with O_NOLINK passed to __file_name_lookup.
59282         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59283         with O_NOLINK passed to __file_name_lookup.
59285         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59286         negative N or less than NGIDS.
59288         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59289         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59290         enough.  Use memcpy instead of strncpy.
59292 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59294         * elf/Makefile (check-data): Remove.
59295         (localplt.data): New vpath directive.
59296         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59297         instead of $(check-data).
59298         * scripts/data/localplt-generic.data: Move to ...
59299         * sysdeps/generic/localplt.data: ... here.
59300         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59301         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59302         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59304         ... here.
59305         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59307         ... here.
59308         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59310         ... here.
59311         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59313         ... here.
59314         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59316         ... here.
59317         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59319         ... here.
59321 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59323         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59324         PPC32 and PPC64 files.
59325         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59326         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59328 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59330         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59331         __makecontext_ret to ...
59332         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59333         ... here and call exit if uc_link is NULL.  New file.
59334         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59335         __makecontext_ret.S.
59336         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59337         __makecontext_ret to ...
59338         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59339         ... here and call exit if uc_link is NULL.  New file.
59340         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59341         __makecontext_ret.S.
59343 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59345         * elf/elf.h (R_390_IRELATIVE): New definition.
59346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59347         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59348         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59350         (elf_machine_lazy_rel): Likewise.
59351         * sysdeps/s390/dl-irel.h: New file.
59352         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59353         * sysdeps/s390/s390-64/memset.S: New asm code.
59354         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59355         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59356         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59357         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59358         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59359         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59360         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59361         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59362         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59363         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59364         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59365         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59366         * sysdeps/s390/s390-32/memset.S: New asm code.
59367         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59369 2012-07-17  Marek Polacek  <polacek@redhat.com>
59371         [BZ #14349]
59372         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59373         * sysdeps/s390/s390-64/configure.in: Likewise.
59374         * sysdeps/sparc/configure.in: Likewise.
59375         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59376         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59377         * sysdeps/i386/configure.in: Likewise.
59378         * sysdeps/x86_64/configure.in: Likewise.
59379         * sysdeps/sh/configure.in: Likewise.
59380         * sysdeps/s390/s390-32/configure: Regenerated.
59381         * sysdeps/s390/s390-64/configure: Likewise.
59382         * sysdeps/x86_64/configure: Likewise.
59383         * sysdeps/sh/configure: Likewise.
59384         * sysdeps/powerpc/powerpc64/configure: Likewise.
59385         * sysdeps/powerpc/powerpc32/configure: Likewise.
59386         * sysdeps/sparc/configure: Likwise.
59387         * sysdeps/i386/configure: Likewise.
59389         * elf/dl-open.c: Comment fixes.
59391 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59393         * Makefile [CXX] (check-data): Remove.
59394         [CXX] (c++-types.data): New vpath directive.
59395         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59396         vpath.  Do not allow for C++ type data being missing.
59397         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59398         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59399         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59400         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59401         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59402         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59403         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59405         ... here.
59406         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59408         ... here.
59409         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59411         ... here.
59412         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59414         ... here.
59415         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59417         ... here.
59418         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59420         ... here.
59421         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59423         ... here.
59424         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59427         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59428         definitions to architecture-specific files.
59429         (TLS_IE): Likewise.
59430         (TLS_LD): Likewise.
59431         (TLS_GD): Likewise.
59432         * sysdeps/i386/tls-macros.h: New file.
59433         * sysdeps/powerpc/tls-macros.h: Likewise.
59434         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59435         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59436         * sysdeps/sh/tls-macros.h: Likewise.
59437         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59438         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59439         * sysdeps/x86_64/tls-macros.h: Likewise.
59441 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59443         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59444         zero value for regular exit case.
59446         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59447         (__start_context): Preserve zero value for regular exit case.
59449 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59450             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59452         * manual/setjmp.texi (setcontext): Clarify normal process
59453         termination when uc_link is the null pointer.
59454         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59455         exit call.
59457 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59459         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59460         preprocessor.  Test for each exception mask separately.
59462 2012-07-16  Andreas Jaeger  <aj@suse.de>
59464         * po/ru.po: Update from translation team.
59466 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59468         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59469         equal to 0.
59470         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59471         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59472         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59473         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59476 2012-07-13  Andreas Jaeger  <aj@suse.de>
59478         * po/fr.po: Update from translation team.
59480 2012-07-12  Marek Polacek  <polacek@redhat.com>
59482         [BZ #14173]
59483         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59485         loop condition.
59487 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59489         [BZ #13717]
59490         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59491         Change to 2.4.1 where previously 2.4.0.
59492         * sysdeps/unix/sysv/linux/configure: Regenerated.
59493         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59494         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59495         version.
59496         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59497         (__ASSUME_AT_CLKTCK): Remove.
59498         (__ASSUME_AT_PAGESIZE): Likewise.
59499         (__ASSUME_AT_XID): Likewise.
59500         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59501         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59502         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59503         unconditionally.
59504         (HAVE_AUX_PAGESIZE): Likewise.
59505         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59506         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59507         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59509 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59511         [BZ #14307]
59512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59513         the temporary buffer used to invoke __gethostbyname2_r,
59514         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59515         host_data / struct gaih_addrtuple.
59516         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59517         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59518         header file nss/nsswitch.h.
59519         * nss/nsswitch.h (global scope): Add definition of implementation
59520         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59521         resolv/nss_dns/dns-host.c).
59523 2012-07-11  Andreas Jaeger  <aj@suse.de>
59525         * po/fr.po: Update from translation team.
59527         * po/sv.po: Update from translation team
59528         * po/fr.po: Another update from translation team.
59530 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59532         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59533         for subnormals or multiply small sinh result by itself.
59534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59537 2012-07-11  David S. Miller  <davem@davemloft.net>
59539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59541 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59543         [BZ #14347]
59544         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59545         (INTERNAL_MARK): Shift it here.
59547 2012-07-10  Marek Polacek  <polacek@redhat.com>
59549         [BZ #14151]
59550         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59551         libc_cv_asm_global_directive with .globl.
59552         * configure: Regenerated.
59553         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59554         with .globl.
59555         * sysdeps/i386/configure: Regenerated.
59556         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59557         with .globl.
59558         * sysdeps/x86_64/configure: Regenerated.
59559         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59560         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59561         * elf/tst-unique2mod2.c: Likewise.
59562         * elf/tst-unique2mod1.c: Likewise.
59563         * elf/tst-unique1mod2.c: Likewise.
59564         * elf/tst-unique1mod1.c: Likewise.
59565         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59566         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59567         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59568         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59569         * sysdeps/mach/sysdep.h: Likewise.
59570         * sysdeps/i386/sysdep.h: Likewise.
59571         * sysdeps/i386/i386-mcount.S: Likewise.
59572         * sysdeps/x86_64/_mcount.S: Likewise.
59573         * sysdeps/x86_64/sysdep.h: Likewise.
59574         * sysdeps/sh/_mcount.S: Likewise.
59575         * sysdeps/sh/sysdep.h: Likewise.
59576         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59577         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59578         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59579         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59580         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59581         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59582         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59583         * locale/localeinfo.h: Likewise.
59584         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59585         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59587 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59589         [BZ #14336]
59590         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59591         system".
59592         * manual/message.texi (The Uniforum approach): Likewise.
59593         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59594         (glibc iconv Implementation): Likewise.
59596 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59598         [BZ #14337]
59599         * math/s_clog.c (__clog): Avoid scaling a value down where that
59600         could result in underflow.
59601         * math/s_clog10.c (__clog10): Likewise.
59602         * math/s_clog10f.c (__clog10f): Likewise.
59603         * math/s_clog10l.c (__clog10l): Likewise.
59604         * math/s_clogf.c (__clogf): Likewise.
59605         * math/s_clogl.c (__clogl): Likewise.
59606         * math/libm-test.inc (clog_test): Add more tests.
59607         (clog10_test): Likewise.
59608         * sysdeps/i386/fpu/libm-test-ulps: Update.
59609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59611 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59613         [BZ #14283]
59614         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59615         by 7 not 8 to examine high bit of fractional part.
59617         [BZ #14042]
59618         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59619         for call to __mcount_internal.
59620         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59621         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59622         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59624 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59626         [BZ #14154]
59627         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59628         approximation for values within 0x1p-13f of an odd multiple of
59629         pi/4.
59630         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59631         exception.  Add more tests.
59632         * sysdeps/i386/fpu/libm-test-ulps: Update.
59634         [BZ #6778]
59635         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59636         inputs and return -1 for them.  Do not check for +Inf in case not
59637         reachable for +Inf.
59638         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59639         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59641         and return -1 for them.  Do not check for +Inf in case not
59642         reachable for +Inf.
59643         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59644         define.
59645         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59646         and return -1 for them.  Do not check for +Inf in case not
59647         reachable for +Inf.
59648         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59649         spurious underflow.
59650         * sysdeps/i386/fpu/libm-test-ulps: Update.
59651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59653 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59655         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59657 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59659         [BZ #14157]
59660         [BZ #14331]
59661         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59662         could result in spurious underflow.  Scale down values above
59663         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59664         * math/s_csqrtf.c (__csqrtf): Likewise.
59665         * math/s_csqrtl.c (__csqrtl): Likewise.
59666         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59667         spurious underflow.
59668         * sysdeps/i386/fpu/libm-test-ulps: Update.
59669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59671 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59673         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59674         xopen-msg.sed.
59675         * catgets/xopen-msg.awk: New file.
59676         * catgets/xopen-msg.sed: Removed.
59678         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59679         po2text.sed.
59680         * intl/po2test.awk: New file.
59681         * intl/po2test.sed: Removed.
59683 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59685         [BZ #14328]
59686         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59687         or multiply small sinh result by itself.
59688         * math/s_ctanf.c (__ctanf): Likewise.
59689         * math/s_ctanh.c (__ctanh): Likewise.
59690         * math/s_ctanhf.c (__ctanhf): Likewise.
59691         * math/s_ctanhl.c (__ctanhl): Likewise.
59692         * math/s_ctanl.c (__ctanl): Likewise.
59693         * math/libm-test.inc (ctan_test_tonearest): New function.
59694         (ctan_test_towardzero): Likewise.
59695         (ctan_test_downward): Likewise.
59696         (ctan_test_upward): Likewise.
59697         (ctanh_test_tonearest): Likewise.
59698         (ctanh_test_towardzero): Likewise.
59699         (ctanh_test_downward): Likewise.
59700         (ctanh_test_upward): Likewise.
59701         (main): Call these new functions.
59702         * sysdeps/i386/fpu/libm-test-ulps: Update.
59703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59705 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59707         * .gitignore: Delete /ports entry.
59709 2012-07-03  Andreas Jaeger  <aj@suse.de>
59711         * po/bg.po: Update from translation team.
59712         * po/cs.po: Likewise.
59713         * po/de.po: Likewise.
59714         * po/hr.po: Likewise.
59715         * po/nl.pl: Likewise.
59716         * po/pl.po: Likewise.
59717         * po/vi.po: Likewise.
59719 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59721         * Makeconfig [!+link] (+link-before-libc): New variable.
59722         [!+link] (+link-after-libc): Likewise.
59723         [!+link] (+link-tests): Likewise.
59724         [!+link] (+link): Define in terms of $(+link-before-libc) and
59725         $(+link-after-libc).
59726         [!+link-static] (+link-static-before-libc): New variable.
59727         [!+link-static] (+link-static-after-libc): Likewise.
59728         [!+link-static] (+link-static-tests): Likewise.
59729         [!+link-static] (+link-static): Define in terms of
59730         $(+link-static-before-libc) and $(+link-static-after-libc).
59731         [build-shared] (link-libc-before-gnulib): New variable.
59732         [build-shared] (link-libc-tests): Likewise.
59733         [build-shared] (link-libc): Define in terms of
59734         $(link-libc-before-gnulib).
59735         [!build-shared] (link-libc-tests): New variable.
59736         (link-libc-static-tests): New variable.
59737         [!gnulib] (gnulib-arch): New variable.
59738         [!gnulib] (gnulib-tests): Likewise.
59739         [!gnulib] (static-gnulib-arch): Likewise.
59740         [!gnulib] (static-gnulib-tests): Likewise.
59741         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59742         Define with "=" instead of ":=".
59743         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59744         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59745         * Rules (binaries-all-notests): New variable.
59746         (binaries-all-tests): Likewise.
59747         (binaries-static-notests): Likewise.
59748         (binaries-static-tests): Likewise.
59749         (binaries-all): Define using $(binaries-all-notests) and
59750         $(binaries-all-tests).
59751         (binaries-static): Define using $(binaries-static-notests) and
59752         $(binaries-static-tests).
59753         (binaries-shared-tests): New variable.
59754         (binaries-shared-notests): Likewise.
59755         (binaries-shared): Remove variable.
59756         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59757         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59758         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59759         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59760         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59761         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59762         * elf/Makefile (sln-modules): New variable.
59763         (extra-objs): Add $(sln-modules:=.o).
59764         (ldconfig-modules): Add static-stubs.
59765         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59766         * elf/static-stubs.c: New file.
59768         [BZ #14283]
59769         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59770         by 7 not 8 to examine high bit of fractional part.  Use volatile
59771         variables when splitting into final array of floats if
59772         __FLT_EVAL_METHOD__ != 0.
59773         * math/libm-test.inc (cos_test): Add another test.
59774         (sin_test): Likewise.
59775         * sysdeps/i386/fpu/libm-test-ulps: Update.
59777         [BZ #14273]
59778         * math/libm-test.inc (cosh_test): Add more tests.
59780         * version.h (RELEASE): Set to "development".
59781         (VERSION): Set to "2.16.90".
59783 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59785         * NEWS: Update copyright. Remove last-updated date.
59786         Mention math library bug fixes and timezone data changes.
59787         * README: Mention GNU/Hurd, x32, and HPPA support status.
59789 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59791         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59793 2012-06-27  Andreas Jaeger  <aj@suse.de>
59795         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59797 2012-06-25  Andreas Jaeger  <aj@suse.de>
59799         * sysdeps/s390/fpu/libm-test-ulps: Update.
59801 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59802             Thomas Schwinge  <thomas@codesourcery.com>
59804         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59805         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59806         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59807         fanotify_mark.
59809 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59811         * sysdeps/mach/start.c: Remove file.
59812         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59813         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59814         * sysdeps/sh/init-first.c: Likewise.
59816         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59817         registers for frame unwinding purposes, add CFI directives.
59818         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59819         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59820         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59821         Likewise.
59823         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59824         __fortify_fail returning.
59825         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59827         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59828         sysdeps/sh/____longjmp_chk.S.
59829         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59830         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59831         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59832         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59834         * sysdeps/sh/abort-instr.h: New file.
59835         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59836         process in case exit returns.
59838         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59839         initialize the GOT register before use.
59841         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59842         calculation of ARGC > 4.
59844         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59845         meaningful names to some local labels.
59847 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59848             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59851         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59852         (__arch_compare_and_exchange_val_16_acq): Likewise.
59853         (__arch_compare_and_exchange_val_32_acq): Likewise.
59854         (atomic_exchange_and_add): Fix gUSA sequence.
59855         (atomic_add): Likewise.
59856         (atomic_add_negative): Likewise.
59857         (atomic_add_zero): Likewise.
59858         (atomic_bit_test_set): Likewise.
59860 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59862         [BZ #13579]
59863         * include/link.h (struct link_map): Add l_free_initfini.
59864         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59865         l_initfini.
59866         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59867         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59868         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59869         set.
59871 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59873         * configure.in: Use AC_LANG_SOURCE.
59874         * configure: Regenerate.
59876 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59878         * configure.in (libc_cv_localstatedir): New substituted variable.
59879         * configure: Regenerated.
59880         * config.make.in (localstatedir): New variable, substituted from
59881         libc_cv_localstatedir.
59882         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59883         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59884         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59885         * sysdeps/gnu/configure: Regenerated.
59887 2012-06-21  Jeff Law  <law@redhat.com>
59889         [BZ #14277]
59890         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59891         free.  Simplify list management for _LIBC case.
59893 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59895         [BZ #14273]
59896         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59897         Clear sign bit of 64-bit integer value before comparing against
59898         overflow value.
59900         * sysdeps/mach/configure: Regenerated.
59902 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59904         [BZ #14278]
59905         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59907 2012-06-21  Jeff Law  <law@redhat.com>
59909         [BZ #13882]
59910         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59911         uint16_t for elements in the "seen" array to avoid char overflows.
59912         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59913         * elf/dl-open.c (dl_open_worker): Likewise.
59915 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59917         * scripts/list-sources.sh: Scan PORTS for translations.
59918         * po/libc.pot: Regenerated.
59920 2012-06-21  Andreas Jaeger  <aj@suse.de>
59922         [BZ #12194]
59923         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59924         warning.
59925         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59926         * bits/byteswap-16.h (__bswap_16): Likewise.
59927         * bits/byteswap.h (__bswap_constant_16): Likewise.
59929 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59931         [BZ #14117]
59932         * sysdeps/i386/fpu_control.h: Removed.
59933         * sysdeps/x86_64/fpu_control.h: Moved to ...
59934         * sysdeps/x86/fpu_control.h: Here.
59936         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59937         (_FPU_SETCW): Likewise.
59939 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59941         [BZ #14117]
59942         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59943         * sysdeps/x86/fpu/bits/mathinline.h: This.
59944         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59946         [BZ #14050]
59947         [BZ #14117]
59948         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59949         functions if __x86_64__ is defined.
59951 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59953         * string/endian.h: Add !__ASSEMBLER__ condition for including
59954         conversion interfaces.
59956 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59958         [BZ #14241]
59959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59960         of ABS(x) in calculating zero to negative powers other than odd
59961         integers.
59962         * math/libm-test.inc (pow_test): Add more tests.
59964 2012-06-15  Andreas Jaeger  <aj@suse.de>
59966         * manual/contrib.texi (Contributors): Update entry of Liubov
59967         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59968         Machado Filho.
59970 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59972         * string/string.h: Add __wur to GNU version of strerror_r.
59974 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59976         [BZ #14229]
59977         * string/Makefile (tests): Add tst-strtok_r.
59978         * string/tst-strtok_r.c: New file.
59979         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59980         RAX_LP/RDX_LP on SAVE_PTR.
59982 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59984         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59986 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59988         * libm_test.inc (csqrt_test): Allow more spurious underflow
59989         exceptions.
59990         (j0_test): Likewise.
59991         (j1_test): Likewise.
59992         (y0_test): Likewise.
59993         (y1_test): Likewise.
59995 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59997         * po/Makefile (libc.pot): Use UTF-8 charset.
59999 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60001         [BZ #14210]
60002         Suppress sign-conversion warning from FD_SET.
60003         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60004         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60005         not unsigned long int.
60006         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60008 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60010         [BZ #14050]
60011         [BZ #14117]
60012         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60013         __extern_always_inline instead of __extern_inline.
60014         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60015         (__signbit): Likewise.
60016         (__signbitl): Support C++ namespace.
60017         (lrintf): New inline function.
60018         (lrint): Likewise.
60019         (llrintf): Likewise.
60020         (llrint): Likewise.
60021         (fmaxf): Likewise.
60022         (fmax): Likewise.
60023         (fminf): Likewise.
60024         (fmin): Likewise.
60025         (rint): Likewise.
60026         (rintf): Likewise.
60027         (ceil): Likewise.
60028         (ceilf): Likewise.
60029         (floor): Likewise.
60030         (floorf): Likewise.
60031         (nearbyint): Likewise.
60032         (nearbyintf): Likewise.
60034 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60036         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60037         non-default versions.
60039 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60041         [BZ #14218]
60042         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60044 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60046         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60047         (FE_UPWARD, FE_DOWNWARD): Don't define.
60048         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60049         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60051         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60052         reading it.
60053         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60054         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60056 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60058         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60059         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60060         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60061         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60063 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60065         [BZ #14117]
60066         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60067         * sysdeps/i386/fpu/Implies: New file.
60068         * sysdeps/x86_64/fpu/Implies: Likewise.
60069         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60070         * sysdeps/x86/fpu/bits/fenv.h: This.
60072         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60073         __SSE_MATH__.
60075 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60077         [BZ #14134]
60078         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60079         character 0xffff that matches the last element of the
60080         conversion table.
60082 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60084         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60085         fmodl commit.
60087 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60089         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60090         values higher than 25.6283.
60092 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60094         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60095         subnormal exponent extraction and add some __builtin_expect.
60096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60097         Fix for subnormal mantissa calculation.
60099 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60101         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60102         cpu2 is -1 and errno is not ENOSYS.
60104 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60106         [BZ #14117]
60107         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60108         * sysdeps/x86/bits/string.h: This.
60109         * sysdeps/x86_64/bits/string.h: Removed.
60111         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60112         if not compiling for x86-64, but compiling for >= i486.
60114         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60115         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60117         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60118         New macro from Linux kernel 3.4.0.
60119         (FP_XSTATE_MAGIC2): Likewise.
60120         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60121         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60122         (struct _fpx_sw_bytes): New struct.
60123         (struct _xsave_hdr): Likewise.
60124         (struct _ymmh_state): Likewise.
60125         (struct _xstate): Likewise.
60127         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60128         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60129         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60130         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60131         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60132         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60134         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60135         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60136         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60137         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60138         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60139         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60141 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60143         [BZ #13743]
60144         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60145         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60146         (sysdep_headers): Include sys/platform/ppc.h.
60147         * sysdeps/powerpc/test-gettimebase.c: Test for
60148         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60149         * manual/Makefile (appendices): Include platform.texi.
60150         * manual/contrib.texi (Contributors): Update @node pointers.
60151         * manual/maint.texi (Maintenance): Likewise.
60152         (Platform): New node.
60153         * manual/platform.texi: New file.  Document the new features.
60155 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60156             Jakub Jelinek  <jakub@redhat.com>
60158         [BZ #14188]
60159         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60160         where __builtin_expect is unavailable.
60162 2012-06-03  David S. Miller  <davem@davemloft.net>
60164         * stdlib/longlong.h: Updated from GCC.
60166 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60168         [BZ #14042]
60169         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60170         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60171         __mcount_internal.
60172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60173         (GLIBC_2.16): Likewise.
60175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60177         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60179 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60182         (default-abi): New variable.
60183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60184         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60185         variable.
60186         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60187         Likewise.
60188         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60189         Likewise.
60190         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60191         Likewise.
60193         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60194         definition.  Document in comment.
60196 2012-06-01  David S. Miller  <davem@davemloft.net>
60198         * stdlib/longlong.h: Updated from GCC.
60200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60202         [BZ #14117]
60203         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60204         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60205         sys/debugreg.h sys/io.h here.
60206         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60207         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60208         sys/io.h.
60209         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60210         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60211         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60212         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60213         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60214         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60217         Define only if __x86_64__ is defined.
60219 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60221         [BZ #14048]
60222         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60223         Use int64_t for variable i.
60224         * math/libm-test.inc (fmod_test): Add more tests.
60226         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60227         z computation is not scheduled after fetestexcept.
60228         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60229         Use math_force_eval instead of asm to ensure calculation scheduled
60230         before exception test.
60231         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60232         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60234 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60237         computation is not scheduled after fetestexcept.
60239 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60241         [BZ #14117]
60242         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60243         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60245 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60247         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60248         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60250 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60252         [BZ #14117]
60253         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60254         <bits/wordsize.h>.
60255         (__WCHAR_MIN): Support __WORDSIZE == 64.
60256         (__WCHAR_MAX): Likewise.
60258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60261         [BZ #14183]
60262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60263         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60265         [BZ #14117]
60266         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60270         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60272         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60273         Defined to 1 if __x86_64__ isn't defined.
60274         (_STAT_VER_LINUX_OLD): New.
60275         (st_atime): Remove duplicate.
60276         (st_mtime): Likewise.
60277         (st_ctime): Likewise.
60279 2012-05-31  David S. Miller  <davem@davemloft.net>
60281         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60282         entries.
60284 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60286         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60287         gen-libm-test.pl.
60289         [BZ #14132]
60290         * elf/dl-reloc.c: Include <_itoa.h>.
60291         (_dl_reloc_bad_type): Remove use of INTUSE.
60292         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60293         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60294         * stdio-common/psiginfo.c (psiginfo): Likewise.
60295         * stdio-common/psignal.c (psignal): Likewise.
60296         * string/strsignal.c (strsignal): Likewise.
60297         * include/signal.h (_sys_siglist): Declare hidden proto.
60298         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60299         INTVARDEF with libc_hidden_data_def.
60300         * stdio-common/itoa-udigits.c: Likewise.
60301         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60302         (_itoa_lower_digits_internal): Remove declaration.
60303         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60304         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60305         (_sys_sigabbrev_internal): Remove aliases.
60306         (_sys_siglist): Define hidden alias.
60308 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60311         bits/sysctl.h.
60313 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60315         [BZ #14117]
60316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60317         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60319         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60320         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60321         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60322         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60323         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60324         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60326         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60327         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60328         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60330         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60331         with __addr.
60332         (insw): Likewise.
60333         (insl): Likewise.
60334         (outsb): Likewise.
60335         (outsw): Likewise.
60336         (outsl): Likewise.
60338         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60339         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60340         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60342         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60343         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60344         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60345         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60346         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60347         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60349         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60350         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60352         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60353         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60355         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60356         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60357         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60359         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60360         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60361         to ...
60362         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60364         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60365         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60366         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60368         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60369         for x86-64.
60370         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60372 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60374         * math/math.h (M_El): Use two more decimal places.
60375         (M_LOG2El): Likewise.
60376         (M_LOG10El): Likewise.
60377         (M_LN2l): Likewise.
60378         (M_LN10l): Likewise.
60379         (M_PIl): Likewise.
60380         (M_PI_2l): Likewise.
60381         (M_PI_4l): Likewise.
60382         (M_1_PIl): Likewise.
60383         (M_2_PIl): Likewise.
60384         (M_2_SQRTPIl): Likewise.
60385         (M_SQRT2l): Likewise.
60386         (M_SQRT1_2l): Likewise.
60388 2012-05-31  David S. Miller  <davem@davemloft.net>
60390         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60391         values between float registers.
60392         * sysdeps/sparc/sparc64/memset.S: Likewise.
60393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60395 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60397         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60398         -D_FORTIFY_SOURCE=1.
60399         (CPPFLAGS-tst-longjmp_chk.c): Define.
60400         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60401         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60402         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60403         CFLAGS-tst-wchar-h.c.
60405 2012-05-31  Marek Polacek  <polacek@redhat.com>
60407         [BZ #14132]
60408         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60409         __endmntent_internal): Remove declaration.
60410         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60411         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60412         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60414 2012-05-30  David S. Miller  <davem@davemloft.net>
60416         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60417         (___Q_simulate_exceptions): Use real FP ops rather than writing
60418         into the %fsr.
60419         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60420         Likewise.
60422 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60424         [BZ #14117]
60425         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60426         * sysdeps/x86/bits/xtitypes.h: This.
60428         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60429         * sysdeps/x86/bits/wordsize.h: This.
60431         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60432         * sysdeps/x86/bits/huge_vall.h: This.
60434         * sysdeps/i386/bits/select.h: Removed.
60435         * sysdeps/x86_64/bits/select.h: Renamed to ...
60436         * sysdeps/x86/bits/select.h: This.
60438         * sysdeps/i386/bits/setjmp.h: Removed.
60439         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60440         * sysdeps/x86/bits/setjmp.h: This.
60442         * sysdeps/i386/bits/mathdef.h: Removed.
60443         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60444         * sysdeps/x86/bits/mathdef.h: This.
60446 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60448         [BZ #14132]
60449         * include/sys/socket.h (__connect_internal)
60450         (__libc_sa_len_internal): Remove declaration.
60451         (__connect, __libc_sa_len): Declare hidden_proto.
60452         (SA_LEN): Remove use of INTUSE.
60453         * socket/connect.c: Add libc_hidden_def.
60454         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60455         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60456         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60457         alias.
60458         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60459         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60460         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60461         of adding _internal alias.
60463 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60465         [BZ #14117]
60466         * sysdeps/i386/bits/link.h: Removed.
60467         * sysdeps/i386/bits/linkmap.h: Likewise.
60468         * sysdeps/x86_64/bits/link.h: Renamed to ...
60469         * sysdeps/x86/bits/link.h: This.
60470         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60471         * sysdeps/x86/bits/linkmap.h: This.
60473         * sysdeps/i386/bits/endian.h: Removed.
60474         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60475         * sysdeps/x86/bits/endian.h: This.
60477         * sysdeps/i386/bits/byteswap.h: Removed.
60478         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60479         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60480         * sysdeps/x86/bits/byteswap.h: This.
60481         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60482         * sysdeps/x86/bits/byteswap-16.h: This.
60483         * sysdeps/i386/Implies: Add x86.
60484         * sysdeps/x86_64/Implies: Likewise.
60486 2012-05-30  David S. Miller  <davem@davemloft.net>
60488         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60489         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60490         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60491         (FP_TRAPPING_EXCEPTIONS): Define.
60492         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60493         (FP_TRAPPING_EXCEPTIONS): Define.
60494         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60495         subnormals only when inexact has been signalled or underflow
60496         exceptions are enabled.
60497         (_FP_PACK_CANONICAL): Likewise.
60499 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60501         [BZ #14183]
60502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60503         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60505 2012-05-30  Richard Henderson  <rth@twiddle.net>
60507         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60508         with #ifndef NOT_IN_libc.
60510         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60511         marked to avoid plt entry.
60513 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60515         [BZ #14112]
60516         * Makeconfig (default-abi): New macro.
60517         (abi-includes): Likewise.
60518         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60519         $(abi-$(default-abi)-lib-soname) for soname if defined.
60520         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60521         abi-variants.
60522         * Makefile (installed-stubs): Likewise.
60523         * include/stubs-biarch.h: Removed.
60524         * scripts/lib-names.awk: Only handle one library at a time.
60525         * scripts/soversions.awk: Remove WORDSIZE support.
60526         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60527         entries.
60528         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60529         Removed.
60530         (syscall-list-default-condition): Likewise.
60531         (syscall-list-default-condition): Likewise.
60532         (syscall-list-includes): Likewise.
60533         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60534         syscall-list-* with abi-*.  Handle undefined abi-variants.
60535         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60536         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60537         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60538         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60539         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60540         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60541         Removed.
60542         (syscall-list-32-options): Likewise.
60543         (syscall-list-32-condition): Likewise.
60544         (syscall-list-64-options): Likewise.
60545         (syscall-list-64-condition): Likewise.
60546         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60547         macro.
60548         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60549         Renamed to ...
60550         (abi-*): This.
60551         (abi-64-ld-soname): New macro.
60552         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60553         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60554         Renamed to ...
60555         (abi-*): This.
60556         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60557         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60559 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60561         * sysdeps/unix/sysv/linux/kernel-features.h
60562         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60563         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60564         include <kernel-features.h>.
60565         [!__NR_ftruncate64]: Remove conditional code.
60566         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60567         [__NR_ftruncate64]: Make code unconditional.
60568         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60569         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60570         include <kernel-features.h>.
60571         [!__NR_ftruncate64]: Remove conditional code.
60572         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60573         [__NR_ftruncate64]: Make code unconditional.
60574         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60576         include <kernel-features.h>.
60577         [!__NR_ftruncate64]: Remove conditional code.
60578         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60579         [__NR_ftruncate64]: Make code unconditional.
60580         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60582         include <kernel-features.h>.
60583         [!__NR_ftruncate64]: Remove conditional code.
60584         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60585         [__NR_ftruncate64]: Make code unconditional.
60586         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60588         * configure.in (libc_cv_fpie): Weaken to a compile test using
60589         LIBC_TRY_CC_OPTION.
60590         * configure: Regenerated.
60592 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60598         Refreshed.
60599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60605         Refreshed.
60607 2012-05-27  David S. Miller  <davem@davemloft.net>
60609         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60610         (___Q_zero): New.
60611         (__Q_simulate_exceptions): Return void.  Change to simulate
60612         exceptions by writing into the %fsr.
60613         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60614         (__Qp_handle_exceptions): Likewise.
60615         (numbers): Delete.
60616         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60617         __Qp_handle_exceptions.
60618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60619         __Qp_handle_exceptions.
60620         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60621         as unused and give dummy FP_RND_NEAREST initializer.
60622         (FP_INHIBIT_RESULTS): Define.
60623         (___Q_simulate_exceptions): Update declaration.
60624         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60625         formatting.
60626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60627         as unused and give dummy FP_RND_NEAREST initializer.
60628         (__Qp_handle_exceptions): Update declaration.
60629         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60630         formatting.
60632 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60634         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60635         the temporary FPU control word.
60636         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60637         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60638         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60639         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60640         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60641         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60642         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60643         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60644         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60645         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60646         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60648 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60650         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60651         fields.
60653 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60655         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60656         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60657         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60658         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60659         Likewise.
60660         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60661         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60662         Likewise.
60664 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60666         * po/h.po: Update from translation team.
60668 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60670         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60672         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60673         handling of denormals.
60674         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60675         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60676         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60677         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60681         Likewise.
60683 2012-05-26  Marek Polacek  <polacek@redhat.com>
60685         [BZ #14152]
60686         * math/libm-test.inc (fma_test): Don't always expect underflow
60687         exception.
60689 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60691         [BZ #12416]
60692         * elf/tst-execstack.c: Include stackinfo.h.
60693         (do_test): Adjust test case to ensure that pthread_getattr_np
60694         behaviour remains the same after marking stack executable.
60696 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60698         * sysdeps/unix/sysv/linux/kernel-features.h
60699         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60700         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60701         kernel-features.h.
60702         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60703         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60704         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60705         kernel-features.h.
60706         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60707         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60709 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60711         * configure.in: Define the default includes to being none.
60712         * configure: Regenerated.
60714 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60716         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60717         * sysdeps/x86_64/setjmp.S: Likewise.
60718         * sysdeps/i386/bsd-setjmp.S: Likewise.
60719         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60720         * sysdeps/i386/setjmp.S: Likewise.
60721         * sysdeps/i386/__longjmp.S: Likewise.
60722         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60723         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60725         * include/stap-probe.h: New file.
60726         * configure.in: Handle --enable-systemtap.
60727         * configure: Regenerated.
60728         * config.h.in (USE_STAP_PROBE): New #undef.
60729         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60730         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60731         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60733 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60735         [BZ #13717]
60736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60737         to 2.4.0 where earlier.
60738         * sysdeps/unix/sysv/linux/configure: Regenerated.
60739         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60740         <kernel-features.h>.
60741         [__ASSUME_32BITUIDS]: Make code unconditional.
60742         [!__ASSUME_32BITUIDS]: Remove conditional code.
60743         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60744         <kernel-features.h>.
60745         [__ASSUME_32BITUIDS]: Make code unconditional.
60746         [!__ASSUME_32BITUIDS]: Remove conditional code.
60747         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60748         [__ASSUME_32BITUIDS]: Make code unconditional.
60749         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60750         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60751         <kernel-features.h>.
60752         [__ASSUME_32BITUIDS]: Make code unconditional.
60753         [!__ASSUME_32BITUIDS]: Remove conditional code.
60754         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60755         <kernel-features.h>.
60756         [__ASSUME_32BITUIDS]: Make code unconditional.
60757         [!__ASSUME_32BITUIDS]: Remove conditional code.
60758         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60759         <kernel-features.h>.
60760         [__ASSUME_32BITUIDS]: Make code unconditional.
60761         [!__ASSUME_32BITUIDS]: Remove conditional code.
60762         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60763         <kernel-features.h>.
60764         [__ASSUME_32BITUIDS]: Make code unconditional.
60765         [!__ASSUME_32BITUIDS]: Remove conditional code.
60766         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60767         <kernel-features.h>.
60768         [__ASSUME_32BITUIDS]: Make code unconditional.
60769         [!__ASSUME_32BITUIDS]: Remove conditional code.
60770         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60771         <kernel-features.h>.
60772         [__ASSUME_32BITUIDS]: Make code unconditional.
60773         [!__ASSUME_32BITUIDS]: Remove conditional code.
60774         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60775         <kernel-features.h>.
60776         [__ASSUME_32BITUIDS]: Make code unconditional.
60777         [!__ASSUME_32BITUIDS]: Remove conditional code.
60778         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60779         <kernel-features.h>.
60780         [__ASSUME_32BITUIDS]: Make code unconditional.
60781         [!__ASSUME_32BITUIDS]: Remove conditional code.
60782         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60783         <kernel-features.h>.
60784         [__ASSUME_32BITUIDS]: Make code unconditional.
60785         [!__ASSUME_32BITUIDS]: Remove conditional code.
60786         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60787         <kernel-features.h>.
60788         [__ASSUME_32BITUIDS]: Make code unconditional.
60789         [!__ASSUME_32BITUIDS]: Remove conditional code.
60790         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60791         <kernel-features.h>.
60792         [__NR_setresgid] (__setresgid): Do not declare.
60793         [__ASSUME_32BITUIDS]: Make code unconditional.
60794         [!__ASSUME_32BITUIDS]: Remove conditional code.
60795         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60796         <kernel-features.h>.
60797         [__NR_setresuid] (__setresuid): Do not declare.
60798         [__ASSUME_32BITUIDS]: Make code unconditional.
60799         [!__ASSUME_32BITUIDS]: Remove conditional code.
60800         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60801         <kernel-features.h>.
60802         [__ASSUME_32BITUIDS]: Make code unconditional.
60803         [!__ASSUME_32BITUIDS]: Remove conditional code.
60804         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60805         <kernel-features.h>.
60806         [__ASSUME_32BITUIDS]: Make code unconditional.
60807         [!__ASSUME_32BITUIDS]: Remove conditional code.
60808         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60809         <kernel-features.h>.
60810         [__ASSUME_32BITUIDS]: Make code unconditional.
60811         [!__ASSUME_32BITUIDS]: Remove conditional code.
60812         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60813         <kernel-features.h>.
60814         [__ASSUME_32BITUIDS]: Make code unconditional.
60815         [!__ASSUME_32BITUIDS]: Remove conditional code.
60816         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60817         <kernel-features.h>.
60818         [__ASSUME_32BITUIDS]: Make code unconditional.
60819         [!__ASSUME_32BITUIDS]: Remove conditional code.
60820         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60821         <kernel-features.h>.
60822         [__ASSUME_32BITUIDS]: Make code unconditional.
60823         [!__ASSUME_32BITUIDS]: Remove conditional code.
60824         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60825         <kernel-features.h>.
60826         [__ASSUME_32BITUIDS]: Make code unconditional.
60827         [!__ASSUME_32BITUIDS]: Remove conditional code.
60828         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60829         <kernel-features.h>.
60830         [__ASSUME_32BITUIDS]: Make code unconditional.
60831         [!__ASSUME_32BITUIDS]: Remove conditional code.
60832         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60833         <kernel-features.h>.
60834         [__ASSUME_32BITUIDS]: Make code unconditional.
60835         [!__ASSUME_32BITUIDS]: Remove conditional code.
60836         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60837         <kernel-features.h>.
60838         [__ASSUME_32BITUIDS]: Make code unconditional.
60839         [!__ASSUME_32BITUIDS]: Remove conditional code.
60840         * sysdeps/unix/sysv/linux/kernel-features.h
60841         (__ASSUME_SETRESUID_SYSCALL): Remove.
60842         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60843         (__ASSUME_32BITUIDS): Likewise.
60844         (__ASSUME_LDT_WORKS): Likewise.
60845         (__ASSUME_O_DIRECTORY): Likewise.
60846         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60847         architecture but not kernel version.
60848         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60849         (__ASSUME_MMAP2_SYSCALL): Likewise.
60850         (__ASSUME_STAT64_SYSCALL): Likewise.
60851         (__ASSUME_IPC64): Likewise.
60852         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60853         <kernel-features.h>.
60854         [__ASSUME_32BITUIDS]: Make code unconditional.
60855         [!__ASSUME_32BITUIDS]: Remove conditional code.
60856         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60857         <kernel-features.h>.
60858         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60859         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60860         132096]: Remove conditional code.
60861         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60862         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60863         <kernel-features.h>.
60864         [__ASSUME_32BITUIDS]: Make code unconditional.
60865         [!__ASSUME_32BITUIDS]: Remove conditional code.
60866         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60867         <kernel-features.h>.
60868         [__ASSUME_32BITUIDS]: Make code unconditional.
60869         [!__ASSUME_32BITUIDS]: Remove conditional code.
60870         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60871         <kernel-features.h>.
60872         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60873         unconditional.
60874         (__setresgid): Do not declare.
60875         [__ASSUME_32BITUIDS]: Make code unconditional.
60876         [!__ASSUME_32BITUIDS]: Remove conditional code.
60877         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60878         <kernel-features.h>.
60879         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60880         unconditional.
60881         (__setresuid): Do not declare.
60882         [__ASSUME_32BITUIDS]: Make code unconditional.
60883         [!__ASSUME_32BITUIDS]: Remove conditional code.
60884         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60885         <kernel-features.h>.
60886         [__ASSUME_32BITUIDS]: Make code unconditional.
60887         [!__ASSUME_32BITUIDS]: Remove conditional code.
60888         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60889         <kernel-features.h>.
60890         [__ASSUME_32BITUIDS]: Make code unconditional.
60891         [!__ASSUME_32BITUIDS]: Remove conditional code.
60893 2012-05-25  Richard Henderson  <rth@twiddle.net>
60895         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60896         dl_hwcap to ifunc resolver.
60897         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60898         elf_ifunc_invoke.
60899         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60900         dl_hwcap to ifunc resolver.
60901         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60903 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60905         [BZ #14153]
60906         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60907         for |x| <= 2**-26, not 2**-57.
60908         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60909         exception.
60911 2012-05-24  Jeff Law  <law@redhat.com>
60913         * stdio-common/Makefile (tests): Add bug25.
60914         * stdio-common/bug25.c: New test.
60916 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60918         [BZ #13576]
60919         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60920         multiple of MALLOC_ALIGNMENT in size.
60921         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60923 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60925         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60926         Require >= 256.
60927         (FILENAME_MAX): Use macro-int-constant.
60928         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60929         (_IOFBF): Use macro-int-constant.
60930         (_IOLBF): Likewise.
60931         (_IONBF): Likewise.
60932         (SEEK_CUR): Likewise.
60933         (SEEK_END): Likewise.
60934         (SEEK_SET): Likewise.
60935         (TMP_MAX): Likewise.
60936         (EOF): Use macro-int-constant.  Require < 0.
60937         (NULL): Use macro-constant.  Require == 0.
60938         (stdin): Require type to be FILE *.
60939         (stdout): Likewise.
60940         (stderr): Likewise.
60941         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60942         macro-int-constant.
60943         (EXIT_SUCCESS): Likewise.
60944         (NULL): Use macro-constant.  Require == 0.
60945         (RAND_MAX): Use macro-int-constant.
60946         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60947         [C99-based standards] (strtof): Require function.
60948         [C99-based standards] (strtold): Likewise.
60949         [C99-based standards] (strtoll): Likewise.
60950         [C99-based standards] (strtoull): Likewise.
60951         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60952         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60953         [ISO || ISO99 || ISO11] (math.h): Likewise.
60954         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60955         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60958 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60960         [BZ #14132]
60961         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60962         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60963         * intl/dgettext.c (DCGETTEXT): Likewise.
60964         * intl/gettext.c (DCGETTEXT): Likewise.
60965         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60966         * posix/regex_internal.h (gettext): Likewise.
60967         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60968         Remove declaration.
60969         * include/argz.h (__argz_count_internal)
60970         (__argz_stringify_internal): Remove declaration.
60971         (__argz_count, __argz_stringify): Declare hidden proto.
60972         * intl/dcgettext.c: Remove use of INTDEF.
60973         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60974         * string/argz-stringify.c: Likewise.
60975         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60976         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60977         Declare hidden proto.
60978         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60979         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60980         Declare hidden proto.
60981         * include/stdio.h (__asprintf_internal): Don't declare.
60982         (__asprintf): Don't define as macro.  Declare hidden proto.
60983         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60984         (__fsetlocking): Declare hidden proto.
60985         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60986         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60987         hidden proto.
60988         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60989         (_IO_setlinebuf): Remove use of INTUSE.
60990         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60991         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60992         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60993         Remove declaration.
60994         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60995         (_IO_do_flush): Remove use of INTUSE.
60996         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60997         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60998         (_IO_adjust_column, _IO_least_wmarker)
60999         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61000         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61001         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61002         (_IO_default_doallocate, _IO_wdefault_doallocate)
61003         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61004         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61005         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61006         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61007         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61008         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61009         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61010         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61011         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61012         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61013         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61014         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61015         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61016         proto.
61017         (_IO_flush_all_internal, _IO_adjust_column_internal)
61018         (_IO_default_uflow_internal, _IO_default_finish_internal)
61019         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61020         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61021         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61022         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61023         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61024         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61025         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61026         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61027         (_IO_file_close_internal, _IO_file_close_it_internal)
61028         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61029         (_IO_file_init_internal, _IO_file_attach_internal)
61030         (_IO_file_fopen_internal, _IO_file_read_internal)
61031         (_IO_file_sync_internal, _IO_file_seek_internal)
61032         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61033         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61034         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61035         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61036         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61037         (_IO_list_all_internal, _IO_link_in_internal)
61038         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61039         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61040         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61041         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61042         (_IO_do_write_internal, _IO_padn_internal)
61043         (_IO_getline_info_internal, _IO_getline_internal)
61044         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61045         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61046         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61047         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61048         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61049         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61050         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61051         with libc_hidden_ver, remove use of INTUSE.
61052         * libio/genops.c: Likewise.
61053         * libio/freopen.c: Likewise.
61054         * libio/freopen64.c: Likewise.
61055         * libio/iofclose.c: Likewise.
61056         * libio/iofdopen.c: Likewise.
61057         * libio/iofflush.c: Likewise.
61058         * libio/iofflush_u.c: Likewise.
61059         * libio/iofgets.c: Likewise.
61060         * libio/iofgets_u.c: Likewise.
61061         * libio/iofopen.c: Likewise.
61062         * libio/iofopncook.c: Likewise.
61063         * libio/iofread.c: Likewise.
61064         * libio/iofread_u.c: Likewise.
61065         * libio/ioftell.c: Likewise.
61066         * libio/iofwrite.c: Likewise.
61067         * libio/iogetline.c: Likewise.
61068         * libio/iogets.c: Likewise.
61069         * libio/iogetwline.c: Likewise.
61070         * libio/iopadn.c: Likewise.
61071         * libio/iopopen.c: Likewise.
61072         * libio/ioseekoff.c: Likewise.
61073         * libio/ioseekpos.c: Likewise.
61074         * libio/iosetbuffer.c: Likewise.
61075         * libio/iosetvbuf.c: Likewise.
61076         * libio/ioungetc.c: Likewise.
61077         * libio/ioungetwc.c: Likewise.
61078         * libio/iovdprintf.c: Likewise.
61079         * libio/iovsprintf.c: Likewise.
61080         * libio/iovsscanf.c: Likewise.
61081         * libio/memstream.c: Likewise.
61082         * libio/obprintf.c: Likewise.
61083         * libio/oldfileops.c: Likewise.
61084         * libio/oldiofclose.c: Likewise.
61085         * libio/oldiofdopen.c: Likewise.
61086         * libio/oldiofopen.c: Likewise.
61087         * libio/oldiopopen.c: Likewise.
61088         * libio/oldstdfiles.c: Likewise.
61089         * libio/putc.c: Likewise.
61090         * libio/setbuf.c: Likewise.
61091         * libio/setlinebuf.c: Likewise.
61092         * libio/stdfiles.c: Likewise.
61093         * libio/strops.c: Likewise.
61094         * libio/vasprintf.c: Likewise.
61095         * libio/vscanf.c: Likewise.
61096         * libio/vsnprintf.c: Likewise.
61097         * libio/vswprintf.c: Likewise.
61098         * libio/wfiledoalloc.c: Likewise.
61099         * libio/wfileops.c: Likewise.
61100         * libio/wgenops.c: Likewise.
61101         * libio/wmemstream.c: Likewise.
61102         * libio/wstrops.c: Likewise.
61103         * libio/__fpurge.c: Likewise.
61104         * libio/__fsetlocking.c: Likewise.
61105         * assert/assert.c: Likewise.
61106         * debug/fgets_chk.c: Likewise.
61107         * debug/fgets_u_chk.c: Likewise.
61108         * debug/fread_chk.c: Likewise.
61109         * debug/fread_u_chk.c: Likewise.
61110         * debug/gets_chk.c: Likewise.
61111         * debug/obprintf_chk.c: Likewise.
61112         * debug/vasprintf_chk.c: Likewise.
61113         * debug/vdprintf_chk.c: Likewise.
61114         * debug/vsnprintf_chk.c: Likewise.
61115         * debug/vsprintf_chk.c: Likewise.
61116         * malloc/mtrace.c: Likewise.
61117         * misc/error.c: Likewise.
61118         * misc/syslog.c: Likewise.
61119         * stdio-common/asprintf.c: Likewise.
61120         * stdio-common/fxprintf.c: Likewise.
61121         * stdio-common/getw.c: Likewise.
61122         * stdio-common/isoc99_fscanf.c: Likewise.
61123         * stdio-common/isoc99_scanf.c: Likewise.
61124         * stdio-common/isoc99_vfscanf.c: Likewise.
61125         * stdio-common/isoc99_vscanf.c: Likewise.
61126         * stdio-common/isoc99_vsscanf.c: Likewise.
61127         * stdio-common/printf-prs.c: Likewise.
61128         * stdio-common/printf_fp.c: Likewise.
61129         * stdio-common/printf_fphex.c: Likewise.
61130         * stdio-common/printf_size.c: Likewise.
61131         * stdio-common/putw.c: Likewise.
61132         * stdio-common/scanf.c: Likewise.
61133         * stdio-common/sprintf.c: Likewise.
61134         * stdio-common/tmpfile.c: Likewise.
61135         * stdio-common/vfprintf.c: Likewise.
61136         * stdio-common/vfscanf.c: Likewise.
61137         * stdlib/strfmon_l.c: Likewise.
61138         * sunrpc/openchild.c: Likewise.
61139         * sunrpc/xdr_stdio.c: Likewise.
61140         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61141         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61143 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61145         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61147         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61148         in the third column, to generate for the shared library an IFUNC
61149         that uses _dl_vdso_vsym.
61150         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61151         * Makeconfig (object-suffixes-noshared): New variable.
61153         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61154         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61155         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61156         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61158         [BZ #14132]
61159         * include/sys/time.h (__gettimeofday): Remove macro.
61160         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61161         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61162         Remove INTDEF.
61163         (__gettimeofday): Add libc_hidden_def.
61164         (gettimeofday): Add libc_hidden_weak.
61165         * sysdeps/mach/gettimeofday.c: Likewise.
61166         * sysdeps/posix/gettimeofday.c: Likewise.
61167         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61168         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61170         (__gettimeofday_internal): Remove strong_alias.
61171         (__gettimeofday): Add libc_hidden_def.
61172         (gettimeofday): Add libc_hidden_weak.
61173         * sysdeps/unix/syscalls.list (gettimeofday):
61174         Remove __gettimeofday_internal alias.
61176 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61177             H.J. Lu  <hongjiu.lu@intel.com>
61179         [BZ #12495]
61180         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61181         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61182         (largebin_index_32_big): New.
61183         (largebin_index): Use it for 16-byte alignment.
61184         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61185         correction with front_misalign.
61187 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61191         Likewise.
61192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61193         Likewise.
61194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61195         Likewise.
61196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61197         Likewise.
61198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61199         Likewise.
61200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61201         Likewise.
61202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61203         Likewise.
61204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61205         Likewise.
61206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61207         Likewise.
61208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61209         Likewise.
61210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61211         Likewise.
61212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61213         Likewise.
61215         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61216         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61218 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61220         [BZ #10846]
61221         [BZ #14036]
61222         * math/libm-test.inc (exp_test): Add test from bug 14036.
61223         (pow_test): Add test from bug 10846.
61225         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61226         and other flags.
61227         (special_function): Do not include flags in test name.
61228         (parse_args): Likewise.
61229         * sysdeps/i386/fpu/libm-test-ulps: Update.
61230         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61231         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61232         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61235         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61236         exceptions.
61237         * math/libm-test.inc ("Philosophy"): Update comment about
61238         exception testing.
61239         (UNDERFLOW_EXCEPTION): New macro.
61240         (UNDERFLOW_EXCEPTION_OK): Likewise.
61241         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61242         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61243         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61244         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61245         (INVALID_EXCEPTION_OK): Update value.
61246         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61247         (OVERFLOW_EXCEPTION_OK): Likewise.
61248         (IGNORE_ZERO_INF_SIGN): Likewise.
61249         (test_exceptions): Handle underflow exceptions.
61250         (acos_test): Update for underflow exception expectations.
61251         (cexp_test): Likewise.
61252         (clog_test): Likewise.
61253         (clog10_test): Likewise.
61254         (csqrt_test): Likewise.
61255         (ctan_test): Likewise.
61256         (ctanh_test): Likewise.
61257         (exp_test): Likewise.
61258         (exp10_test): Likewise.
61259         (exp2_test): Likewise.
61260         (expm1_test): Likewise.
61261         (fma_test): Likewise.
61262         (j0_test): Likewise.
61263         (jn_test): Likewise.
61264         (nexttoward_test): Likewise.
61265         (pow_test): Likewise.
61266         (scalbn_test): Likewise.
61267         (scalbln_test): Likewise.
61268         (tan_test): Likewise.
61269         (y1_test): Likewise.
61270         * sysdeps/i386/fpu/libm-test-ulps: Update.
61271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61273 2012-05-23  David S. Miller  <davem@davemloft.net>
61275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61276         (__libc_sigaction): Remove unused local variables.
61278 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61280         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61282 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61284         mktime: avoid signed integer overflow
61285         * time/mktime.c (__mktime_internal): Do not mishandle the case
61286         where diff == INT_MIN.
61288         mktime: simplify computation of average
61289         * time/mktime.c (ranged_convert): Use new time_t_avg function
61290         instead of rolling our own (probably-slower) code.
61292         mktime: do not assume signed right shift propagates sign bit
61293         * time/mktime.c (isdst_differ): New static function.
61294         (__mktime_internal): No need to normalize tm_isdst now.
61295         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61296         tm_isdst values.
61298         mktime: merge another wrapv change from gnulib
61299         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61300         from some compilers.
61302         mktime: remove incorrect attempt at unusual arithmetics
61303         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61304         The code didn't really work on such machines anyway.
61305         (TYPE_MINIMUM): Assume two's complement.
61306         (twos_complement_arithmetic): Verify that long_int and time_t
61307         are two's complement (or unsigned, in the latter case).
61309         mktime: check signed shifts on long_int and time_t, too
61310         * time/mktime.c (SHR): Check that shifts work as desired
61311         on the types long_int and time_t too, as SHR is used on
61312         such types.
61314         mktime: do not assume 'long' is wide enough
61315         * time/mktime.c (verify): Move decl up.
61316         (long_int): New type.
61317         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61318         to remove assumption in the code that 'long' is wide enough to
61319         store year values.  This assumption is not true on x32 and on
61320         some non-glibc platforms.
61322         mktime: merge wrapv change from gnulib
61323         * time/mktime.c (WRAPV): New macro.
61324         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61325         (guess_time_tm, __mktime_internal): Do not assume that signed
61326         integer overflow wraps around; modern compilers generate code
61327         where this assumption is no longer valid.
61329 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61331         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61332         Replace "jmp L(pseudo_end)" with "ret".
61333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61334         Likewise.
61336 2012-05-23  Andreas Jaeger  <aj@suse.de>
61338         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61339         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61341 2012-05-23  Andreas Jaeger  <aj@suse.de>
61342             Maximilian Attems  <max@stro.at>
61344         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61345         New macros.
61347 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61349         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61350         code so that pseudo_end is just ret and the stack pointer is
61351         correct also for static library in error case.
61353 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61355         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61356         move to syscalls.list.
61357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61362         * manual/install.texi (Running make install): Do not mention Linux
61363         kernel version for which pt_chown is not needed.
61364         (Linux): Do not mention problems with nscd with 2.0 kernels.
61365         * INSTALL: Regenerated.
61367 2012-05-23  Andreas Jaeger  <aj@suse.de>
61369         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61370         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61371         macro.
61372         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61373         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61374         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61375         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61376         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61377         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61378         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61380         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61381         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61382         * sysdeps/unix/sysv/linux/bits/in.h
61383         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61385 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61387         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61388         (PREPARE_VERSION): Just use assert instead, it will be elided
61389         under [NDEBUG] anyway.
61391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61393         * sysdeps/unix/sysv/linux/Makefile: Include
61394         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61395         (sysdep_routines): Remove sysctl.
61396         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61397         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61398         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61399         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61400         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61402 2012-05-22  Andreas Jaeger  <aj@suse.de>
61404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61405         that pseudo_end is just ret and the stack pointer is correct also
61406         for static library in error case.
61408 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61410         [BZ #14122]
61411         * nss/nsswitch.c (defconfig_entries): New variable.
61412         (__nss_database_lookup): Don't leak defconfig entries.
61413         (nss_parse_service_list): Don't leak on error paths.
61414         (free_database_entries): New function.
61415         (free_defconfig): New function.
61416         (free_mem): Move common code to free_database_entries.
61418 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61420         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61421         Add arch_prctl.
61422         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61424         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61425         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61427         New macro.
61428         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61429         (INTERNAL_SYSCALL_TYPES): Likewise.
61430         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61431         (LOAD_REGS_TYPES_[1-6]): Likewise.
61432         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61433         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61435 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61437         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61438         copysignl for GLIBC_2_0.
61439         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61440         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61442         logbl for GLIBC_2_0.
61443         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61444         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61446 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61448         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61449         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61451         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61452         Use "neg %eax".
61454         * time/mktime.c: Update copyright years.
61456 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61458         mktime: merge comment-quoting-style change from gnulib
61459         * time/mktime.c: Quote 'like this' in comments.
61460         The GNU coding standards suggest that we no longer quote `like this',
61461         as "`" and "'" are typically rendered asymmetrically nowadays.
61462         The typical gnulib style is to quote 'like this' when quoting
61463         code, and "like this" when quoting English.
61465         * time/mktime.c (compile-command): Add "-I.".
61467         mktime: merge mktime-internal.h change from gnulib
61468         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61470         mktime: merge time_r change from gnulib
61471         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61473         mktime: merge DEBUG change from gnulib
61474         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61475         case system <time.h> has a #define.
61477         mktime: merge <sys/types.h> change from gnulib
61478         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61479         since <time.t> is now guaranteed to define time_t.
61481         mktime: merge HAVE_CONFIG_H change from gnulib
61482         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61484 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61487         Use "neg %eax".
61489         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61490         __rlim_t cast.
61491         (struct rusage): Use anonymous union to pad each field to
61492         __syscall_slong_t.
61494 2012-05-21  David S. Miller  <davem@davemloft.net>
61496         * Makefules (o-iterator): Remove .s cases.
61497         (compile-command.s): Delete.
61498         (COMPILE.s): Delete.
61499         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61501 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61503         * configure.in (libc_cv_predef_stack_protector): Only consider
61504         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61505         * configure: Regenerated.
61507 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61510         New macro.  Use R*LP on int and pointer.
61511         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61512         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61513         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61514         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61516         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61517         [__WORDSIZE_TIME64_COMPAT32] instead of
61518         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61519         (struct utmp): Likewise.
61520         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61521         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61522         Renamed to ...
61523         (__WORDSIZE_TIME64_COMPAT32): This.
61524         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61525         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61526         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61527         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61528         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61529         (__WORDSIZE_TIME64_COMPAT32): New macro.
61531 2012-05-21  Andreas Jaeger  <aj@suse.de>
61533         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61534         only if [SHARED]. Add prototype for __wcschr_ia32.
61536 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61538         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61539         of %rbp unmolested in the jmp_buf while mangling the low bits.
61540         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61541         unmolested high bits of %rbp while demangling the low bits.
61542         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61544 2012-05-21  Andreas Jaeger  <aj@suse.de>
61546         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61547         * sunrpc/svc_simple.c: Use it for registerrpc.
61548         * sunrpc/xcrypt.c: Use it for passwd2des.
61550         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61552 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61554         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61555         Don't define if [__SYSCALL_WORDSIZE != 32].
61556         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61557         New macro.
61559 2012-05-21  Bruno Haible  <bruno@clisp.org>
61560             Andreas Jaeger  <aj@suse.de>
61562         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61563         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61564         inptr and inend for must_buffer_ch.
61565         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61566         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61567         * stdio-common/Makefile (tests): Remove bug15.
61568         (bug15-ENV): Remove macro.
61569         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61570         anymore.
61572 2012-05-19  Andreas Jaeger  <aj@suse.de>
61573             Roland McGrath  <roland@hack.frob.com>
61575         * manual/contrib.texi: Completely rewritten. It contains now an
61576         alphabetical list of contributors and their contributions.
61578 2012-05-21  Richard Henderson  <rth@twiddle.net>
61580         * misc/getauxval.c (__getauxval): Use unsigned long int.
61581         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61582         (getauxval): Use unsigned long int.
61584 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61586         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61588 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61590         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61591         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61592         __alignof__ (long double).
61594 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61598 2012-05-20  Richard Henderson  <rth@twiddle.net>
61600         * misc/getauxval.c: New file.
61601         * misc/sys/auxv.h: New file.
61602         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61603         (routines): Add getauxval.
61604         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61605         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61606         * elf/dl-sysdep.c (_dl_auxv): Remove.
61607         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61608         * elf/dl-support.c (_dl_auxv): New variable.
61609         (_dl_aux_init): Initialize it.
61610         * manual/startup.texi (Auxiliary Vector): New node.
61611         * sysdeps/generic/bits/hwcap.h: New file.
61612         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61613         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61614         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61615         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61616         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61617         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61619         Update.
61620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61629 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61633 2012-05-19  David S. Miller  <davem@davemloft.net>
61635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61637 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61639         [BZ #14123]
61640         * math/s_ccosh.c: Include <float.h>
61641         (__ccosh): Avoid internal overflow calculating sinh and cosh
61642         values before multiplying by sin and cos values.
61643         * math/s_ccoshf.c: Likewise.
61644         * math/s_ccoshl.c: Likewise.
61645         * math/s_csin.c: Likewise.
61646         * math/s_csinf.c: Likewise.
61647         * math/s_csinl.c: Likewise.
61648         * math/s_csinh.c: Likewise.
61649         * math/s_csinhf.c: Likewise.
61650         * math/s_csinhl.c: Likewise.
61651         * math/libm-test.inc (ccos_test): Add more tests.
61652         (ccosh_test): Likewise.
61653         (csin_test): Likewise.
61654         (csinh_test): Likewise.
61655         * sysdeps/i386/fpu/libm-test-ulps: Update.
61656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61658 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61660         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61661         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61663         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61665 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61667         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61668         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61669         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61670         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61671         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61672         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61673         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61674         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61675         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61676         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61677         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61678         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61679         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61680         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61681         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61682         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61683         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61684         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61685         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61686         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61687         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61688         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61689         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61690         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61691         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61692         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61693         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61694         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61695         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61696         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61697         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61699 2012-05-18  Andreas Jaeger  <aj@suse.de>
61701         * csu/.gitignore: Delete.
61703 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61705         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61706         (timex): Use __syscall_slong_t.
61708 2012-05-18  Andreas Jaeger  <aj@suse.de>
61709             Carlos O'Donell  <carlos_odonell@mentor.com>
61711         * manual/install.texi (Configuring and compiling): Update
61712         description about files modified in the source directory.
61713         * INSTALL: Regenerated.
61715 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61717         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61718         value.  Use "or" to set return value to -1.
61719         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61720         negate return value.
61722 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61724         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61725         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61726         failure if the compiler has Graphite support disabled.
61727         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61728         Likewise.
61729         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61730         (CFLAGS-memmove.c): Likewise.
61731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61732         Likewise.
61734 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61736         * sysdeps/x86_64/x32/_itoa.h: New file.
61738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61739         getdents system call only if kernel and user dirents have the
61740         same d_ino and d_off.
61742         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61743         LLONG_MAX != LONG_MAX.
61744         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61745         (_fitoa_word): Likewise.
61747         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61748         years.
61749         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61750         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61751         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61753         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61754         include <bits/wordsize.h>.  Check __x86_64__ instead of
61755         __WORDSIZE.
61756         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61757         if __x86_64__ is defined.  Use anonymous union on fpstate.
61759         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61760         anonymous union.
61762 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61764         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61765         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61766         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61767         Refer to _rtld_local_ro instead of _rtld_global_ro.
61768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61769         Likewise.
61770         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61771         Likewise.
61772         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61773         Likewise.
61774         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61775         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61776         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61778         [BZ #10882]
61779         * sysdeps/powerpc/powerpc32/dl-machine.c
61780         (__elf_machine_runtime_setup) [PROF]: Don't reference
61781         _dl_prof_resolve.
61783 2012-05-18  Andreas Jaeger  <aj@suse.de>
61785         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61786         function only available for GCCs before 3.4 since GCC 3.4
61787         introduced a builtin.
61788         (lrint): Likewise.
61789         (llrintf): Likewise.
61790         (llrint): Likewise.
61791         (fmaxf): Likewise.
61792         (fmax): Likewise.
61793         (fminf): Likewise.
61794         (fmin): Likewise.
61795         (rint): Likewise.
61796         (rintf): Likewise.
61797         (nearbyint): Likewise.
61798         (nearbyintf): Likewise.
61799         (ceil): Likewise.
61800         (ceilf): Likewise.
61801         (floor): Likewise.
61802         (floorf): Likewise.
61804 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61806         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61807         on both fields and cast pointer to __syscall_ulong_t.
61809         * bits/types.h (__fsword_t): New type.
61810         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61811         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61813         (__FSWORD_T_TYPE): Likewise.
61814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61815         (__FSWORD_T_TYPE): Likewise.
61816         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61817         (__FSWORD_T_TYPE): Likewise.
61818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61819         (__FSWORD_T_TYPE): Likewise.
61820         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61821         __SWORD_TYPE with __fsword_t.
61822         (statfs64): Likewise.
61824 2012-05-17  David S. Miller  <davem@davemloft.net>
61826         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61828 2012-05-17  Andreas Jaeger  <aj@suse.de>
61830         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61831         warning.
61833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61835         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61837 2012-05-17  Andreas Jaeger  <aj@suse.de>
61839         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61840         when it is used.
61842 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61844         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61846 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61848         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61849         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61851 2012-05-17  Andreas Jaeger  <aj@suse.de>
61852             Carlos O'Donell  <carlos_odonell@mentor.com>
61854         [BZ #14059]
61855         * sysdeps/x86_64/multiarch/init-arch.h
61856         (bit_YMM_Usable): Rename to...
61857         (bit_AVX_Usable): ... this.
61858         (bit_FMA4_Usable): New macro.
61859         (bit_XMM_state): New macro.
61860         (bit_YMM_state): New macro.
61861         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61862         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61863         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61864         (CPUID_OSXSAVE): New macro.
61865         (CPUID_AVX): New macro.
61866         (CPUID_FMA4): New macro.
61867         (index_YMM_Usable): Rename to...
61868         (index_AVX_Usable): ... this.
61869         (HAS_AVX): Use HAS_ARCH_FEATURE.
61870         (HAS_FMA4): Likewise.
61871         (HAS_YMM_USABLE): Remove.
61872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61873         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61874         are present.
61875         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61876         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61877         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61878         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61879         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61881 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61883         * math/libm-test.c: Support platforms without multiple rounding modes.
61884         * math/bug-nextafter.c: Support platforms without FP exceptions.
61885         * math/bug-nexttoward.c: Likewise.
61886         * math/test-fenv.c: Likewise.
61887         * math/test-misc.c: Likewise.
61888         * stdlib/bug-getcontext.c: Likewise.
61890 2012-05-17  Andreas Jaeger  <aj@suse.de>
61892         * manual/examples/search.c (critter_cmp): Change signature to
61893         avoid warnings.
61894         * manual/string.texi (Collation Functions): Likewise.
61896 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61898         * bits/types.h: Fold copyright years.
61899         * bits/typesizes.h: Likewise.
61900         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61902         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61903         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61904         * time/time.h: Likewise.
61906 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61908         [BZ #208]
61909         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61910         in instead of returning them.  Return void.
61911         (__libc_mallinfo): Accumulate over all arenas.
61912         (__malloc_stats): Adjust for change in int_mallinfo interface.
61914 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61916         [BZ #10375]
61917         * configure.in (NM): Add AC_CHECK_TOOL for it.
61918         (libc_extra_cflags): New substituted variable.
61919         Check for -fstack-protector being used implicitly.
61920         * configure: Regenerated.
61921         * config.make.in (config-extra-cflags): New variable,
61922         gets @libc_extra_cflags@.
61923         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61925         [BZ #10375]
61926         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61927         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61928         * configure: Regenerated.
61929         * config.make.in (CPPUNDEFS): New substituted variable.
61930         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61931         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61932         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61936         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61937         (mq_attr): Use __syscall_slong_t.
61939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61941         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61942         Check __x86_64__ instead of __WORDSIZE.
61943         (_STAT_VER_LINUX): Likewise.
61944         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61945         __syscall_ulong_t and __syscall_slong_t.
61946         (stat64): Likewise.
61948 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61950         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61952 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61954         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61958         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61959         __syscall_ulong_t.
61961         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61962         include <bits/wordsize.h>.  Check __x86_64__ instead of
61963         __WORDSIZE.
61964         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61965         defined.
61966         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61969         include <bits/wordsize.h>.  Check __x86_64__ instead of
61970         __WORDSIZE.
61971         (user_regs_struct): Use "__extension__ unsigned long long"
61972         instead of "unsigned long" if __x86_64__ is defined.
61973         (user): Likewise.  Pad after pointer field if __ILP32__ is
61974         defined.
61976 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61978         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61979         versions 5 to 9.
61980         * configure: Regenerated.
61981         * manual/install.texi (texinfo): Increase version requirement to
61982         4.5 or later.
61983         * INSTALL: Regenerated.
61985         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61987 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61989         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61991         * sysdeps/x86_64/x32/ffs.c: New file.
61993         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61994         __syscall_ulong_t.
61995         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61996         defined.  Use __syscall_ulong_t.
61997         (shminfo): Use __syscall_ulong_t.
61998         (shm_info): Likewise.
62000         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62001         __syscall_ulong_t.
62003         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62004         <bits/wordsize.h>.
62005         (msgqnum_t): Use __syscall_ulong_t.
62006         (msglen_t): Likewise.
62007         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62008         __syscall_ulong_t.
62010         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62011         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62013         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62015         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62016         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62018         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62019         __syscall_slong_t.
62021         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62022         include <bits/wordsize.h>.  Check __x86_64__ instead of
62023         __WORDSIZE.
62025         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62026         "unsigned long long int" if __x86_64__ is defined.
62027         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62029         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62030         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62031         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62033         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62034         <stdint.h>.
62035         (GET_PC): Cast to uintptr_t first.
62036         (GET_FRAME): Likewise.
62037         (GET_STACK): Likewise.
62039         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62041         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62042         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62043         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62044         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62045         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62046         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62047         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62049         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62051         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62053         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62056         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62057         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62060         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62061         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62062         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62063         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62064         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62067         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62069 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62071         * Makerules (+depfiles): Also collect depfiles from .oS in
62072         $(extra-objs).
62073         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62074         .oS, $(libnldbl-routines)).
62076         * Makerules (native-compile-mkdep-flags): Define.
62077         * sunrpc/Makefile (extra-objs): Add $(addprefix
62078         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62079         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62080         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62081         calling $(make-target-directory).
62083 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62085         * bits/types.h (__snseconds_t): Removed.
62086         * time/time.h (struct timespec): Replace __snseconds_t with
62087         __syscall_slong_t.
62088         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62089         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62090         Likewise.
62091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62092         (__SNSECONDS_T_TYPE): Likewise.
62093         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62094         (__SNSECONDS_T_TYPE): Likewise.
62095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62096         (__SNSECONDS_T_TYPE): Likewise.
62098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62100         * sysdeps/mach/hurd/bits/typesizes.h
62101         (__SYSCALL_SLONG_TYPE): New macro.
62102         (__SYSCALL_ULONG_TYPE): Likewise.
62104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62106         * bits/types.h (__syscall_slong_t): New type.
62107         (__syscall_ulong_t): Likewise.
62109         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62110         (__SYSCALL_ULONG_TYPE): Likewise.
62111         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62112         (__SYSCALL_SLONG_TYPE): Likewise.
62113         (__SYSCALL_ULONG_TYPE): Likewise.
62114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62115         (__SYSCALL_SLONG_TYPE): Likewise.
62116         (__SYSCALL_ULONG_TYPE): Likewise.
62117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62118         (__SYSCALL_SLONG_TYPE): Likewise.
62119         (__SYSCALL_ULONG_TYPE): Likewise.
62121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62123         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62124         Add sigaltstack-offsets.sym.
62125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62126         <sigaltstack-offsets.h>.
62127         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62128         longjmp_msg pointer.
62129         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62130         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62131         signal stack.
62132         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62134 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62136         * elf/stackguard-macros.h: Remove file.
62137         * sysdeps/generic/stackguard-macros.h: New file.
62138         * sysdeps/i386/stackguard-macros.h: Likewise.
62139         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62140         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62141         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62142         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62143         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62144         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62145         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62146         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62147         <elf/stackguard-macros.h>.
62149         [BZ #14109]
62150         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62151         __aligned__ in attribute.
62152         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62153         (gregset_t): Likewise.
62155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62157         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62158         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62159         * sysdeps/x86_64/x32/Implies-after: New file.
62161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62163         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62164         and access return value for _dl_profile_fixup.  Use R10_LP to
62165         load frame size.
62167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62169         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62173         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62174         * sysdeps/x86_64/x32/sysdep.h: New file.
62176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62178         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62179         * sysdeps/x86_64/setjmp.S: Likewise.
62181 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62184         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62185         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62186         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62187         remove unused global constant.
62189 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62191         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62192         include of <not-cancel.h>.
62194 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62196         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62198 2012-05-15  Jeff Law  <law@redhat.com>
62199             Andreas Jaeger  <aj@suse.de>
62201         [BZ #13594]
62202         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62203         out from...
62204         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62205         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62206         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62207         code changing __hst_map_handle.map.
62209 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62211         * configure.in (sysnames): Look for Implies-before and Implies-after
62212         files.
62213         * configure: Regenerated.
62215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62217         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62218         8-byte data alignment with LP_SIZE alignment.
62220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62222         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62223         into R10_LP.
62225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62227         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62231         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62232         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62234         Likewise.
62235         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62239         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62240         (stackinfo_sub_sp): Likewise.
62242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62244         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62245         RAX_LP.
62247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62250         into R*_LP.
62252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62254         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62255         sizes into R*_LP.
62257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62259         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62263         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62264         into R11_LP and load __x86_64_shared_cache_size_half into
62265         R8_LP.
62267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62269         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62270         R8_LP.
62272 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62274         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62275         logb for POWER7.
62276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62277         logbf for POWER7.
62278         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62279         logbl for POWER7.
62280         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62281         powerpc32/power7/fpu/s_logb.c via #include.
62282         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62283         powerpc32/power7/fpu/s_logbf.c via #include.
62284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62285         powerpc32/power7/fpu/s_logbl.c via #include.
62287 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62289         * README.libm: Remove file.
62291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62294         count for x32.  Use R*_LP and omit operand-size suffix.
62296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62298         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62299         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62300         * sysdeps/x86_64/x32/shlib-versions: New file.
62302 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62304         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62305         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62306         Use _dl_fatal_printf instead.
62308 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62310         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62311         set if not set by the user.  Do not allow for being unset.
62312         * sysdeps/unix/sysv/linux/configure: Regenerated.
62314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62316         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62317         the `q' suffix from lea and replace .quad with ASM_ADDR.
62319 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62322         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62323         instead of $17.
62324         (PTR_DEMANGLE): Likewise.
62326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62328         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62329         (LP_OP): Likewise.
62330         (ASM_ADDR): Likewise.
62331         (RAX_LP): Likewise.
62332         (RBP_LP): Likewise.
62333         (RBX_LP): Likewise.
62334         (RCX_LP): Likewise.
62335         (RDI_LP): Likewise.
62336         (RSI_LP): Likewise.
62337         (RSP_LP): Likewise.
62338         (R8_LP): Likewise.
62339         (R9_LP): Likewise.
62340         (R10_LP): Likewise.
62341         (R10_LP): Likewise.
62342         (R11_LP): Likewise.
62343         (R12_LP): Likewise.
62344         (R13_LP): Likewise.
62345         (R14_LP): Likewise.
62346         (R15_LP): Likewise.
62348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62350         * sysdeps/x86_64/x32/dl-machine.h: New file.
62352 2012-05-14  Andreas Jaeger  <aj@suse.de>
62354         * manual/Makefile (subdir): Remove export of subdir.
62355         (all): Remove target.
62356         (.PHONY): Remove all from list.
62357         (mkinstalldirs): Remove.
62358         (.PHONY): Remove installdirs from list.
62359         ($(inst_infodir)/libc.info): Use make-target-directory.
62360         (installdirs): Remove.
62361         (subdir_%): Remove.
62362         (glibc-targets): Remove.
62363         (lib): Remove.
62364         (stubs): Remove.
62365         ($(objpfx)stubs ../po/manual.pot): Remove.
62366         ($(objpfx)stamp%): Remove.
62367         (make-target-directory): Remove.
62368         (subdir_install): Remove.
62369         (routines): Remove.
62370         (aux): Remove.
62371         (sources): Remove.
62372         (objects): Remove.
62373         (headers): Remove.
62375         [BZ #13750]
62376         * manual/.gitignore: Remove, it's not needed anymore.
62377         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62378         all files in it.
62379         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62380         directory.
62381         (texis): Renamed to $(objpfx)texis.
62382         (texis-path): New, contains path to generated files.
62383         (chapters.%): Use texis-path for complete path, add extra argument
62384         libc-texinfo.sh.
62385         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62386         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62387         (summary,texi, stamp-summary): Use complete path of
62388         files. Generate files in build dir.
62389         (dir-add.texi): Build in build dir.
62390         (libm-err.texi,stamp-libm-err): Likewise.
62391         (version.texi, stamp-version): Likewise.
62392         (.%c.texi): Likewise.
62393         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62394         (mostlyclean): Remove target.
62395         (realclean): Remove target.
62396         (generated): Add new variable with contents from mostlyclean and
62397         realclean, remove entries duplicated in common-mostlyclean, add
62398         stamp-libm-err and stamp-version.
62399         (generated-dirs): Add libc directory.
62400         ($(inst_infodir)/libc.info): Install files from build dir.
62402         * manual/install.texi (Configuring and compiling): Adjust since
62403         the info files are not part of the tar ball anymore.
62405 2012-05-14  Andreas Jaeger  <aj@suse.de>
62407         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62408         variable.
62410 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62412         [BZ #13717]
62413         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62414         to 2.2.0 where earlier.
62415         * sysdeps/unix/sysv/linux/configure: Regenerated.
62416         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62417         Remove conditional code.
62418         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62419         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62420         Remove conditional code.
62421         [!__NR_lchown]: Likewise.
62422         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62423         [__NR_lchown]: Likewise.
62424         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62425         comment referencing __ASSUME_LCHOWN_SYSCALL.
62426         * sysdeps/unix/sysv/linux/i386/sigaction.c
62427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62429         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62430         Remove conditional code.
62431         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62432         (__protocol_available): Remove #if 0 code.
62433         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62434         conditional code.
62435         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62436         * sysdeps/unix/sysv/linux/kernel-features.h
62437         (__ASSUME_GETCWD_SYSCALL): Don't define.
62438         (__ASSUME_REALTIME_SIGNALS): Likewise.
62439         (__ASSUME_PREAD_SYSCALL): Likewise.
62440         (__ASSUME_PWRITE_SYSCALL): Likewise.
62441         (__ASSUME_POLL_SYSCALL): Likewise.
62442         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62443         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62444         non-SPARC.
62445         (__ASSUME_SIOCGIFNAME): Don't define.
62446         (__ASSUME_MSG_NOSIGNAL): Likewise.
62447         (__ASSUME_SENDFILE): Define unconditionally.
62448         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62449         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62450         conditional code.
62451         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62452         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62453         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62454         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62455         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62456         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62457         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62471         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62474         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62477         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62478         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62480         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62481         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62482         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62483         Remove conditional code.
62484         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62485         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62486         Remove conditional code.
62487         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62488         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62489         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62490         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62491         Remove conditional code.
62492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62493         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62494         Remove conditional code.
62495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62496         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62497         Remove conditional code.
62498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62499         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62500         Remove conditional code.
62501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62502         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62503         Remove conditional code.
62504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62505         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62508         * sysdeps/unix/sysv/linux/sigaction.c
62509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62511         * sysdeps/unix/sysv/linux/sigpending.c
62512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62514         * sysdeps/unix/sysv/linux/sigprocmask.c
62515         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62516         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62517         * sysdeps/unix/sysv/linux/sigsuspend.c
62518         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62519         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62520         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62521         (__libc_missing_rt_sigs): Remove.
62522         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62523         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62524         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62525         Remove conditional code.
62526         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62527         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62528         return 1.
62529         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62530         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62531         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62532         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62534 2012-05-14  Andreas Jaeger  <aj@suse.de>
62536         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62537         it's not used in glibc.
62538         (__coshm1): Likewise.
62539         (__acosh1p): Likewise.
62540         (__sgn): Likewise.
62542         * manual/string.texi (Copying and Concatenation): Add missing
62543         variable in concat example.
62544         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62548         [BZ #14103]
62549         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62550         __builtin_clzl with __builtin_clzll.
62552 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62554         [BZ #14104]
62555         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62556         libc_freeres_ptr.
62558 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62560         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62561         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62562         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62563         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62565 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62567         * NEWS: Update ia64 info.
62569 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62571         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62572         used as bcopy.
62574 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62576         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62577         * sysdeps/unix/syscalls.list (dup3): Likewise.
62578         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62579         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62581 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62583         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62584         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62586 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62588         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62589         thread pointer.
62590         (TLS_IE): Use mov/add instead of movq/addq to load thread
62591         pointer.
62592         (TLS_GD_PREFIX): New.
62593         (TLS_GD): Use it.
62595 2012-05-11  David S. Miller  <davem@davemloft.net>
62597         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62598         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62599         (_FPU_SETCW): Likewise.
62601 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62603         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62604         is 32-byte aligned.
62606 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62608         [BZ #11837]
62609         * iconvdata/gb18030.c: Update tables.
62610         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62611         characters specially.
62612         (BODY for TO_LOOP): Add encoding of missing ranges.
62614 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62616         [BZ #13673]
62617         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62618         * sysdeps/mach/hurd/dup3.c: Likewise.
62619         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62620         * sysdeps/powerpc/memmove.c:: Likewise.
62622 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62624         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62625         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62629         * elf/elf.h (R_X86_64_RELATIVE64): New.
62630         (R_X86_64_NUM): Updated.
62631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62632         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62633         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62634         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62635         tst-quad1pie tst-quad2pie
62636         (modules-names): Add tst-quadmod1 tst-quadmod2.
62637         ($(objpfx)tst-quad1): New dependency.
62638         ($(objpfx)tst-quad2): Likewise.
62639         ($(objpfx)tst-quad1pie): Likewise.
62640         ($(objpfx)tst-quad2pie): Likewise.
62641         * sysdeps/x86_64/tst-quad1.c: New file.
62642         * sysdeps/x86_64/tst-quad1pie.c: New file.
62643         * sysdeps/x86_64/tst-quad2.c: Likewise.
62644         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62645         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62646         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62647         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62648         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62652         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62653         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62654         * streams/stropts.h (t_scalar_t): Define type.
62656         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62657         (_PATH_PRESERVE): Set to "/var/lib".
62658         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62660         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62661         instead of int.
62663         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62664         if __dir_mkfile succeeded.
62666         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62667         checking for _hurd_dtablesize.  Unlock it right after having
62668         finished _hurd_dtable allocation.
62670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62672         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62673         * sysdeps/mach/hurd/configure: Regenerated.
62674         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62675         special-casing to...
62676         * sysdeps/gnu/configure.in: ... this new file.
62677         * sysdeps/unix/sysv/linux/configure: Regenerated.
62678         * sysdeps/gnu/configure: New generated file.
62680         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62681         for Linux: use nsec instead of usec, as well as:
62682         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62683         members of type struct timespec.
62684         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62685         New macros.
62686         (struct stat64): Likewise.
62687         (_STATBUF_ST_NSEC): New macro.
62688         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62690         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62691         __strtoul_internal rather than strtoul.
62693 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62695         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62696         and reject them.
62698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62700         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62701         which preserves existing values.
62702         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62706         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62707         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62708         greater than FD_SETSIZE.
62710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62712         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62713         allocated, call __vm_protect to finish enabling the existing space, and
62714         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62715         allocate the remainder.
62717 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62719         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62720         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62722 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62724         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62725         sysdeps/mach/hurd/readlink.c.
62727         * posix/tst-sysconf.c (posix_options): Only use
62728         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62729         _POSIX_SYNCHRONIZED_IO when they are defined
62730         * sysdeps/mach/hurd/bits/posix_opt.h:
62731         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62732         (_XOPEN_REALTIME): Undefine macro.
62733         (_XOPEN_REALTIME_THREADS): Undefine macro.
62734         (_XOPEN_SHM): Undefine macro.
62735         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62736         macro to -1.
62737         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62738         macro to -1.
62739         (_POSIX_ASYNC_IO): Undefine macro.
62740         (_POSIX_PRIORITIZED_IO): Undefine macro.
62741         (_POSIX_SPIN_LOCKS): Define macro to -1.
62743         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62744         SA_NODEFER, SA_RESETHAND.
62745         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62746         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62747         F_DUPFD_CLOEXEC.
62749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62751         * elf/Makefile (pldd-modules): Define unconditionally.
62753 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62755         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62759         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62760         Return ENOENT when name is empty.
62761         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62763 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62765         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62767         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62769 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62771         Fix mlock in all cases except non-readable pages.
62772         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62773         instead of VM_PROT_ALL as parameter to __vm_wire function.
62775         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62776         (__mkdir): When path is `/', just fail with EEXIST.
62777         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62781         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62782         <sys/uio.h> (for writev).
62783         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62784         and <sys/param.h> (for MIN).
62786 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62788         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62789         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62790         if interrupted.
62792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62794         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62795         Depend on against $(link-rpcuserlibs).
62797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62799         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62800         (__libc_stack_end): Do not use attribute_relro.
62801         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62802         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62803         to libthread-provided value.
62804         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62805         attribute_relro.
62807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62809         [BZ #3748]
62810         * bits/libc-lock.h (__libc_once_get): New macro.
62811         * sysdeps/mach/bits/libc-lock.h: Likewise.
62812         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62813         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62814         instead of using implementation details.
62816         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62817         * libio/freopen.c: Likewise.
62818         * libio/freopen64.c: Likewise.
62819         * misc/syslog.c: Likewise.
62820         * nscd/connections.c: Likewise.
62821         * nscd/netgroupcache.c: Likewise.
62822         * sysdeps/posix/getcwd.c: Likewise.
62824 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62826         * math/w_ilogbf.c: Add #include <limits.h>.
62828 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62830         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62831         path instead of returning without unlocking.
62833         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62834         immediate-write ioctls.
62835         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62837 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62839         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62840         __builtin_frame_address instead of making assumptions about the
62841         location of the return address relative to DATA.  Force early load of
62842         the return address.
62843         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62844         __builtin_frame_address.
62846         dup3 for GNU Hurd.
62847         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62848         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62849         implement dup3 and do some further code clean-ups.
62850         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62851         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62855         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62857         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62858         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62859         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62860         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62861         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62862         d->port.lock.
62864         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62865         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62866         when handler == SIG_ERR, not when handler != SIG_ERR.
62868 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62870         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62871         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62872         definitions.
62874         accept4 for GNU Hurd.
62875         * include/sys/socket.h (__libc_accept4): New prototype.
62876         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62877         to implement __libc_accept4.
62878         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62879         __libc_accept4.
62880         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62882         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62883         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62884         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62885         signal-defines.sym.
62887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62889         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62893         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62894         assertion on O_CLOEXEC flag.
62895         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62896         * hurd/intern-fd.c: Likewise.
62897         * hurd/port2fd.c: Likewise.
62899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62901         [BZ #3906]
62902         * bits/in.h (IPV6_PKTINFO): Define new macro.
62903         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62905 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62907         [BZ #13954]
62908         [BZ #13955]
62909         [BZ #13956]
62910         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62912         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62913         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62915         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62916         * math/libm-test.inc (logb_test) : Additional logb tests.
62918 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62919             Andreas Jaeger  <aj@suse.de>
62921         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62922         * configure: Regenerated.
62923         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62924         * config.make.in (link-obsolete-rpc): New substituted variable.
62925         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62926         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62927         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62928         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62929         so that libc.a contains the symbols.
62930         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62931         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62932         * sunrpc/auth_none.c: Likewise.
62933         * sunrpc/auth_unix.c: Likewise.
62934         * sunrpc/authdes_prot.c: Likewise.
62935         * sunrpc/authuxprot.c: Likewise.
62936         * sunrpc/clnt_gen.c: Likewise.
62937         * sunrpc/clnt_perr.c: Likewise.
62938         * sunrpc/clnt_raw.c: Likewise.
62939         * sunrpc/clnt_simp.c: Likewise.
62940         * sunrpc/clnt_tcp.c: Likewise.
62941         * sunrpc/clnt_udp.c: Likewise.
62942         * sunrpc/clnt_unix.c: Likewise.
62943         * sunrpc/des_crypt.c: Likewise.
62944         * sunrpc/des_soft.c: Likewise.
62945         * sunrpc/get_myaddr.c: Likewise.
62946         * sunrpc/key_call.c: Likewise.
62947         * sunrpc/key_prot.c: Likewise.
62948         * sunrpc/netname.c: Likewise.
62949         * sunrpc/pm_getmaps.c: Likewise.
62950         * sunrpc/pm_getport.c: Likewise.
62951         * sunrpc/pmap_clnt.c: Likewise.
62952         * sunrpc/pmap_prot.c: Likewise.
62953         * sunrpc/pmap_prot2.c: Likewise.
62954         * sunrpc/pmap_rmt.c: Likewise.
62955         * sunrpc/publickey.c: Likewise.
62956         * sunrpc/rpc_cmsg.c: Likewise.
62957         * sunrpc/rpc_common.c: Likewise.
62958         * sunrpc/rpc_dtable.c: Likewise.
62959         * sunrpc/rpc_prot.c: Likewise.
62960         * sunrpc/rpc_thread.c: Likewise.
62961         * sunrpc/rtime.c: Likewise.
62962         * sunrpc/svc.c: Likewise.
62963         * sunrpc/svc_auth.c: Likewise.
62964         * sunrpc/svc_raw.c: Likewise.
62965         * sunrpc/svc_run.c: Likewise.
62966         * sunrpc/svc_tcp.c: Likewise.
62967         * sunrpc/svc_udp.c: Likewise.
62968         * sunrpc/svc_unix.c: Likewise.
62969         * sunrpc/svcauth_des.c: Likewise.
62970         * sunrpc/xcrypt.c: Likewise.
62971         * sunrpc/xdr.c: Likewise.
62972         * sunrpc/xdr_array.c: Likewise.
62973         * sunrpc/xdr_float.c: Likewise.
62974         * sunrpc/xdr_intXX_t.c: Likewise.
62975         * sunrpc/xdr_mem.c: Likewise.
62976         * sunrpc/xdr_rec.c: Likewise.
62977         * sunrpc/xdr_ref.c: Likewise.
62978         * sunrpc/xdr_sizeof.c: Likewise.
62979         * sunrpc/xdr_stdio.c: Likewise.
62981 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62984         change.  Update copyright years.
62986 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62988         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62990 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62991             Joseph Myers  <joseph@codesourcery.com>
62992             Paul Pluzhnikov  <ppluzhnikov@google.com>
62994         [BZ #14012]
62995         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62996         requiring rpcgen.
62997         [cross-compiling] (extra-libs): Likewise.
62998         [cross-compiling] (extra-libs-others): Likewise.
62999         [cross-compiling] (librpcsvc-routines): Likewise.
63000         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63001         [cross-compiling] (omit-deps): Likewise.
63002         (sunrpc-CPPFLAGS): New variable.
63003         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63004         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63005         (cross-rpcgen-objs): New variable.
63006         (extra-objs): Append $(cross-rpcgen-objs).
63007         ($(cross-rpcgen-objs)): New rule.
63008         ($(objpfx)cross-rpcgen): Likewise.
63009         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63010         comment.
63011         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63012         ($(objpfx)x%.stmp): Likewise.
63013         * sunrpc/proto.h [IS_IN_build] (_): Define.
63014         [IS_IN_build] (_libc_intl_domainname): Likewise.
63016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63019         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63020         and R_X86_64_TPOFF64.
63022 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63024         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63025         sysdeps/unix/sysv/syscalls.list.
63026         (stime): Likewise.
63027         (utime): Likewise.
63028         * sysdeps/unix/sysv/syscalls.list: Remove file.
63030 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63032         [BZ #3440]
63033         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63034         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63035         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63036         (__LC_IDENTIFICATION): Make these macros useful in #if
63037         expressions, as required by C99.
63039 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63041         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63042         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63043         after this.
63045 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63047         * stdlib/longlong.h: Updated from GCC.
63049 2012-05-09  Andreas Jaeger  <aj@suse.de>
63051         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63052         default is first entry.
63053         (run_mode): Set type.
63054         (main): Remove informal message about syslog.
63055         (options): Fix typo.
63057         [BZ #14053]
63058         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63059         to asm.
63060         (lrint): Likewise.
63061         (llrintf): Likewise.
63062         (llrint): Likewise.
63063         (rint): Likewise.
63064         (rintf): Likewise.
63065         (nearbyint): Likewise.
63066         (nearbyintf): Likewise.
63068 2012-05-09  Andreas Jaeger  <aj@suse.de>
63069             Pedro Alves  <palves@redhat.com>
63071         * nscd/nscd.c (run_mode): Use enum.
63072         (main): Cleanup coding style issue.
63074 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63075             Andreas Jaeger  <aj@suse.de>
63077         * nscd/nscd.c (go_background): Replaced with...
63078         (run_mode): ... this.
63079         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63080         (options): Add -F --foreground.
63081         (main): Implement it.
63082         (parse_opt): Parse it.
63084 2012-05-09  Andreas Jaeger  <aj@suse.de>
63086         [BZ #14083]
63087         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63088         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63089         -Wconversion warning.
63090         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63091         Likewise.
63093 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63095         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63096         == 0.
63097         (LC_ALL): Use macro-int-constant.
63098         (LC_COLLATE): Likewise.
63099         (LC_CTYPE): Likewise.
63100         (LC_MESSAGES): Likewise.
63101         (LC_MONETARY): Likewise.
63102         (LC_NUMERIC): Likewise.
63103         (LC_TIME): Likewise.
63104         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63105         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63106         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63107         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63108         Specify type.
63109         [C99-based standards] (float_t): Expect type.
63110         [C99-based standards] (double_t): Expect type.
63111         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63112         type.
63113         [C99-based standards] (HUGE_VALL): Likewise.
63114         [C99-based standards] (INFINITY): Likewise.
63115         [C99-based standards] (NAN): Likewise.
63116         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63117         [C99-based standards] (FP_NAN): Likewise.
63118         [C99-based standards] (FP_NORMAL): Likewise.
63119         [C99-based standards] (FP_SUBNORMAL): Likewise.
63120         [C99-based standards] (FP_ZERO): Likewise.
63121         [C99-based standards] (FP_FAST_FMA): Use
63122         optional-macro-int-constant.  Specify type.  Require == 1.
63123         [C99-based standards] (FP_FAST_FMAF): Likewise.
63124         [C99-based standards] (FP_FAST_FMAL): Likewise.
63125         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63126         [C99-based standards] (FP_ILOGBNAN): Likewise.
63127         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63128         Specify type.
63129         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63130         [C99-based standards] (math_errhandling): Specify type.
63131         [ISO99 || ISO11] (signgam): Do not allow.
63132         [non-C99-based standards] (copysignf): Do not allow.
63133         [non-C99-based standards] (exp2f): Likewise.
63134         [non-C99-based standards] (log2f): Likewise.
63135         [non-C99-based standards] (modff): Allow.
63136         [non-C99-based standards] (erff): Do not allow.
63137         [non-C99-based standards] (erfcf): Likewise.
63138         [non-C99-based standards] (gammaf): Likewise.
63139         [non-C99-based standards] (hypotf): Likewise.
63140         [non-C99-based standards] (j0f): Likewise.
63141         [non-C99-based standards] (j1f): Likewise.
63142         [non-C99-based standards] (jnf): Likewise.
63143         [non-C99-based standards] (lgammaf): Likewise.
63144         [non-C99-based standards] (tgammaf): Likewise.
63145         [non-C99-based standards] (y0f): Likewise.
63146         [non-C99-based standards] (y1f): Likewise.
63147         [non-C99-based standards] (ynf): Likewise.
63148         [non-C99-based standards] (isnanf): Likewise.
63149         [non-C99-based standards] (acoshf): Likewise.
63150         [non-C99-based standards] (asinhf): Likewise.
63151         [non-C99-based standards] (atanhf): Likewise.
63152         [non-C99-based standards] (cbrtf): Likewise.
63153         [non-C99-based standards] (expm1f): Likewise.
63154         [non-C99-based standards] (ilogbf): Likewise.
63155         [non-C99-based standards] (log1pf): Likewise.
63156         [non-C99-based standards] (logbf): Likewise.
63157         [non-C99-based standards] (nextafterf): Likewise.
63158         [non-C99-based standards] (remainderf): Likewise.
63159         [non-C99-based standards] (rintf): Likewise.
63160         [non-C99-based standards] (scalbf): Likewise.
63161         [non-C99-based standards] (copysignl): Likewise.
63162         [non-C99-based standards] (exp2l): Likewise.
63163         [non-C99-based standards] (log2l): Likewise.
63164         [non-C99-based standards] (modfl): Allow.
63165         [non-C99-based standards] (erfl): Do not allow.
63166         [non-C99-based standards] (erfcl): Likewise.
63167         [non-C99-based standards] (gammal): Likewise.
63168         [non-C99-based standards] (hypotl): Likewise.
63169         [non-C99-based standards] (j0l): Likewise.
63170         [non-C99-based standards] (j1l): Likewise.
63171         [non-C99-based standards] (jnl): Likewise.
63172         [non-C99-based standards] (lgammal): Likewise.
63173         [non-C99-based standards] (tgammal): Likewise.
63174         [non-C99-based standards] (y0l): Likewise.
63175         [non-C99-based standards] (y1l): Likewise.
63176         [non-C99-based standards] (ynl): Likewise.
63177         [non-C99-based standards] (isnanl): Likewise.
63178         [non-C99-based standards] (acoshl): Likewise.
63179         [non-C99-based standards] (asinhl): Likewise.
63180         [non-C99-based standards] (atanhl): Likewise.
63181         [non-C99-based standards] (cbrtl): Likewise.
63182         [non-C99-based standards] (expm1l): Likewise.
63183         [non-C99-based standards] (ilogbl): Likewise.
63184         [non-C99-based standards] (log1pl): Likewise.
63185         [non-C99-based standards] (logbl): Likewise.
63186         [non-C99-based standards] (nextafterl): Likewise.
63187         [non-C99-based standards] (remainderl): Likewise.
63188         [non-C99-based standards] (rintl): Likewise.
63189         [non-C99-based standards] (scalbl): Likewise.
63190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63191         [non-C99-based standards] (FP_*): Do not allow.
63192         [C99-based standards] (FP_*): Change to
63193         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63194         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63195         allow.
63196         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63197         (SIG_ERR): Likewise.
63198         [X/Open-based standards] (SIG_HOLD): Likewise.
63199         (SIG_IGN): Likewise.
63200         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63201         positive value.
63202         (SIGFPE): Likewise.
63203         (SIGILL): Likewise.
63204         (SIGINT): Likewise.
63205         (SIGSEGV): Likewise.
63206         (SIGTER): Likewise.
63207         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63208         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63209         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63210         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63211         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63212         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63213         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63214         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63215         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63216         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63217         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63218         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63219         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63220         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63221         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63222         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63223         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63224         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63225         [X/Open-based standards] (SIGTRAP): Likewise.
63226         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63227         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63228         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63229         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63230         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63231         allow.
63233 2012-05-08  Ian Wienand  <ianw@vmware.com>
63235         [BZ #14080]
63236         * time/tzset.c (__tzset_parse_tz): Update default rules for
63237         daylight time changes in the Energy Policy Act of 2005.
63239 2012-05-09  Andreas Jaeger  <aj@suse.de>
63241         [BZ #13983]
63242         * elf/ldconfig.c (parse_conf): Change string to make clear that
63243         ldconfig only issued a warning if ld.so.conf does not exist.
63245 2012-05-08  David S. Miller  <davem@davemloft.net>
63247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63248         movxtod instead of popping the value on the stack.
63250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63252 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63254         * config.h.in: Add HAVE_ARM_PCS_VFP.
63256 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63258         [BZ #13979]
63259         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63260         checking but the checks are disabled for any reason.
63262 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63264         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63265         and ELF64_R_TYPE with ELFW(R_TYPE).
63267 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63269         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63270         (ulimit): Likewise.
63272         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63273         (settimeofday): Likewise.
63275 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63277         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63278         a struct th_u2 inside the union, and move tu_block/tu_code into
63279         a new th_u3 union of tu_block/tu_code inside of that.  Move
63280         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63281         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63282         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63283         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63284         (th_stuff): Change to th_u1.tu_stuff.
63285         (th_data): Define.
63286         (th_msg): Change to th_u1.th_u2.tu_data.
63288 2012-05-07  David S. Miller  <davem@davemloft.net>
63290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63292         [BZ #14074]
63293         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63294         (SETUP_PIC_REG): Use it.
63295         (SETUP_PIC_REG_LEAF): Use it.
63297 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63299         [BZ #13885]
63300         [BZ #13923]
63301         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63302         USE_AS_EXPM1L.
63303         (EXPL_FINITE): Likewise.
63304         (FLDLOG): Likewise.
63305         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63306         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63307         e_expl.S.
63308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63309         USE_AS_EXPM1L.
63310         (EXPL_FINITE): Likewise.
63311         (FLDLOG): Likewise.
63312         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63313         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63314         e_expl.S.
63315         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63316         test of -max_value argument for long double.
63317         * sysdeps/i386/fpu/libm-test-ulps: Update.
63318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63320 2012-05-06  David S. Miller  <davem@davemloft.net>
63322         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63323         quad soft-float symbols whose references which are compiler
63324         generated.
63325         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63327 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63329         [BZ #13884]
63330         [BZ #13914]
63331         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63332         USE_AS_EXP10L.
63333         (EXPL_FINITE): Likewise.
63334         (FLDLOG): Likewise.
63335         (c0): Likewise.
63336         (c1): Likewise.
63337         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63338         Adjust comments for base varying.
63339         (__expl_finite): Change alias to EXPL_FINITE.
63340         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63341         e_expl.S.
63342         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63343         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63344         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63345         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63347         USE_AS_EXP10L.
63348         (EXPL_FINITE): Likewise.
63349         (FLDLOG): Likewise.
63350         (c0): Likewise.
63351         (c1): Likewise.
63352         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63353         Adjust comments for base varying.
63354         (__expl_finite): Change alias to EXPL_FINITE.
63355         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63356         tests for bugs.
63357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63359         [BZ #14064]
63360         * math/libm-test.inc (check_float_internal): Correct ulp
63361         calculation for subnormal expected results.
63363 2012-05-06  Andreas Jaeger  <aj@suse.de>
63365         * Makeconfig (+math-flags): New, set to -frounding-math.
63366         (+cflags): Add +math-flags so that all of glibc gets compiled with
63367         it.
63369         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63371 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63373         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63374         Disable one test.
63376         [BZ #13787]
63377         [BZ #13922]
63378         [BZ #14036]
63379         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63380         (__ieee754_expl): Allow for and saturate large arguments.
63381         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63382         (u_threshold): Likewise.
63383         (__exp): Call __ieee754_exp before checking for overflow and
63384         underflow.
63385         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63386         (u_threshold): Likewise.
63387         (__expf): Call __ieee754_expf before checking for overflow and
63388         underflow.
63389         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63390         (u_threshold): Likewise.
63391         (__expl): Call __ieee754_expl before checking for overflow and
63392         underflow.
63393         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63394         (__ieee754_expl): Allow for and saturate large arguments.
63395         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63396         missing overflow exception on overflow.
63397         (expm1_test): Do not allow missing overflow exception on overflow.
63399         * sysdeps/i386/fpu/e_expl.c: Move to ...
63400         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63401         rather than using inline asm.
63402         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63403         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63404         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63406         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63407         (nice): Likewise.
63408         (poll): Likewise.
63409         (signal): Likewise.
63410         (time): Likewise.
63411         (times): Likewise.
63413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63415         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63416         sysdeps/unix/common/syscalls.list.
63417         (fchmod): Likewise.
63418         (fchown): Likewise.
63419         (ftruncate): Likewise.
63420         (getrusage): Likewise.
63421         (gettimeofday): Likewise.
63422         (setpgid): Likewise.
63423         (setregid): Likewise.
63424         (setreuid): Likewise.
63425         (sigaction): Likewise.
63426         (truncate): Likewise.
63427         (vhangup): Likewise.
63428         * sysdeps/unix/common/syscalls.list: Remove file.
63429         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63430         * sysdeps/unix/sysv/linux/Implies: Likewise.
63432 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63434         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63436         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63437         Moved to ...
63438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63439         Here.
63440         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63441         to ...
63442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63443         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63444         to ...
63445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63446         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63447         to ...
63448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63449         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63450         to ...
63451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63452         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63453         to ...
63454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63455         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63456         to ...
63457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63458         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63459         to ...
63460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63461         Here.
63462         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63463         to ...
63464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63465         Here.
63466         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63467         to ...
63468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63469         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63470         Moved to ...
63471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63472         Here.
63473         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63474         to ...
63475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63477 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63479         * sysdeps/unix/common/bits/dirent.h: Remove file.
63480         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63482         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63483         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63484         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63485         * sysdeps/unix/bsd/isatty.c: Likewise.
63486         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63487         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63488         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63490 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63492         [BZ #13563]
63493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63494         long double comparison inaccuracies.
63495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63498 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63500         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63503 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63505         [BZ #14049]
63506         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63507         nonzero digits before rounding a hex value.
63508         * stdlib/tst-strtod.c (tests): Add another test.
63510 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63512         * sysdeps/s390/fpu/libm-test-ulps: Update.
63514 2012-05-03  Andreas Jaeger  <aj@suse.de>
63516         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63517         does not get optimized out.
63518         (malloc_opt_barrier): New.
63520 2012-05-03  Andreas Jaeger  <aj@suse.de>
63521             Roland McGrath  <roland@hack.frob.com>
63523         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63524         intermediate file deletion.
63525         (generated): Add .symlist files.
63527 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63529         [BZ #13775]
63530         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63531         Redirect under this condition.
63532         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63533         [__USE_GNU] (__dprintf_chk): Not under this condition.
63534         [__USE_GNU] (__vdprintf_chk): Likewise.
63535         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63536         under this condition.
63537         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63538         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63539         [__USE_XOPEN2K8] (vdprintf): Likewise.
63540         [__USE_GNU] (__dprintf_chk): Not under this condition.
63541         [__USE_GNU] (__vdprintf_chk): Likewise.
63542         [__USE_GNU] (dprintf): Likewise.
63543         [__USE_GNU] (vdprintf): Likewise.
63545 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63547         * elf/Makefile (common-generated): Set this instead of generated for
63548         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63549         $(all-built-dso)-derived lists.
63551 2012-05-03  Andreas Jaeger  <aj@suse.de>
63553         * sysdeps/i386/fpu/libm-test-ulps: Update.
63555         * FAQ: Removed.
63556         * FAQ.in: Likewise.
63557         * scripts/gen-FAQ.pl: Likewise.
63558         * manual/install.texi (Installation): Point to online location of
63559         FAQ.
63560         * Makefile (files-for-dist): Remove FAQ.
63561         (FAQ): Remove.
63563 2012-05-02  Allan McRae  <allan@archlinux.org>
63565         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63566         (LDFLAGS-reldepmod5.so): Likewise.
63567         (LDFLAGS-reldep6mod1.so): Likewise.
63568         (LDFLAGS-reldep6mod4.so): Likewise.
63569         (LDFLAGS-reldep8mod3.so): Likewise.
63570         (LDFLAGS-unload4mod1.so): Likewise.
63571         (LDFLAGS-unload4mod2.so): Likewise.
63572         (LDFLAGS-tst-initorder): Likewise.
63573         (LDFLAGS-tst-initordera2.so): Likewise.
63574         (LDFLAGS-tst-initordera3.so): Likewise.
63575         (LDFLAGS-tst-initordera4.so): Likewise.
63576         (LDFLAGS-tst-initorderb2.so): Likewise.
63577         (LDFLAGS-noload): Likewise.
63578         (LDFLAGS-next): Likewise.
63579         (LDFLAGS-order2mod1.so): Likewise.
63580         (LDFLAGS-order2mod2.so): Likewise.
63581         (LDFLAGS-tst-initorder2): Likewise.
63582         (LDFLAGS-tst-initorder2a.so): Likewise.
63583         (LDFLAGS-tst-initorder2b.so): Likewise.
63584         (LDFLAGS-tst-initorder2c.so): Likewise.
63585         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63587 2012-05-02  David S. Miller  <davem@davemloft.net>
63589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63591 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63593         [BZ #14055]
63594         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63596 2012-05-02  Andreas Jaeger  <aj@suse.de>
63598         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63599         since we manipulate rounding mode.
63600         (CPPFLAGS-test-idouble.c): Likewise.
63601         (CPPFLAGS-test-ifloat.c): Likewise.
63602         (CFLAGS-test-ldouble.c): Likewise.
63603         (CFLAGS-test-double.c): Likewise.
63604         (CFLAGS-test-float.c): Likewise.
63605         (CFLAGS-test-misc.c): Likewise.
63606         (CFLAGS-test-test-fenv.c): Likewise.
63608 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63610         [BZ #2550]
63611         [BZ #2570]
63612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63613         comparisons to determine direction to adjust input.
63615 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63617         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63618         output to the target.
63620         * scripts/localplt.awk: New file.
63621         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63622         (check-localplt-CFLAGS): Variable removed.
63623         ($(all-built-dso:=.jmprel)): New static pattern rule.
63624         (generated): Add those targets.
63625         (localplt-built-dso): New variable.
63626         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63628         * elf/check-localplt.c: File removed.
63630         * scripts/check-execstack.awk: New file.
63631         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63632         (check-execstack-CFLAGS): Variable removed.
63633         ($(objpfx)check-execstack.h): Target removed.
63634         ($(objpfx)execstack-default): New target.
63635         (generated): Add that instead of check-execstack.h.
63636         ($(all-built-dso:=.phdr)): New static pattern rule.
63637         (generated): Add those targets.
63638         * elf/check-execstack.c: File removed.
63640         * scripts/check-textrel.awk: New file.
63641         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63642         (check-textrel-CFLAGS): Variable removed.
63643         (all-built-dso): Use := to define.o
63644         ($(all-built-dso:=.dyn)): New static pattern rule.
63645         (generated): Add those targets.
63646         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63647         * config.make.in (READELF): New substituted variable.
63648         * elf/check-textrel.c: File removed.
63650 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63652         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63653         allow.
63654         * conform/data/ctype.h-data [C99-based standards] (isblank):
63655         Expect function.
63656         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63657         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63658         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63659         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63660         Specify type.  Require positive value.
63661         (EILSEQ): Likewise.
63662         (ERANGE): Likewise.
63663         [ISO || POSIX] (EILSEQ): Do not expect.
63664         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63665         Specify type.  Require positive value.
63666         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63667         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63668         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63669         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63670         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63671         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63672         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63673         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63674         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63675         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63676         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63677         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63678         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63679         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63680         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63681         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63682         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63683         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63684         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63685         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63686         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63687         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63688         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63689         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63690         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63691         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63692         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63693         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63694         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63695         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63696         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63697         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63698         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63699         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63700         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63701         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63702         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63703         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63704         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63705         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63706         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63707         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63708         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63709         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63710         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63711         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63712         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63713         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63714         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63715         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63716         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63717         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63718         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63719         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63720         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63721         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63722         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63723         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63724         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63725         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63726         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63727         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63728         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63729         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63730         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63731         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63732         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63733         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63734         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63735         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63736         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63737         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63738         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63739         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63740         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63741         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63742         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63743         Require >= 2.
63744         (FLT_ROUNDS): Expect as macro, not constant.
63745         (FLT_MANT_DIG): Use macro-int-constant.
63746         (DBL_MANT_DIG): Likewise.
63747         (LDBL_MANT_DIG): Likewise.
63748         (FLT_DIG): Likewise.
63749         (DBL_DIG): Likewise.
63750         (LDBL_DIG): Likewise.
63751         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63752         (DBL_MIN_EXP): Likewise.
63753         (LDBL_MIN_EXP): Likewise.
63754         (FLT_MAX_EXP): Use macro-int-constant.
63755         (DBL_MAX_EXP): Likewise.
63756         (LDBL_MAX_EXP): Likewise.
63757         (FLT_MAX_10_EXP): Likewise.
63758         (DBL_MAX_10_EXP): Likewise.
63759         (LDBL_MAX_10_EXP): Likewise.
63760         (FLT_MAX): Use macro-constant.
63761         (DBL_MAX): Likewise.
63762         (LDBL_MAX): Likewise.
63763         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63764         (DBL_EPSILON): Likewise.
63765         (LDBL_EPSILON): Likewise.
63766         (FLT_MIN): Likewise.
63767         (DBL_MIN): Likewise.
63768         (LDBL_MIN): Likewise.
63769         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63770         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63771         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63772         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63773         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63774         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63775         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63776         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63777         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63778         [ISO11] (FLT_TRUE_MIN): Likewise.
63779         [ISO11] (LDBL_TRUE_MIN): Likewise.
63780         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63781         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63782         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63783         (SCHAR_MAX): Likewise.
63784         (UCHAR_MAX): Likewise.
63785         (CHAR_MIN): Likewise.
63786         (CHAR_MAX): Likewise.
63787         (MB_LEN_MAX): Use macro-int-constant.
63788         (SHRT_MIN): Use macro-int-constant.  Specify type.
63789         (SHRT_MAX): Likewise.
63790         (USHRT_MAX): Likewise.
63791         (INT_MAX): Likewise.
63792         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63793         bound negative.
63794         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63795         bound with "U".
63796         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63797         bound with "L".
63798         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63799         bound negative.  Suffix upper bound with "L".
63800         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63801         bound with "UL".
63802         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63803         Specify type.
63804         [C99-based standards] (LLONG_MAX): Likewise.
63805         [C99-based standards] (ULLONG_MAX): Likewise.
63806         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63807         == 0.
63808         [ISO11] (max_align_t): Require type.
63809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63811         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63812         from $CFLAGS, without defining away __attribute__ calls.
63813         (checknamespace): Use $CFLAGS_namespace.
63815         * conform/conformtest.pl (@keywords): Only include C99 keywords
63816         for standards based on C99 or C11.
63818         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63819         Disable tests.
63820         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63821         UNIX98]: Likewise.
63823         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63824         usability of symbols in #if.
63826         * conform/conformtest.pl: If macro or constant types start
63827         "promoted:", expect the symbol to be of the following type
63828         promoted by the integer promotions.
63830         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63831         in one place.  Also handle "macro-constant".
63833         * conform/conformtest.pl: Only accept expected macro values with
63834         "==".  Parse all "macro" lines in one place.
63835         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63837         * conform/conformtest.pl: Handle braced types on "constant" lines
63838         instead of handling "typed-constant".
63839         * conform/data/signal.h-data: Use "constant" instead of
63840         "typed-constant".
63842         * conform/conformtest.pl: Handle "optional-" at start of lines in
63843         one place rather than duplicating several cases.  Handle each
63844         format of "macro" line with initial "optional-".
63846         * conform/conformtest.pl: Only accept expected constant or
63847         optional-constant values with "==".  Parse all "constant" lines in
63848         one place.  Parse all "optional-constant" lines in one place.
63849         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63850         * conform/data/fmtmsg.h-data: Likewise.
63851         * conform/data/netinet/in.h-data: Likewise.
63852         * conform/data/tar.h-data: Likewise.
63853         * conform/data/limits.h-data: Use "==" form on "constant" and
63854         "optional-constant" lines.
63856         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63857         Use -std=c99 for XOPEN2K.
63858         (@knownproblems): Remove.
63859         (newtoken): Don't check %isknown.
63861         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63862         Do not expect macro.
63863         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63864         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63865         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63866         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63867         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63868         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63869         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63870         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63871         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63872         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63873         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63874         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63875         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63876         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63877         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63878         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63879         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63880         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63881         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63882         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63883         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63884         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63885         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63886         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63887         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63888         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63889         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63890         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63891         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63892         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63893         [XPG3] (acosh): Likewise.
63894         [XPG3] (asinh): Likewise.
63895         [XPG3] (atanh): Likewise.
63896         [XPG3] (cbrt): Likewise.
63897         [XPG3] (expm1): Likewise.
63898         [XPG3] (ilogb): Likewise.
63899         [XPG3] (log1p): Likewise.
63900         [XPG3] (logb): Likewise.
63901         [XPG3] (nextafter): Likewise.
63902         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63903         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63904         [XPG3] (remainder): Likewise.
63905         [XPG3] (rint): Likewise.
63906         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63907         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63908         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63909         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63910         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63911         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63912         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63913         [UNIX98 || XOPEN2K] (scalb): Expect.
63914         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63915         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63916         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63917         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63918         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63919         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63920         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63921         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63922         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63923         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63924         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63925         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63926         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63927         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63928         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63929         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63930         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63931         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63932         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63933         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63934         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63935         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63936         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63937         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63938         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63939         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63940         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63941         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63942         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63943         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63944         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63945         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63946         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63947         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63948         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63949         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63950         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63951         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63952         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63953         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63954         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63955         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63956         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63957         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63958         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63959         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63960         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63961         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63962         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63963         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63964         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63965         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63966         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63967         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63968         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63969         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63970         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63971         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63972         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63973         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63974         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63975         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63976         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63977         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63978         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63979         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63980         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63981         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63982         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63983         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63984         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63985         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63986         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63987         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63988         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63989         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63990         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63991         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63992         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63993         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63994         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63995         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63996         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63997         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63998         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63999         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64000         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64001         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64002         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64003         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64004         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64005         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64006         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64007         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64008         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64009         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64010         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64011         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64012         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64013         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64014         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64015         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64016         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64017         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64018         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64019         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64020         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64021         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64022         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64023         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64024         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64025         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64026         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64027         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64028         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64029         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64030         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64031         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64032         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64033         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64034         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64035         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64036         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64037         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64038         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64039         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64040         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64041         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64042         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64043         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64044         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64045         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64046         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64047         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64048         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64049         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64050         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64052         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64053         _XOPEN_SOURCE_EXTENDED for XPG4.
64055         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64057         * Makeconfig (localtime): Remove variable.
64058         (inst_localtime-file): Likewise.
64060 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64063         Update.
64064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64065         Update.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64067         Update.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64069         Update.
64070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64071         Update.
64072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64073         Update.
64074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64075         Update.
64076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64077         Update.
64078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64079         Update.
64081 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64083         [BZ #2550]
64084         [BZ #2570]
64085         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64086         comparisons to determine direction to adjust input.
64087         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64088         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64089         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64090         Likewise.
64091         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64092         Likewise.
64093         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64094         Likewise.
64095         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64096         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64097         Likewise.
64098         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64099         Likewise.
64100         * math/libm-test.inc (nexttoward_test): Add more tests.
64102 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64104         [BZ #14040]
64105         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64106         in version GLIBC_2.1, not GLIBC_2.0.
64107         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64108         Likewise.
64110 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64112         [BZ #13942]
64113         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64114         (1 - x) * (1 + x).
64115         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64116         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64117         * math/libm-test.inc (acos_test): Add more tests.
64118         (asin_test): Likewise.
64119         * sysdeps/i386/fpu/libm-test-ulps: Update.
64120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64122         [BZ #14034]
64123         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64124         of square root.
64125         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64126         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64127         * math/libm-test.inc (acos_test_tonearest): New function.
64128         (acos_test_towardzero): Likewise.
64129         (acos_test_downward): Likewise.
64130         (acos_test_upward): Likewise.
64131         (asin_test_tonearest): Likewise.
64132         (asin_test_towardzero): Likewise.
64133         (asin_test_downward): Likewise.
64134         (asin_test_upward): Likewise.
64135         (main): Call the new functions.
64136         * sysdeps/i386/fpu/libm-test-ulps: Update.
64137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64139         [BZ #13884]
64140         [BZ #13924]
64141         * math/e_exp10.c: Include <float.h>.
64142         (__ieee754_exp10): Handle underflow here rather than multiplying
64143         large negative argument by M_LN10.
64144         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64145         of __ieee754_expf.
64146         * math/e_exp10l.c: Include <float.h>.
64147         (__ieee754_exp10l): Handle underflow here rather than multiplying
64148         large negative argument by M_LN10l.
64149         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64150         spurious overflow exception on underflow.
64152 2012-04-29  Marek Polacek  <polacek@redhat.com>
64154         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64155         (__fortify_function): New macro.
64156         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64157         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64158         __extern_always_inline.
64159         * libio/bits/stdio2.h: Likewise.
64160         * libio/bits/stdio.h: Likewise.
64161         * string/string.h: Likewise.
64162         * string/bits/string3.h: Likewise.
64163         * include/stdio.h: Likewise.
64164         * stdlib/bits/stdlib.h: Likewise.
64165         * stdlib/stdlib.h: Likewise.
64166         * rt/bits/mqueue2.h: Likewise.
64167         * rt/mqueue.h: Likewise.
64168         * posix/bits/unistd.h: Likewise.
64169         * posix/unistd.h: Likewise.
64170         * io/bits/poll2.h: Likewise.
64171         * io/bits/fcntl2.h: Likewise.
64172         * io/fcntl.h: Likewise.
64173         * io/sys/poll.h: Likewise.
64174         * misc/bits/syslog.h: Likewise.
64175         * misc/bits/syslog-ldbl.h: Likewise.
64176         * misc/sys/syslog.h: Likewise.
64177         * socket/bits/socket2.h: Likewise.
64178         * socket/sys/socket.h: Likewise.
64179         * debug/tst-chk1.c: Likewise.
64180         * wcsmbs/bits/wchar2.h: Likewise.
64181         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64182         * wcsmbs/wchar.h: Likewise.
64184 2012-04-29  Andreas Jaeger  <aj@suse.de>
64186         * Makerules (tests): Remove enable-check-abi protection.
64187         (check-abi-warn): Remove.
64188         (check-abi-%): Remove check-abi-warn usage.
64190         * configure.in: Remove check-abi configure option.
64191         * configure: Regenerated.
64192         * config.make.in (enable-check-abi): Remove.
64194 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64196         [BZ #14033]
64197         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64198         double functions to double *_finite functions.
64200         [BZ #13941]
64201         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64202         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64203         LDBL_MIN_EXP.
64204         * stdio-common/Makefile (tests): Add tst-sprintf3.
64205         * stdio-common/tst-sprintf3.c: New file.
64207         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64208         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64210 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64212         * conform/conformtest.pl: Remove duplicate typed-constant
64213         handling.
64215 2012-04-28  David S. Miller  <davem@davemloft.net>
64217         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64218         (check-abi-%): Remove AWK script prerequisite and explicit
64219         abilist directory.
64220         (check-abi): Rewrite to just diff the symlist with the abilist.
64221         (config-tls, config-abi-config): Delete, no longer used.
64222         (update-abi-%): Remove AWK script and explicit abilist directory.
64223         (update-abi): Rewrite to simply compare and conditionally copy the
64224         symlist and the sysdep abilist file.  Remove update-abi-config
64225         checks.
64226         * abilist/ld.abilist: Remove.
64227         * abilist/libBrokenLocale.abilist: Remove.
64228         * abilist/libanl.abilist: Remove.
64229         * abilist/libcrypt.abilist: Remove.
64230         * abilist/libdl.abilist: Remove.
64231         * abilist/librt.abilist: Remove.
64232         * abilist/libthread_db.abilist: Remove.
64233         * abilist/libutil.abilist: Remove.
64234         * scripts/extract-abilist.awk: Remove.
64235         * scripts/merge-abilist.awk: Remove.
64236         * sysdeps/generic/libcidn.abilist: New file.
64237         * sysdeps/generic/libnss_compat.abilist: New file.
64238         * sysdeps/generic/libnss_db.abilist: New file.
64239         * sysdeps/generic/libnss_dns.abilist: New file.
64240         * sysdeps/generic/libnss_files.abilist: New file.
64241         * sysdeps/generic/libnss_hesiod.abilist: New file.
64242         * sysdeps/generic/libnss_nis.abilist: New file.
64243         * sysdeps/generic/libnss_nisplus.abilist: New file.
64244         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64245         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64246         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64247         file.
64248         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64249         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64250         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64251         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64252         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64253         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64254         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64255         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64256         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64257         file.
64258         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64259         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64260         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64261         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64262         file.
64263         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64264         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64265         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64266         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64267         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64268         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64269         file.
64270         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64271         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64272         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64273         file.
64274         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64276         New file.
64277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64278         New file.
64279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64280         New file.
64281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64282         New file.
64283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64284         New file.
64285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64286         New file.
64287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64288         New file.
64289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64290         New file.
64291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64292         New file.
64293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64294         New file.
64295         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64296         New file.
64297         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64298         New file.
64299         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64300         New file.
64301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64302         file.
64303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64304         New file.
64305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64306         New file.
64307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64308         file.
64309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64310         New file.
64311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64312         New file.
64313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64314         file.
64315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64316         New file.
64317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64318         New file.
64319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64320         New file.
64321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64322         New file.
64323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64324         New file.
64325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64326         New file.
64327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64329         file.
64330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64331         New file.
64332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64333         file.
64334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64335         file.
64336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64337         file.
64338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64339         file.
64340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64341         file.
64342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64343         New file.
64344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64345         file.
64346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64347         file.
64348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64349         New file.
64350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64351         file.
64352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64354         file.
64355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64356         New file.
64357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64358         file.
64359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64360         file.
64361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64362         file.
64363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64364         file.
64365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64366         file.
64367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64368         New file.
64369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64370         file.
64371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64372         file.
64373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64374         New file.
64375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64376         file.
64377         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64378         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64379         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64380         file.
64381         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64382         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64383         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64384         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64385         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64386         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64387         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64388         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64389         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64390         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64393         file.
64394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64395         New file.
64396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64397         file.
64398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64399         file.
64400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64401         file.
64402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64403         file.
64404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64405         file.
64406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64407         New file.
64408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64409         New file.
64410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64411         file.
64412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64413         New file.
64414         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64415         file.
64416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64418         file.
64419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64420         New file.
64421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64422         file.
64423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64424         file.
64425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64426         file.
64427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64428         file.
64429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64430         file.
64431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64432         New file.
64433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64434         New file.
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64436         file.
64437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64438         New file.
64439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64440         file.
64442 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64444         * conform/conformtest.pl: Fix typo in handling typed-constant from
64445         allow-header.
64447 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64449         * README: Cut down references to pre-2.6 Linux kernels and
64450         Linuxthreads.  Update lists of configurations in libc and ports
64451         and sort alphabetically.  Say "or newer" with Linux kernel version
64452         requirements.
64454         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64456 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64458         [BZ #887]
64459         * math/libm-test.inc (logb_test_downward): New test to expose
64460         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64461         rounding mode.
64463 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64465         [BZ #14027]
64466         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64467         to be done.
64468         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64469         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64471 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64473         * sysdeps/unix/i386/brk.S: Remove file.
64474         * sysdeps/unix/i386/dl-brk.S: Likewise.
64475         * sysdeps/unix/i386/pipe.S: Likewise.
64476         * sysdeps/unix/i386/sigreturn.S: Likewise.
64477         * sysdeps/unix/i386/syscall.S: Likewise.
64478         * sysdeps/unix/i386/vfork.S: Likewise.
64479         * sysdeps/unix/i386/wait.S: Likewise.
64481         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64482         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64484         * configure.in (arm*-none*): Do not allow without
64485         --enable-hacker-mode.
64486         (netbsd*): Remove case setting base_os.
64487         (386bsd*): Likewise.
64488         (freebsd*): Likewise.
64489         (bsdi*): Likewise.
64490         (osf*): Likewise.
64491         (sunos*): Likewise.
64492         (ultrix*): Likewise.
64493         (newsos*): Likewise.
64494         (dynix*): Likewise.
64495         (*bsd*): Likewise.
64496         (sysv*): Likewise.
64497         (isc*): Likewise.
64498         (esix*): Likewise.
64499         (sco*): Likewise.
64500         (minix*): Likewise.
64501         (irix4*): Likewise.
64502         (irix6*): Likewise.
64503         (solaris[2-9]*): Likewise.
64504         (none): Likewise.
64505         * configure: Regenerated.
64507 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64509         [BZ #11521]
64510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64511         overflow or cancellation in calculating denominator.
64512         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64514         down expression to avoid unexpected rounding in newer GCCs.
64515         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64517 2012-04-26  David S. Miller  <davem@davemloft.net>
64519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64520         long-double compat symbols.
64521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64535 2012-04-25  David S. Miller  <davem@davemloft.net>
64537         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64538         HWCAP_* values only after the memory barriers have been defined.
64539         (atomic_full_barrier): Define.
64540         (atomic_read_barrier): Define.
64541         (atomic_write_barrier): Define.
64543 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64545         * shlib-versions: Add libgcc_s version information.
64546         * sysdeps/generic/libgcc_s.h: Remove.
64547         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64548         libgcc_s.h.
64549         * sysdeps/gnu/unwind-resume.c: Likewise.
64550         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64552 2012-04-25  David S. Miller  <davem@davemloft.net>
64554         * sysdeps/unix/sparc/brk.S: Delete.
64555         * sysdeps/unix/sparc/dl-brk.S: Delete.
64556         * sysdeps/unix/sparc/pipe.S: Delete.
64557         * sysdeps/unix/sparc/sysdep.S: Delete.
64558         * sysdeps/unix/sparc/sysdep.h: Delete.
64559         * sysdeps/unix/sparc/vfork.S: Delete.
64560         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64561         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64562         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64563         (ret_ERRVAL, r0, r1, MOVE): Define.
64564         (JUMPTARGET): Remove.
64565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64566         sysdeps/unix/sparc/sysdep.h
64567         (ENTRY, END): Remove.
64568         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64570 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64572         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64573         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64574         -DIS_IN_build.
64576         * timezone/README: Update upstream location and email address for
64577         tzcode and tzdata.
64578         * timezone/zdump.c: Update from tzcode 2012b.
64579         * timezone/zic.c: Likewise.
64581         * configure.in (libc_cv_as_needed): Remove test.
64582         * configure: Regenerated.
64583         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64584         conditional definition.
64585         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64586         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64587         * config.make.in (have-as-needed): Remove variable.
64589 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64590             Paul Pluzhnikov  <ppluzhnikov@google.com>
64592         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64593         strings correctly.
64595 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64597         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64598         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64599         * sysdeps/sh/strlen.S: Likewise.
64601 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64603         * sysdeps/unix/fork.S: Remove file.
64604         * sysdeps/unix/i386/fork.S: Likewise.
64605         * sysdeps/unix/sparc/fork.S: Likewise.
64607         * sysdeps/unix/system.c: Remove file.
64608         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64610         * sysdeps/unix/getegid.S: Remove file.
64611         * sysdeps/unix/geteuid.S: Likewise.
64613 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64615         * scripts/check-localplt.awk: New file.
64616         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64617         of diff.
64618         * scripts/data/localplt-generic.data: Add a comment.
64620         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64621         NODE when __dir_mkfile failed.
64622         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64623         Reported by Ludovic Courtès <ludo@gnu.org>.
64625 2012-04-24  Andreas Jaeger  <aj@suse.de>
64627         * Makerules (common-clean): Also remove gen-as-const-headers
64628         files.
64630 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64632         * Makerules (native-compile): Do not change working directory for
64633         build.  Use $(OUTPUT_OPTION) in command.
64634         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64636 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64638         [BZ #13886]
64639         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64640         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64641         * math/libm-test.inc (floor_test): Add more tests.
64642         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64646         * sysdeps/unix/getdents.c: Remove file.
64647         * sysdeps/unix/sysv/getdents.c: Likewise.
64648         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64650         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64651         sysdeps/unix/mman/syscalls.list.
64652         (mmap): Likewise.
64653         (mprotect): Likewise.
64654         (msync): Likewise.
64655         (munmap): Likewise.
64656         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64657         * sysdeps/unix/mman/syscalls.list: Remove.
64658         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64660         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64661         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64662         * configure: Regenerated.
64663         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64664         $(libgcc_s_suffix).
64665         * config.make.in (libgcc_s_suffix): Remove variable.
64667 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64669         * sysdeps/unix/sysv/gethostname.c: Move to ...
64670         * sysdeps/posix/gethostname.c: ... here.
64672         * sysdeps/unix/execve.S: Remove file.
64674         * sysdeps/unix/_exit.S: Remove file.
64676 2012-04-23  Andreas Jaeger  <aj@suse.de>
64678         [BZ #13739]
64679         * manual/Makefile: Remove make dist support, there's no
64680         need for a stand-alone documentation tar ball.
64681         (TEXI2DVI): Define always, it's not in Makeconfig.
64682         (dist): Removed.
64683         (tar-it): Removed.
64684         (edition): Removed.
64685         (glibc-doc-$(edition).tar): Removed
64686         (%.Z): Removed.
64687         (%.gz): Removed.
64688         (%.uu): Removed.
64689         (ETAGS): Remove, it's in Makeconfig.
64690         (move-if-change): Remove, it's in Makeconfig.
64692 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64694         [BZ #13970]
64695         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64696         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64697         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64698         (strtod_l, strtof_l, strtold_l): Remove __wur.
64699         It is not necessarily an error to ignore strtol's return value.
64700         One can reliably look at the stored endptr to decide whether
64701         the number had valid syntax.
64703 2012-04-21  Andreas Jaeger  <aj@suse.de>
64705         [BZ #13739]
64706         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64708 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64710         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64711         * sysdeps/unix/sysv/Versions: Remove file.
64713 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64715         [BZ #13927]
64716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64718 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64720         [BZ #7064]
64721         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64722         version from __vm86.
64724 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64726         * sysdeps/unix/common/lxstat.c: Remove file.
64727         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64729         * sysdeps/unix/sysv/Makefile: Remove file.
64731         * sysdeps/unix/sysv/direct.h: Remove file.
64733         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64734         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64735         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64736         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64737         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64738         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64739         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64741         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64743         * sysdeps/unix/xmknod.c: Remove file.
64744         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64746         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64748         * sysdeps/unix/sysv/i386/time.S: Remove file.
64750         * sysdeps/unix/fxstat.c: Remove file.
64751         * sysdeps/unix/xstat.c: Likewise.
64752         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64754         * sysdeps/unix/sysv/sigaction.c: Remove file.
64756         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64757         (sysdep_headers): Remove variable.
64758         [termio.h not in sysdep_headers] (generated): Likewise.
64759         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64760         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64761         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64762         * sysdeps/unix/sysv/tcflow.c: Likewise.
64763         * sysdeps/unix/sysv/tcflush.c: Likewise.
64764         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64765         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64766         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64767         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64768         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64770         * sysdeps/unix/siglist.c: Remove file.
64772         * sysdeps/unix/getppid.S: Remove file.
64774         * sysdeps/unix/mkdir.c: Remove file.
64775         * sysdeps/unix/rmdir.c: Likewise.
64777 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64779         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64780         ERR_MAX value.
64781         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64782         errlist-compat value.
64784 2012-04-18  David S. Miller  <davem@davemloft.net>
64786         * sysdeps/generic/memcopy.h (reg_char): Delete.
64787         * debug/strcat_chk.c: Use char, not reg_char.
64788         * debug/strcpy_chk.c: Likewise.
64789         * debug/strncat_chk.c: Likewise.
64790         * debug/strncpy_chk.c: Likewise.
64791         * string/memchr.c: Likewise.
64792         * string/memrchr.c: Likewise.
64793         * string/rawmemchr.c: Likewise.
64794         * string/strcat.c: Likewise.
64795         * string/strchr.c: Likewise.
64796         * string/strchrnul.c: Likewise.
64797         * string/strcmp.c: Likewise.
64798         * string/strcpy.c: Likewise.
64799         * string/strncat.c: Likewise.
64800         * string/strncmp.c: Likewise.
64801         * string/strncpy.c: Likewise.
64803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64805         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64806         __builtin_memcopy is called when src and dest ranges are known to not
64807         overlap.
64809 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64811         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64812         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64813         fwd_align_merge macro call.
64814         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64815         bwd_align_merge macro call.
64816         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64818 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64820         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64821         bwd_align_merge macros.
64822         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64823         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64824         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64826 2012-04-18  David S. Miller  <davem@davemloft.net>
64828         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64830 2012-04-18  Andreas Jaeger  <aj@suse.de>
64832         [BZ# 6794]
64833         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64834         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64835         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64837         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64838         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64839         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64841         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64842         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64843         Adjust for changed ldbl-128 files.
64845         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64846         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64847         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64849 2012-04-17  David S. Miller  <davem@davemloft.net>
64851         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64853 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64855         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64856         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64857         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64858         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64859         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64860         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64862 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64864         [BZ #6794]
64865         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64866         * math/libm-test.inc: Add ilogb errno and exception tests.
64867         * math/w_ilogb.c: New file: ilogb wrapper.
64868         * math/w_ilogbf.c: New file: ilogbf wrapper.
64869         * math/w_ilogbl.c: New file: ilogbl wrapper.
64870         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64871         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64872         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64873         exception being thrown with 0.0 as argument.
64874         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64875         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64876         exception being thrown with 0.0 as argument.
64877         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64878         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64879         exception being thrown with 0.0 as argument.
64880         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64881         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64882         exception being thrown with 0.0 as argument.
64883         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64884         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64885         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64886         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64887         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64888         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64889         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64890         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64891         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64893 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64895         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64896         with altivec.
64898 2012-04-16  Marek Polacek  <polacek@redhat.com>
64900         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64902 2012-04-16  Marek Polacek  <polacek@redhat.com>
64904         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64905         operands of fdivp instruction.
64907 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64909         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64910         * elf/tst-auditmod3b.c: Likewise.
64911         * elf/tst-auditmod4b.c: Likewise.
64912         * elf/tst-auditmod5b.c: Likewise.
64913         * elf/tst-auditmod6b.c: Likewise.
64914         * elf/tst-auditmod6c.c: Likewise.
64915         * elf/tst-auditmod7b.c: Likewise.
64916         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64917         * sysdeps/x86_64/preconfigure.in: Likewise.
64918         * sysdeps/x86_64/preconfigure: Regenerated.
64920 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64922         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64923         __ILP32__.
64925 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64928         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64930 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64932         [BZ #13973]
64933         * locale/iso-639.def: Fix gl language name. Spotted by
64934         Yaron Shahrabani.
64936 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64938         [BZ #2074]
64939         * libio/libio.h (__io_write_fn): Update comment.
64941 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64943         [BZ #2074]
64944         * stdio.texi (Hook Functions): The user provided writer function
64945         is not allowed to return -1.
64947 2012-04-11  David S. Miller  <davem@davemloft.net>
64949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64951 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64953         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64954         Add a leading slash to rtkaio.
64956 2012-04-11  Jim Meyering  <meyering@redhat.com>
64958         [BZ #11959]
64959         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64960         It is not necessarily an error to ignore fwrite's return
64961         value.  One can reliably use ferror to test for errors after
64962         the fact.
64964 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64966         * bits/types.h (__snseconds_t): New type.
64967         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64969         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64970         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64971         (__SNSECONDS_T_TYPE): Likewise.
64972         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64973         (__SNSECONDS_T_TYPE): Likewise.
64974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64975         (__SNSECONDS_T_TYPE): Likewise.
64977 2012-04-10  Andreas Jaeger  <aj@suse.de>
64979         [BZ #2636]
64980         * manual/time.texi (Processor Time): Return type of times is
64981         elapsed real time since an arbitrary point in the past.
64982         (CPU Time): Move CLK_TCK from here...
64983         (Processor Time): ...to here.  Correct description.
64984         * manual/conf.texi (Constants for Sysconf): Correct description of
64985         _SC_CLK_TCK.
64987 2012-04-10  David S. Miller  <davem@davemloft.net>
64989         [BZ #13967]
64990         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64991         where the is a gap between DT_REL(A) and DT_JMPREL.
64993 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64995         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64996         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64997         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64999 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65001         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65002         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65003         (dl_main): Handle --inhibit-cache.
65004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65005         _dl_inhibit_cache.
65006         * elf/dl-load.c (_dl_map_object): Use it.
65007         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65009 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65011         [BZ #13872]
65012         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65013         (__ieee754_powl): Saturate large exponents rather than testing for
65014         overflow of y*log2(x).
65015         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65016         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65017         exceptions.
65019         [BZ #11521]
65020         * math/s_ctan.c: Include <float.h>.
65021         (__ctan): Avoid internal overflow or cancellation in calculating
65022         denominator.
65023         * math/s_ctanf.c: Likewise.
65024         * math/s_ctanl.c: Likewise.
65025         * math/s_ctanh.c: Likewise.
65026         * math/s_ctanhf.c: Likewise.
65027         * math/s_ctanhl.c: Likewise.
65028         * math/libm-test.inc (ctan_test): Add more tests.
65029         (ctanh_test): Likewise.
65030         * sysdeps/i386/fpu/libm-test-ulps: Update.
65031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65033 2012-04-09  Andreas Jaeger  <aj@suse.de>
65035         [BZ #6894]
65036         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65037         is an optional BSD extension.
65039         [BZ #10254]
65040         * manual/stdio.texi (Opening Streams): Document additional fopen
65041         parameters.
65043 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65045         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65046         %eax without telling the compiler.
65048 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65050         [BZ # 13963]
65051         * manual/install.texi: Use sourceware.org.
65053 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65055         [BZ #13873]
65056         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65057         (__ieee754_pow): Generate overflow and underflow using huge*huge
65058         and tiny*tiny rather than just returning constant infinity or zero
65059         for large exponents.
65060         * math/libm-test.inc (pow_test): Require overflow exceptions for
65061         applicable cases of large exponents.
65063         [BZ #706]
65064         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65065         (__ieee754_pow): Use iterative multiplication algorithm only for
65066         integer exponents with absolute value below 1024.  Check for odd
65067         integer exponents when using algorithm for real exponents.
65068         * math/libm-test.inc (pow_test): Add more tests.
65069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65071 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65073         [BZ #13705]
65074         * math/libm-test.inc (exp_test): Do not allow overflow exception
65075         on underflow test.
65077 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65079         [BZ #13705]
65080         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65081         instead of __kernel_standard_f.
65083 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65085         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65086         * sysdeps/x86_64/memset_chk.S: Likewise.
65088 2012-04-08  Andreas Jaeger  <aj@suse.de>
65090         [BZ #10153]
65091         * manual/startup.texi (Environment Access): Describe return value
65092         for putenv and setenv.
65094         [BZ #6895]
65095         * manual/filesys.texi (Directory Entries): Add description for
65096         DT_LNK.
65098         [BZ #6890]
65099         * manual/filesys.texi (Directory Entries): Clarify that it's file
65100         system not operating system in the description of DT_UNKNOWN.
65102         [BZ #6578]
65103         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65105 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65107         [BZ #6649]
65108         * manual/llio.texi (Opening and Closing Files): Add cross
65109         reference to explain mode argument.
65111 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65113         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65114         * sysdeps/x86_64/memset_chk.S: Likewise.
65116 2012-04-07  David S. Miller  <davem@davemloft.net>
65118         * elf/elf.h (R_SPARC_WDISP10): Define.
65119         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65120         R_SPARC_SIZE32.
65121         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65122         R_SPARC_SIZE64 and R_SPARC_H34.
65124 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65126         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65127         conditions and remove no longer applicable assertion.
65129 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65131         * bits/byteswap.h: Include <features.h>.
65132         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65133         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65135 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65137         * bits/byteswap.h (__bswap_16): Removed.
65138         Include <bits/byteswap-16.h> to get __bswap_16.
65139         * sysdeps/i386/bits/byteswap.h: Likewise.
65140         * sysdeps/s390/bits/byteswap.h: Likewise.
65141         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65142         * bits/byteswap-16.h: New file.
65143         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65144         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65145         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65146         * string/Makefile (headers): Add bits/byteswap-16.h.
65148 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65150         [BZ #13895]
65151         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65152         extra indirection.
65153         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65154         * nss/tst-nss-static.c: New.
65156 2012-04-06  Robert Millan  <rmh@gnu.org>
65158         [BZ #6486]
65159         * manual/llio.texi (File Position Primitive): lseek
65160         refers to WHENCE when it really means OFFSET.
65162 2012-04-06  Andreas Jaeger  <aj@suse.de>
65164         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65165         strncmp declarations.
65167         * abilist/libc.abilist: Add __poll and __ppoll.
65169 2012-04-05  David S. Miller  <davem@davemloft.net>
65171         * scripts/check-local-headers.sh: Accept a host triplet in the
65172         path matched by the exclude regexp.
65174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65175         definition.
65176         * sysdeps/powerpc/powerpc32/dl-machine.h
65177         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65178         * sysdeps/s390/s390-32/dl-machine.h
65179         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65180         * sysdeps/sparc/sparc32/dl-machine.h
65181         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65182         * sysdeps/sparc/sparc64/dl-machine.h
65183         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65185         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65186         lazy binding.
65187         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65188         undefined symbol errors.
65190         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65191         DT_NEEDED entries.
65193 2012-04-05  Michael Matz  <matz@suse.de>
65195         [BZ #13592]
65196         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65198 2012-04-05  Andreas Jaeger  <aj@suse.de>
65200         [BZ #13908]
65201         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65202         comment.
65204 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65206         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65207         which ROUND is no valid rounding mode.
65209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65212         read again.
65213         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65215 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65217         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65218         an exception using FPU order intentionally.
65220 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65222         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65223         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65224         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65225         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65227 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65229         [BZ #12340]
65230         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65231         EINVAL when BUFLEN is too smal.
65233 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65235         [BZ #13553]
65236         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65237         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65239 2012-04-03  Andreas Jaeger  <aj@suse.de>
65241         [BZ #13938]
65242         * manual/setjmp.texi (System V contexts): Fix sentence.
65244         [BZ #13926]
65245         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65246         New macro for this case.
65247         [!__GNUC__] (__bswap_64): New inline function for this case.
65248         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65249         * bits/byteswap.h: Likewise.
65250         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65251         ull, guard with __GLIBC_HAVE_LONG_LONG.
65253         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65254         __GLIBC_HAVE_LONG_LONG.
65256         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65257         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65259 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65261         [BZ #13691]
65262         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65263         inptr and inend, rather than using last_ch.
65265 2012-04-02  David S. Miller  <davem@davemloft.net>
65267         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65268         * stdio-common/printf-parse.h (read_int): Change return type to
65269         'int', return -1 on INT_MAX overflow.
65270         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65271         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65272         overflows INT_MAX.  Check for overflow of in-format-string precision
65273         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65274         SIZE_MAX not INT_MAX for integer overflow test.
65275         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65276         skip the construct in the format string but do not record anything.
65277         * stdio-common/bug22.c: Adjust to test both width/prevision
65278         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65279         explicitly for proper errno values.
65281 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65283         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65284         CHAR_MAX.
65285         * string/test-strcmp.c [! WIDE]: Likewise.
65286         * time/tst-mktime2.c: Likewise for INT_MAX.
65287         * string/test-string.h: #include <sys/param.h> for MIN.
65289         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65290         * sysdeps/i386/init-first.c (init): Likewise.
65291         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65292         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65293         * sysdeps/sh/init-first.c (init): Likewise.
65295 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65297         * po/ru.po: Update from translation team.
65298         * po/vi.po: Likewise.
65300 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65302         * resolv/nss_dns/dns-host.c: Merge copyright years.
65304 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65306         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65307         Optimize memcpy with prefetch if
65308         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65309         src, dst pointers have unequal 16 byte alignments.
65311 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65313         [BZ #13928]
65314         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65315         from a CNAME entry and return the minimum ttl for the query.
65316         (gaih_getanswer_slice): Likewise.
65318 2012-03-30  Jeff Law  <law@redhat.com>
65320         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65321         due to long keys.
65322         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65323         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65325         * resolv/nss_dns/dns-host.c: Update copyright year.
65327 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65329         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65330         requests to save a system call.  Fix check that all bytes are sent.
65332         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65333         comments for sendmmsg.
65335 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65337         [BZ #13691]
65338         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65339         with only 1 character between 0x0041 and 0x01b0.
65340         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65341         * wcsmbs/tst-mbsnrtowcs.c: New file.
65343 2012-03-29  David S. Miller  <davem@davemloft.net>
65345         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65346         small copies by hand.
65348 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65350         [BZ #13761]
65351         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65352         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65353         group memberships.
65355 2012-03-28  David S. Miller  <davem@davemloft.net>
65357         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65358         that branches into memcpy.
65359         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65361         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65362         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65363         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65364         bits.
65365         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65366         implementation too.
65367         * sysdeps/sparc/mempcpy.S: New file.
65369         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65370         the IFUNC routine in the libc case.
65371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65373         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65374         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65375         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65376         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65377         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65378         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65379         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65380         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65382         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65383         loop to 256 bytes instead of 64 bytes and fix test signedness.
65385         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65386         * sysdeps/sparc/sparc32/Makefile: rather than here...
65387         * sysdeps/sparc/sparc64/Makefile: and here.
65389 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65391         * malloc/mallocbug.c: Avoid warnings about unused variables.
65393 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65395         [BZ #13760]
65396         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65397         in the right place. Discard and retry query if response is
65398         larger than input buffer size.
65400 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65402         [BZ #369]
65403         [BZ #2678]
65404         [BZ #3866]
65405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65406         x for large integer exponent.
65407         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65408         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65409         sign of result as needed afterwards.
65410         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65412         result for underflowing pow the same as for overflow.
65413         (__kernel_standard_l): Handle powl overflow and underflow here
65414         rather than calling __kernel_standard.
65415         * math/libm-test.inc (pow_test): Add more tests.
65417         [BZ #3868]
65418         [BZ #13879]
65419         [BZ #13910]
65420         [BZ #13911]
65421         [BZ #13912]
65422         [BZ #13913]
65423         [BZ #13915]
65424         [BZ #13916]
65425         [BZ #13917]
65426         [BZ #13918]
65427         [BZ #13919]
65428         [BZ #13920]
65429         [BZ #13921]
65430         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65431         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65432         (__kernel_standard_l): New function.
65433         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65434         __kernel_standard.
65435         * math/w_acosl.c (__acosl): Likewise.
65436         * math/w_asinl.c (__asinl): Likewise.
65437         * math/w_atan2l.c (__atan2l): Likewise.
65438         * math/w_atanhl.c (__atanhl): Likewise.
65439         * math/w_coshl.c (__coshl): Likewise.
65440         * math/w_exp10l.c (__exp10l): Likewise.
65441         * math/w_exp2l.c (__exp2l): Likewise.
65442         * math/w_fmodl.c (__fmodl): Likewise.
65443         * math/w_hypotl.c (__hypotl): Likewise.
65444         * math/w_j0l.c (__j0l, __y0l): Likewise.
65445         * math/w_j1l.c (__j1l, __y1l): Likewise.
65446         * math/w_jnl.c (__jnl, __ynl): Likewise.
65447         * math/w_lgammal.c (__lgammal): Likewise.
65448         * math/w_log10l.c (__log10l): Likewise.
65449         * math/w_log2l.c (__log2l): Likewise.
65450         * math/w_logl.c (__logl): Likewise.
65451         * math/w_powl.c (__powl): Likewise.
65452         * math/w_remainderl.c (__remainderl): Likewise.
65453         * math/w_scalbl.c (sysv_scalbl): Likewise.
65454         * math/w_sinhl.c (__sinhl): Likewise.
65455         * math/w_sqrtl.c (__sqrtl): Likewise.
65456         * math/w_tgammal.c (__tgammal): Likewise.
65457         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65458         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65459         * math/libm-test.inc (acos_test): Add more tests.
65460         (acosh_test): Likewise.
65461         (asin_test): Likewise.
65462         (atanh_test): Likewise.
65463         (exp_test): Likewise.
65464         (exp10_test): Likewise.
65465         (exp2_test): Likewise.
65466         (expm1_test): Likewise.
65467         (lgamma_test): Likewise.
65468         (log_test): Likewise.
65469         (log10_test): Likewise.
65470         (log1p_test): Likewise.
65471         (log2_test): Likewise.
65472         (pow_test): Do not allow some spurious overflow exceptions.
65473         (sqrt_test): Add more tests.
65474         (tgamma_test): Likewise.
65475         (y0_test): Likewise.
65476         (y1_test): Likewise.
65477         (yn_test): Likewise.
65479 2012-03-27  Anton Blanchard  <anton@samba.org>
65481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65482         MAP_HUGETLB.
65483         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65484         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65485         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65487 2012-03-27  David S. Miller  <davem@davemloft.net>
65489         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65491         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65492         have-as-vis3 check.
65494 2012-03-27  Andreas Jaeger  <aj@suse.de>
65496         * sysdeps/x86_64/elf/configure.in: Moved to ...
65497         * sysdeps/x86_64/configure.in: ... here.
65498         * sysdeps/x86_64/elf/start.S: Moved to ...
65499         * sysdeps/x86_64/start.S: ... here.
65500         * sysdeps/x86_64/elf/configure: Delete.
65502         * sysdeps/x86_64/configure.in: Merge contents from
65503         sysdeps/i386/configure.in (without i686 check).
65505         * sysdeps/i386/elf/Versions: Merge into ...
65506         * sysdeps/i386/Versions: ... this.
65507         * sysdeps/i386/elf/Versions: Delete file.
65508         * sysdeps/i386/elf/start.S: Moved to ...
65509         * sysdeps/i386/start.S: ...here.
65510         * sysdeps/i386/elf/configure.in: Merge into...
65511         * sysdeps/i386/configure.in: ...here.
65512         * sysdeps/i386/elf/configure.in: Delete file.
65513         * sysdeps/i386/elf/configure: Delete file.
65515         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65516         * debug/backtracesyms.c: ... here.
65517         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65518         * debug/backtracesymsfd.c: ... here.
65519         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65520         * sysdeps/generic/ifunc-sel.h: ... here.
65522         * sysdeps/unix/i386/start.c: Delete file.
65523         * sysdeps/unix/sparc/start.c: Delete file.
65524         * sysdeps/unix/start.c: Delete file.
65526         * sysdeps/sh/elf/configure.in: Moved to ...
65527         * sysdeps/sh/configure.in: ... here.
65528         * sysdeps/sh/elf/start.S: Moved to ...
65529         * sysdeps/sh/start.S: ... here.
65530         * sysdeps/sh/elf/configure: Delete file.
65532         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65533         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65534         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65535         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65536         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65537         * sysdeps/powerpc/powerpc64/start.S: here.
65538         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65539         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65540         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65541         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65542         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65544         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65545         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65546         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65547         * sysdeps/powerpc/powerpc32/start.S: ... here.
65548         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65549         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65550         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65552         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65553         * sysdeps/powerpc/ifunc-sel.h: ... here.
65554         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65555         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65557         * sysdeps/sparc/elf/configure.in: Moved to ...
65558         * sysdeps/sparc/configure.in: ... here.
65559         * sysdeps/sparc/elf/configure: Delete file.
65560         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65561         * sysdeps/sparc/sparc32/start.S: ... here.
65562         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65563         * sysdeps/sparc/sparc64/start.S: ... here.
65564         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65565         * sysdeps/sparc/sparc32/Makefile: ... this.
65566         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65567         * sysdeps/sparc/sparc64/Makefile: ... this.
65569         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65570         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65571         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65572         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65573         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65574         * sysdeps/s390/s390-32/setjmp.S: ... here.
65575         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65576         * sysdeps/s390/s390-32/configure.in: ... here.
65577         * sysdeps/s390/s390-32/elf/configure: Delete file.
65578         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65579         * sysdeps/s390/s390-32/start.S: ... here.
65581         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65582         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65583         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65584         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65585         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65586         * sysdeps/s390/s390-64/setjmp.S: ... here.
65587         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65588         * sysdeps/s390/s390-64/configure.in: ... here
65589         * sysdeps/s390/s390-64/elf/configure: Delete file.
65590         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65591         * sysdeps/s390/s390-64/start.S: ... here.
65592         * sysdeps/s390/s390-64/elf/configure: Delete.
65594         * configure.in: Remove support for elf directories in sysdeps.
65596         * configure: Regenerated.
65597         * sysdeps/i386/configure: Regenerated.
65598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65600         * sysdeps/s390/s390-32/configure: Regenerated.
65601         * sysdeps/s390/s390-64/configure: Regenerated.
65602         * sysdeps/sh/configure: Regenerated.
65603         * sysdeps/sparc/configure: Regenerated.
65604         * sysdeps/x86_64/configure: Regenerated.
65606 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65611         denormal result into account.
65613 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65615         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65616         Reported by Allan McRae <allan@archlinux.org>.
65618 2012-03-23  Jeff Law  <law@redhat.com>
65620         * nss/getnssent.c (__nss_getent): Fix typo.
65622 2012-03-23  David S. Miller  <davem@davemloft.net>
65624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65626 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65628         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65629         to pad to uint64_t for each field.
65630         (dl_tls_index): Replace unsigned long with uint64_t.
65632 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65633         Paul Pluzhnikov  <ppluzhnikov@google.com>
65635         [BZ #6528]
65636         * grp/Makefile (otherlibs): Don't set it.
65637         * inet/Makefile (otherlibs): Likewise.
65638         * login/Makefile (otherlibs): Likewise.
65639         * nscd/Makefile (otherlibs): Likewise.
65640         * posix/Makefile (otherlibs): Likewise.
65641         * pwd/Makefile (otherlibs): Likewise.
65642         * rt/Makefile (otherlibs): Likewise.
65643         * sunrpc/Makefile (otherlibs): Likewise.
65644         * nss/Makefile (otherlibs): Likewise.
65645         Add libnss_files to routines and static-only-routines.
65646         ($(objpfx)getent): Remove rule.
65647         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65648         static-only-routines.
65650 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65652         [BZ #13892]
65653         * math/s_cexp.c: Include <float.h>.
65654         (__cexp): Handle exp result overflowing not necessarily
65655         overflowing both real and imaginary parts of result.
65656         * math/s_cexpf.c: Likewise.
65657         * math/s_cexpl.c: Likewise.
65658         * math/libm-test.inc (cexp_test): Add more tests.
65659         * sysdeps/i386/fpu/libm-test-ulps: Update.
65660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65664         * include/link.h (ELFW): New macro.
65665         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65666         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65668 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65670         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65671         with uint64_t.
65673 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65675         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65676         declaration.
65677         (struct La_x32_retval): Likewise.
65679 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65681         * sysdeps/x86_64/preconfigure.in: New file.
65682         * sysdeps/x86_64/preconfigure: New generated file.
65684 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65686         [BZ #13824]
65687         * math/e_exp2l.c: Include <float.h>.
65688         (__ieee754_exp2l): Handle overflow and underflow cases
65689         separately.  Only pass fractional part of argument to
65690         __ieee754_expl.
65691         * math/libm-test.inc (exp2_test): Add more tests.
65693         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65694         negating x to take absolute value.
65695         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65696         Likewise.
65697         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65698         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65699         Likewise.
65700         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65701         computing low part if x was negated.
65702         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65704 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65706         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65707         la_x32_gnu_pltexit.
65708         (pltexit): Cast int_retval to ptrdiff_t.
65709         * elf/tst-auditmod3b.c: Likewise.
65710         * elf/tst-auditmod4b.c: Likewise.
65711         * elf/tst-auditmod5b.c: Likewise.
65712         * elf/tst-auditmod6b.c: Likewise.
65713         * elf/tst-auditmod6c.c: Likewise.
65714         * elf/tst-auditmod7b.c: Likewise.
65716         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65717         and x32_gnu_pltexit.
65719         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65720         __ELF_NATIVE_CLASS.
65721         (La_x32_regs): New macro.
65722         (La_x32_retval): Likewise.
65723         (la_x32_gnu_pltenter): New function prototype.
65724         (la_x32_gnu_pltexit): Likewise.
65726 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65729         exponent.
65731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65733         * configure.in (libc_cv_cc_nofma): Check for option to disable
65734         generation of FMA instructions.
65735         * configure: Regenerate.
65736         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65737         * sysdeps/ieee754/dbl-64/Makefile: New file.
65738         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65739         Remove brandred-fma4.
65740         (CFLAGS-brandred-fma4.c): Remove.
65741         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65742         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65743         define.
65744         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65745         define.
65747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65749         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65750         LLONG_MAX != LONG_MAX.
65751         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65752         (_fitoa_word): Likewise.
65753         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65754         LLONG_MAX != LONG_MAX.
65755         * stdio-common/_itowa.h: Include <_itoa.h>.
65756         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65757         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65758         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65759         only if not defined.
65760         (_ITOA_WORD_TYPE): Likewise.
65761         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65762         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65764 2012-03-21  David S. Miller  <davem@davemloft.net>
65766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65768 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65770         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65771         of x86_64 when setting libc_cv_slibdir, libdir and
65772         libc_cv_localedir.
65773         * sysdeps/unix/sysv/linux/configure: Regenerated.
65775 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65777         * manual/lang.texi (Old Varargs): Remove section.
65778         (How Variadic): Update menu.
65779         (va_start): Do not mention varargs.h.
65781 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65782             Joseph Myers  <joseph@codesourcery.com>
65784         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65785         link test.
65786         * configure: Regenerated.
65788 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65790         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65791         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65792         conformtest.pl
65794 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65796         * NOTES: Remove.
65797         * Makefile (files-for-dist): Remove NOTES.
65798         (NOTES): Remove rule.
65799         * README: Don't refer to NOTES.
65800         * manual/creature.texi: Don't include macros.texi.
65801         * manual/intro.texi (creature.texi): Remove comment referring to
65802         NOTES.
65804         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65805         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65806         * configure: Regenerated.
65807         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65808         LIBC_TRY_CC_OPTION.
65809         (libc_cv_as_i686): Likewise.
65810         (libc_cv_cc_avx): Likewise.
65811         (libc_cv_cc_sse2avx): Likewise.
65812         (libc_cv_cc_fma4): Likewise.
65813         (libc_cv_cc_novzeroupper): Likewise.
65814         * sysdeps/i386/configure: Regenerated.
65816         [BZ #13883]
65817         * sysdeps/i386/fpu/s_cexp.S: Remove.
65818         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65819         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65820         * math/libm-test.inc (cexp_test): Add more tests.
65821         * sysdeps/i386/fpu/libm-test-ulps: Update.
65822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65824 2012-03-21  Allan McRae  <allan@archlinux.org>
65826         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65828 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65830         [BZ #13871]
65831         * math/w_exp2.c: Do not include <float.h>.
65832         (o_threshold, u_threshold): Remove.
65833         (__exp2): Calculate result before checking finiteness and calling
65834         __kernel_standard.
65835         * math/w_exp2f.c: Likewise.
65836         * math/w_exp2l.c: Likewise.
65837         * math/libm-test.inc (exp2_test): Require overflow exception for
65838         1e6 input.
65840         [BZ #3866]
65841         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65842         range of signed 64-bit integers before using fistpll.  Remove
65843         checks for whether integers fit in mantissa bits.
65844         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65845         the range of signed 32-bit integers before using fistpl.  Remove
65846         checks for whether integers fit in mantissa bits.
65847         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65848         (__ieee754_powl): Test for y outside the range of signed 64-bit
65849         integers before using fistpll.  Reduce 64-bit values to 63-bit
65850         ones as needed.
65851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65852         divide-by-zero is raised for zero to large negative powers.
65853         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65854         (__ieee754_powl): Test for y outside the range of signed 64-bit
65855         integers before using fistpll.  Reduce 64-bit values to 63-bit
65856         ones as needed.
65857         * math/libm-test.inc (pow_test): Add more tests.
65859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65861         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65862         <stdio-common/_itoa.h>.
65863         * debug/segfault.c: Likewise.
65864         * elf/dl-cache.c: Likewise.
65865         * elf/dl-minimal.c: Likewise.
65866         * elf/dl-misc.c: Likewise.
65867         * elf/dl-sysdep.c: Likewise.
65868         * elf/dl-version.c: Likewise.
65869         * elf/rtld.c: Likewise.
65870         * hurd/hurdsock.c: Likewise.
65871         * hurd/lookup-retry.c: Likewise.
65872         * malloc/malloc.c: Likewise.
65873         * malloc/mtrace.c: Likewise.
65874         * nscd/nscd_getgr_r.c: Likewise.
65875         * nscd/nscd_getpw_r.c: Likewise.
65876         * nscd/nscd_getserv_r.c: Likewise.
65877         * posix/getopt_init.c: Likewise.
65878         * posix/wordexp.c: Likewise.
65879         * stdio-common/_itoa.c: Likewise.
65880         * stdio-common/printf_fphex.c: Likewise.
65881         * stdio-common/vfprintf.c: Likewise.
65882         * string/_strerror.c: Likewise.
65883         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65884         * sysdeps/i386/i686/hp-timing.h: Likewise.
65885         * sysdeps/mach/_strerror.c: Likewise.
65886         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65887         * sysdeps/mach/hurd/sethostid.c: Likewise.
65888         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65889         * sysdeps/mach/xpg-strerror.c: Likewise.
65890         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65891         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65892         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65893         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65894         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65895         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65896         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65897         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65898         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65899         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65900         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65901         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65902         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65903         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65904         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65905         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65906         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65907         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65908         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65909         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65910         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65912         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65914         * stdio-common/_itoa.h: Moved to ...
65915         * sysdeps/generic/_itoa.h: Here.
65917         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65919         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65920         instead of "_itoa.h" and "_itowa.h".
65921         * stdio-common/vfprintf.: Likewise.
65923 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65925         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65926         <bits/wordsize.h>.
65927         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65928         (__signbit): Likwise.
65929         (llrintf): Likwise.
65930         (llrint): Likwise.
65932 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65934         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65935         __WORDSIZE != 64.
65937 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65939         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65940         OVERFLOW_EXCEPTION_OK.
65941         * math/libm-test.inc ("Philosophy"): Update comment about
65942         exception testing.
65943         (OVERFLOW_EXCEPTION): Define.
65944         (OVERFLOW_EXCEPTION_OK): Likewise.
65945         (INVALID_EXCEPTION_OK): Renumber.
65946         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65947         (IGNORE_ZERO_INF_SIGN): Likewise.
65948         (test_exceptions): Handle FE_OVERFLOW.
65949         (exp10_test): Expect overflow exceptions.
65950         (exp2_test): Likewise.
65951         (expm1_test): Likewise.
65952         (nextafter_test): Likewise.
65953         (pow_test): Likewise.
65954         (scalbn_test): Likewise.
65955         (scalbln_test): Likewise.
65957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65959         * sysdeps/x86_64/bits/atomic.h
65960         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65961         64bit integer.
65962         (atomic_exchange_acq): Likewise.
65963         (__arch_exchange_and_add_body): Likewise.
65964         (__arch_add_body): Likewise.
65965         (atomic_add_negative): Likewise.
65966         (atomic_add_zero): Likewise.
65968 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65970         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65971         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65973 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65975         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65976         Check __x86_64__ instead of __WORDSIZE.
65978 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65980         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65982 2012-03-19  David S. Miller  <davem@davemloft.net>
65984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65986         * sysdeps/sparc/fpu/fenv_private.h: New file.
65987         * sysdeps/sparc/fpu/math_private.h: Use it.
65988         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65989         Remove.
65990         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65991         (libc_feholdexcept_setroundl): Remove.
65992         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65993         Remove.
65994         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65995         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65999         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66000         int64_t instead of long int.
66001         (INSERT_WORDS64): Likwise.
66003 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66005         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66006         _Unwind_GetCFA return to _Unwind_Ptr first.
66008 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66010         [BZ #13629]
66011         * math/s_clog.c: Include <float.h>.
66012         (__clog): Scale large or subnormal inputs.
66013         * math/s_clogf.c: Likewise.
66014         * math/s_clogl.c: Likewise.
66015         * math/s_clog10.c: Include <float.h>.
66016         (M_LOG10_2): Define.
66017         (__clog10): Scale large or subnormal inputs.
66018         * math/s_clog10f.c: Likewise.
66019         * math/s_clog10l.c: Likewise.
66020         * math/libm-test.inc (clog_test): Add more tests.
66021         (clog10_test): Likewise.
66022         * sysdeps/i386/fpu/libm-test-ulps: Update.
66023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66025         [BZ #11451]
66026         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66027         x and y.
66028         * math/libm-test.inc (atan2_test): Add another test.
66030         * Makerules (common-objdir-compile): Remove.
66031         * sysdeps/unix/Makefile (config-generated): Do not add
66032         $(unix-generated) to variable.
66033         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66034         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66035         Remove rule.
66036         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66037         Likewise.
66038         [generic bits/local_lim.h] (before-compile): Do not append to
66039         variable.
66040         [generic bits/local_lim.h] (common-generated): Likewise.
66041         [generic sys/param.h] (before-compile): Do not append to variable.
66042         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66043         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66044         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66045         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66046         include.
66047         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66048         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66049         [generic sys/param.h] ($(addprefix
66050         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66051         [generic sys/param.h] (common-generated): Do not append to
66052         variable.
66053         [generic sys/param.h] (sysdep_headers): Likewise.
66054         [generic bits/errno.h] (before-compile): Do not append to
66055         variable.
66056         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66057         rule.
66058         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66059         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66060         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66061         [generic bits/errno.h] (common-generated): Do not append to
66062         variable.
66063         [generic bits/ioctls.h] (before-compile): Do not append to
66064         variable.
66065         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66066         rule.
66067         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66068         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66069         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66070         rule.
66071         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66072         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66073         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66074         [generic bits/ioctls.h] (common-generated): Do not append to
66075         variable.
66076         [generic sys/syscall.h] (syscall.h): Remove variable.
66077         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66078         rule.
66079         [generic sys/syscall.h] (before-compile): Do not append to
66080         variable.
66081         [generic sys/syscall.h] (common-generated): Likewise.
66082         * sysdeps/unix/errnos-tmpl.c: Remove file.
66083         * sysdeps/unix/errnos.awk: Likewise.
66084         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66085         * sysdeps/unix/ioctls.awk: Likewise.
66086         * sysdeps/unix/mk-local_lim.c: Likewise.
66087         * sysdeps/unix/snarf-ioctls: Likewise.
66089 2012-03-19  Richard Henderson  <rth@twiddle.net>
66091         * sysdeps/i386/fpu/fenv_private.h: New file.
66092         * sysdeps/i386/fpu/math_private.h: Use it.
66093         (math_opt_barrier, math_force_eval): Remove.
66094         (libc_feholdexcept_setround_53bit): Remove.
66095         (libc_feupdateenv_53bit): Remove.
66096         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66097         (math_opt_barrier, math_force_eval): Remove.
66098         (libc_feholdexcept): Remove.
66099         (libc_feholdexcept_setround): Remove.
66100         (libc_fetestexcept, libc_fesetenv): Remove.
66101         (libc_feupdateenv_test): Remove.
66102         (libc_feupdateenv, libc_feholdsetround): Remove.
66103         (libc_feresetround): Remove.
66105         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66106         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66108         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66109         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66110         (libc_feupdateenv_testl): New.
66111         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66112         (libc_feupdateenv_testf): New.
66113         (libc_feupdateenv): Use libc_feupdateenv_test.
66114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66117         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66118         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66119         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66120         (libc_feresetround_noex): New.
66121         (libc_feresetround_noexf): New.
66122         (libc_feresetround_noexl): New.
66123         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66124         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66125         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66126         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66127         SET_RESTORE_ROUND.
66128         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66130         (__cos): Likewise.
66131         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66132         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66133         SET_RESTORE_ROUND_NOEX.
66134         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66135         SET_RESTORE_ROUND_NOEXF.
66136         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66137         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66138         (libc_feholdsetroundf): New.
66139         (libc_feresetround, libc_feresetroundf): New.
66141         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66142         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66143         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66145         * sysdeps/generic/math_private.h: Include <fenv.h>.
66146         (default_libc_feholdexcept): New.
66147         (default_libc_feholdexcept_setround): New.
66148         (default_libc_fesetenv, default_libc_feupdateenv): New.
66149         (libc_feholdexcept): Only define if undefined.
66150         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66151         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66152         (libc_feholdexcept_setroundl): Likewise.
66153         (libc_feholdexcept_setround_53bit): Likewise.
66154         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66155         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66156         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66157         (libc_feupdateenv_53bit): Likewise.
66158         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66159         (libc_feholdexcept): Convert from macro to inline function.
66160         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66161         (libc_fesetenv, libc_feupdateenv): Likewise.
66163         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66164         not previously defined.
66165         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66166         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66167         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66168         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66169         * sysdeps/ieee754/flt-32/math_private.h: New file.
66170         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66171         math_private.h below SET_FLOAT_WORD.
66172         (__isnan, __isinf_ns, __finite): Remove.
66173         (__isnanf, __isinf_nsf, __finitef): Remove.
66175 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66179 2012-03-17  David S. Miller  <davem@davemloft.net>
66181         [BZ #6471]
66182         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66183         for 2.16.
66185 2012-03-16  David S. Miller  <davem@davemloft.net>
66187         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66188         warnings.
66190         [BZ #6471]
66191         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66192         properly.
66193         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66194         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66195         sysdep_routines when subdir is sysvipc.
66196         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66197         __getshmlba helper.
66199         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66201 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66203         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66204         [__LP64__].
66206 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66208         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66209         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66210         (__lround): Renamed to ...
66211         (__llround): This.  Replace long int with long long int.
66212         Define lround functions as aliases of llround functions.
66213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66215 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66217         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66218         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66219         adresses to uintptr_t.  Replace "long int" and "unsigned long
66220         int" with "greg_t" on va_arg.
66222 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66224         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66225         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66227         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66228         Move e_machine check before EI_CLASS check.  Handle x32
66229         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66230         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66231         SKIP_EM_IA_64 and include
66232         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66234         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66235         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66236         (add_system_dir): New macro.
66238         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66241 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66243         [BZ #2551]
66244         [BZ #2552]
66245         [BZ #2553]
66246         [BZ #2554]
66247         [BZ #2562]
66248         [BZ #2563]
66249         [BZ #2565]
66250         [BZ #2566]
66251         [BZ #2576]
66252         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66253         (y0): Likewise.
66254         * math/w_j0f.c (j0f): Likewise.
66255         (y0f): Likewise.
66256         * math/w_j0l.c (__j0l): Likewise.
66257         (__y0l): Likewise.
66258         * math/w_j1.c (j1): Likewise.
66259         (y1): Likewise.
66260         * math/w_j1f.c (j1f): Likewise.
66261         (y1f): Likewise.
66262         * math/w_j1l.c (__j1l): Likewise.
66263         (__y1l): Likewise.
66264         * math/w_jn.c (jn): Likewise.
66265         (yn): Likewise.
66266         * math/w_jnf.c (jnf): Likewise.
66267         (ynf): Likewise.
66268         * math/w_jnl.c (__jnl): Likewise.
66269         (__ynl): Likewise.
66270         * math/libm-test.inc (j0_test): Add more tests.
66271         (j1_test): Likewise.
66272         (jn_test): Likewise.  Add trailing semicolon to existing test.
66273         (y0_test): Likewise.
66274         (y1_test): Likewise.
66275         * sysdeps/i386/fpu/libm-test-ulps: Update.
66276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66278         [BZ #13851]
66279         [BZ #13854]
66280         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66281         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66282         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66283         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66284         (__tanl): Set errno for infinite argument.
66285         * sysdeps/i386/fpu/mptan.c: Remove.
66286         * sysdeps/i386/fpu/s_tan.S: Likewise.
66287         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66288         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66289         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66290         * math/libm-test.inc (tan_test): Add more tests and enable more
66291         tests for double and long double.
66292         * sysdeps/i386/fpu/libm-test-ulps: Update.
66293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66295 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66297         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66298         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66300 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66302         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66303         * configure.in: Use it for both main tree and add-ons.
66304         * configure: Regenerated.
66306 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66308         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66310 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66312         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66313         in comment.
66315         [BZ #13851]
66316         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66317         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66318         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66319         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66320         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66321         infinite argument.
66322         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66323         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66324         != 0 for prec == 2.
66325         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66326         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66327         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66328         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66329         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66330         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66331         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66332         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66333         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66334         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66335         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66336         * math/libm-test.inc (cos_test): Add more tests and enable more
66337         tests for long double.
66338         (sin_test): Likewise.
66339         (sincos_test): Likewise.
66340         * sysdeps/i386/fpu/libm-test-ulps: Update.
66341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66343 2012-03-16  David S. Miller  <davem@davemloft.net>
66345         * sysdeps/sparc/fpu/math_private.h: New file.
66347 2012-03-15  David S. Miller  <davem@davemloft.net>
66349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66350         file.
66351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66353         file.
66354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66360         sysdep routines.
66361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66363         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66364         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66366         * sysdeps/sparc/sparc-ifunc.h: New file.
66367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66368         sparc-ifunc.h
66369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66371         Likewise.
66372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66373         Likewise.
66374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66378         Likewise.
66379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66384         Likewise.
66385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66386         Likewise.
66387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66393         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66394         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66396         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66404         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66406         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66407         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66408         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66412 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66414         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66415         scaling.
66416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66418 2012-03-15  Andreas Jaeger  <aj@suse.de>
66420         [BZ #13852]
66421         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66422         ieee754/flt-32 implementation for sin, cos and sincos.
66423         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66424         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66425         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66426         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66427         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66428         ieee754/flt-32 implementation for tan.
66430         * math/libm-test.inc (cos_test): Enable some large input tests for
66431         float as well
66432         (sin_test): Likewise.
66433         (sincos_test): Likewise.
66434         (tan_test): Add tests for large input.
66436         * sysdeps/i386/fpu/libm-test-ulps: Update.
66438 2012-03-15  Andreas Jaeger  <aj@suse.de>
66440         [BZ #13658]
66441         * math/libm-test.inc (cos_test): Add more test cases.
66442         (sin_test): Likewise.
66443         (sincos_test): Likewise.
66445 2012-03-15  Andreas Jaeger  <aj@suse.de>
66447         [BZ #13837]
66448         * math/libm-test.inc (cos_test): Add a test case for large input
66449         value.
66450         (sin_test): Likewise.
66451         (sincos_test): Likewise.
66453 2012-03-15  Andreas Jaeger  <aj@suse.de>
66454             Joseph Myers  <joseph@codesourcery.com>
66456         [BZ #13658]
66457         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66458         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66459         * sysdeps/i386/fpu/branred.c: Likewise.
66460         * sysdeps/i386/fpu/dosincos.c: Likewise.
66461         * sysdeps/i386/fpu/mpa.c: Likewise.
66462         * sysdeps/i386/fpu/s_cos.S: Likewise.
66463         * sysdeps/i386/fpu/s_sin.S: Likewise.
66464         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66465         * sysdeps/i386/fpu/sincos32.c: Likewise.
66467         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66468         Define.
66469         (libc_feupdateenv_53bit): Define.
66470         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66471         Define.
66472         (libc_feupdateenv_53bit): Define.
66474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66475         53 bit (without extend i386 double precision).
66477         * math/libm-test.inc (sincos_test): Add tests for large input.
66478         (sin): Likewise.
66479         (cos): Likewise.
66481         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66483 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66487 2012-03-15  David S. Miller  <davem@davemloft.net>
66489         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66490         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66491         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66492         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66505         file.
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66508         file.
66509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66511         file.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66514         file.
66515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66517         fmin/fmax sysdep routines.
66518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66520 2012-03-14  David S. Miller  <davem@davemloft.net>
66522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66525         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66527         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66529         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66543         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66544         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66549         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66551         routines.
66552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66553         file.
66554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66556         file.
66557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66559         file.
66560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66562         file.
66563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66565         file.
66566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66568         file.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66570         file.
66571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66572         file.
66573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66574         file.
66575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66576         New file.
66577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66578         file.
66579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66580         file.
66581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66583         file.
66584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66586         file.
66587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66589         file.
66590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66592         VIS3 routines.
66594         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66595         New file.
66597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66599         * sysdeps/sparc/configure.in: New file.
66600         * sysdeps/sparc/configure: Generate.
66601         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66602         * configure: Regenerate.
66603         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66604         * config.make.in (have-as-vis3): New.
66605         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66606         available use -Av9d instead of -Av9a.
66607         * sysdeps/sparc/sparc64/Makefile: Likewise.
66608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66610         New file.
66611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66612         file.
66613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66614         New file.
66615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66616         file.
66617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66619         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66623         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66624         fzeros/fnegs to load 0x80000000 into a float register instead of
66625         using the stack.
66626         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66628 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66630         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66631         bits/syscall.h.
66632         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66633         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66634         ($(inst_includedir)/bits/syscall.h): Remove rule.
66635         ($(objpfx)bits/syscall.d): Include instead of
66636         $(objpfx)syscall-list.d.
66637         (generated): Change syscall-list.h and syscall-list.d to
66638         bits/syscall.h and bits/syscall.d.
66640 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66642         [BZ #13846]
66643         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66645 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66647         [BZ #13841]
66648         * math/s_csqrt.c: Include <float.h>.
66649         (__csqrt): Scale large or subnormal inputs.
66650         * math/s_csqrtf.c: Likewise.
66651         * math/s_csqrtl.c: Likewise.
66652         * math/libm-test.inc (csqrt_test): Add more tests.
66653         * sysdeps/i386/fpu/libm-test-ulps: Update.
66654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66656         [BZ #13840]
66657         * math/libm-test.inc (hypot_test): Add more tests.
66659 2012-03-13  David S. Miller  <davem@davemloft.net>
66661         [BZ #13840]
66662         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66663         double-precision for the calculation instead of scaling.
66665 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66667         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66668         manipulate bits before adding and subtracting TWO52[sx].
66669         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66670         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66671         Likewise.
66672         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66674 2012-03-13  David S. Miller  <davem@davemloft.net>
66676         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66677         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66679         rtld-global-offsets.h
66680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66682         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66683         large parameters.
66685         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66687         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66688         'err' in the ifdef scope in which it is actually used.
66690         * nss/nss_db/db-init.c: Include string.h
66692 2012-03-12  David S. Miller  <davem@davemloft.net>
66694         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66695         masking out of the most significant byte of random value used.
66696         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66697         Fix coding style in previous change.
66699         * sysdeps/unix/sysv/linux/kernel-features.h
66700         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66701         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66702         expression.
66703         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66704         later.
66706 2012-03-11  David S. Miller  <davem@davemloft.net>
66708         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66709         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66710         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66711         for 'resultvar' otherwise things get truncated on 64-bit.
66713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66714         Fix masking out of the most significant byte of random value used.
66716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66718 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66722 2012-03-09  David S. Miller  <davem@davemloft.net>
66724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66725         variables with appropriate CPP guards.
66726         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66727         from the frame pointer, not the stack pointer.  Correct layout
66728         comments.  Fix test on resulting framesize and the management of
66729         the outregs buffer for pltexit.  Preserve floating point return
66730         values across _dl_call_pltexit call.
66731         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66732         framesize and the management of the outregs buffer for pltexit.
66733         Preserve floating point return values across _dl_call_pltexit
66734         call.
66735         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66736         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66737         (la_sparc64_gnu_pltexit): New functions.
66738         (print_exit): Fix format string for return register value.
66740 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66742         * sunrpc/Makefile (others): Add rpcgen.
66743         ($(objpfx)rpcgen): Remove special build rule and dependency on
66744         libc.
66745         * sunrpc/rpcgen.c: New file.
66747 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66749         [BZ #13673]
66750         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66751         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66752         * sysdeps/i386/crti.S: Likewise.
66753         * sysdeps/i386/crtn.S: Likewise.
66754         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66755         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66756         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66757         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66758         * sysdeps/sh/crti.S: Likewise.
66759         * sysdeps/sh/crtn.S: Likewise.
66760         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66762         [BZ #13673]
66763         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66764         with URL.
66765         * locale/programs/locfile-kw.gperf: Likewise.
66766         * locale/programs/charmap-kw.h: Regenerated.
66767         * locale/programs/locfile-kw.h: Likewise.
66769         [BZ #13673]
66770         * intl/plural.y: Replace FSF snail mail address with URL.
66771         * intl/plural.c: Regenerated.
66773 2012-03-09  Richard Henderson  <rth@twiddle.net>
66775         * include/math_private.h: Remove file.
66776         * math/math_private.h: Move file ...
66777         * sysdeps/generic/math_private.h: ... here.
66779         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66780         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66781         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66783         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66784         and <math_private.h>.
66785         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66786         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66787         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66788         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66789         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66790         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66791         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66793         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66796         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66797         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66798         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66799         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66801         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66802         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66803         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66804         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66806         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66807         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66809         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66810         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66811         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66812         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66814         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66815         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66817         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66818         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66819         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66820         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66821         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66822         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66823         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66824         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66825         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66826         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66827         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66828         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66829         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66830         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66831         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66832         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66833         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66834         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66835         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66836         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66837         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66838         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66839         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66840         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66841         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66842         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66843         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66844         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66846         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66848         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66849         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66850         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66851         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66852         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66853         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66854         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66856         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66857         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66858         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66859         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66863         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66865         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66867         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66869         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66872         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66873         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66874         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66875         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66876         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66877         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66878         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66879         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66880         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66881         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66882         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66883         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66885         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66886         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66887         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66888         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66889         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66890         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66891         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66892         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66893         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66894         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66895         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66896         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66897         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66898         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66899         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66900         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66901         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66902         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66903         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66904         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66905         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66906         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66907         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66908         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66909         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66910         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66911         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66912         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66913         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66914         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66915         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66916         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66917         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66918         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66919         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66920         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66921         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66922         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66923         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66924         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66925         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66926         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66927         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66928         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66929         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66930         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66931         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66932         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66933         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66934         * sysdeps/ieee754/k_standard.c: Likewise.
66935         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66936         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66937         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66938         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66939         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66940         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66941         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66942         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66943         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66944         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66946         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66947         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66948         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66949         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66950         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66952         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66953         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66954         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66955         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66956         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66957         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66958         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66959         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66960         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66961         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66962         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66963         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66964         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66965         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66966         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66967         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66968         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66969         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66970         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66971         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66972         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66973         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66974         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66975         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66976         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66977         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66978         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66979         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66980         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66981         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66982         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66983         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66984         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66985         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66986         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66987         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66988         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66989         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66990         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66991         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66992         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66993         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66994         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66995         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66996         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66997         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67005         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67007         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67011         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67012         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67013         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67014         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67015         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67016         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67017         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67018         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67019         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67020         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67021         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67022         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67024         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67025         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67026         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67027         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67028         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67030         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67031         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67032         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67034         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67036         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67037         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67038         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67039         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67042         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67043         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67044         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67045         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67046         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67047         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67048         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67049         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67050         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67051         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67052         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67053         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67054         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67055         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67056         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67057         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67058         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67059         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67060         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67061         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67062         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67063         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67064         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67065         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67066         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67067         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67068         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67069         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67071         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67072         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67073         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67074         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67075         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67076         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67077         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67078         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67079         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67080         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67081         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67082         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67083         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67084         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67085         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67086         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67087         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67088         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67089         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67090         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67091         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67093         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67094         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67095         * sysdeps/ieee754/s_lib_version.c: Likewise.
67096         * sysdeps/ieee754/s_matherr.c: Likewise.
67097         * sysdeps/ieee754/s_signgam.c: Likewise.
67098         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67099         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67100         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67101         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67102         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67103         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67104         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67105         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67106         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67107         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67108         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67109         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67110         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67111         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67112         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67113         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67114         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67115         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67116         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67120 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67122         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67123         * sunrpc/rpc_main.c: Likewise.
67124         * sunrpc/rpc_svcout.c: Likewise.
67126 2012-03-09  David S. Miller  <davem@davemloft.net>
67128         * include/math_private.h: New file.
67130 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67132         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67133         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67134         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67135         from <bits/socket_type.h>.
67136         (enum __socket_type): Don't define here.
67137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67139         bits/socket_type.h.
67141         [BZ #13566]
67142         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67143         checking __USE_GNU.
67145         * Makerules ($(inst_includedir)/%.h): New rule.
67146         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67147         (install-others): Remove variable setting.
67148         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67150 2012-03-08  Richard Henderson  <rth@twiddle.net>
67152         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67153         from macro to inline function; merge with the
67154         !__LIBC_INTERNAL_MATH_INLINES version.
67155         (__ieee754_sqrtf): Likewise.
67157         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67158         to inline function.
67159         (__rintf, __floor, __floorf): Likewise.
67161         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67162         macro to inline function.
67163         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67165         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67166         not <math/math_private.h>.
67168 2012-03-08  David S. Miller  <davem@davemloft.net>
67170         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67171         copyright year.
67172         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67174 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67176         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67177         normalization.
67178         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67179         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67181 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67183         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67184         be defined individually, they must be defined as a block.  Define
67185         S for printing a string instead of hidint the different by using a
67186         macro for adding the 'l'.
67187         * stdio-common/tst-fphex-wide.c: Adjust.
67189 2012-03-07  Marek Polacek  <polacek@redhat.com>
67191         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67193 2012-03-08  Marek Polacek  <polacek@redhat.com>
67195         [BZ #13806]
67196         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67197         * stdio-common/tst-fphex.c: Define a few macros to make the
67198         test reusable.  Use them.
67199         * stdio-common/tst-fphex-wide.c: New file.
67201 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67203         [BZ #6911]
67204         * manual/macros.texi (gnusystems): New macro.
67205         (nongnusystems): Likewise.
67206         (gnulinuxhurdsystems): Likewise.
67207         (gnuhurdsystems): Likewise..
67208         (gnulinuxsystems): Likewise.
67209         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67210         variants of the GNU system, not "GNU system".
67211         * manual/conf.texi: Likewise.
67212         * manual/errno.texi: Likewise.  Update example of errno macro
67213         expansion.
67214         * manual/filesys.texi: Likewise.
67215         (getumask): Document as specific to GNU/Hurd.
67216         * manual/install.texi: Likewise.  Reword some references to
67217         GNU/Linux.
67218         * manual/intro.texi: Likewise.
67219         * manual/io.texi: Likewise.
67220         (File Name Portability): Detail which constraints are inapplicable
67221         to all GNU systems and which are only inapplicable to GNU/Hurd.
67222         * manual/job.texi: Likewise.
67223         * manual/llio.texi: Likewise.
67224         (O_NOCTTY): Document as present on GNU/Linux.
67225         * manual/maint.texi: Likewise.
67226         * manual/memory.texi: Likewise.
67227         * manual/pattern.texi: Likewise.
67228         * manual/pipe.texi: Likewise.
67229         * manual/process.texi: Likewise.
67230         * manual/resource.texi: Likewise.
67231         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67232         child on GNU/Hurd.
67233         * manual/setjmp.texi: Likewise.
67234         * manual/signal.texi: Likewise.
67235         * manual/startup.texi: Likewise.
67236         * manual/stdio.texi: Likewise.
67237         * manual/terminal.texi: Likewise.
67238         (ONLCR): Document as POSIX.
67239         (OXTABS): Document availability on GNU/Linux as XTABS.
67240         (ONOEOT): Document availability separately from other bits.
67241         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67242         * manual/time.texi: Likewise.
67243         * manual/users.texi: Likewise.
67244         * INSTALL: Regenerated.
67245         * sysdeps/gnu/errlist.c: Regenerated.
67247         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67248         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67249         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67250         puts.
67251         * configure: Regenerated.
67253 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67255         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67256         default includes instead of AC_HEADER_CHECK.
67257         * sysdeps/i386/configure: Regenerated.
67259         [BZ #10716]
67260         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67261         * math/s_cacoshf.c (__cacoshf): Likewise.
67262         * math/s_cacoshl.c (__cacoshl): Likewise.
67263         * math/s_casinh.c (__casinh): Set signs of result from argument.
67264         * math/s_casinhf.c (__casinhf): Likewise.
67265         * math/s_casinhl.c (__casinhl): Likewise.
67266         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67267         (casinh_test): Add more tests.
67268         * sysdeps/i386/fpu/libm-test-ulps: Update.
67269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67271 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67273         * po/zh_TW.po: Update from translation team.
67275         * login/Makefile (distribute): Remove variable.
67276         * catgets/Makefile: Likewise.
67277         * mach/Makefile: Likewise.
67278         * malloc/Makefile: Likewise.
67279         * misc/Makefile: Likewise.
67280         * iconv/Makefile: Likewise.
67281         * nscd/Makefile: Likewise.
67282         * hurd/Makefile: Likewise.
67283         * manual/Makefile: Likewise.
67284         * locale/Makefile: Likewise.
67285         * intl/Makefile: Likewise.
67286         * conform/Makefile: Likewise.
67287         * nss/Makefile: Likewise.
67288         * time/Makefile: Likewise.
67289         * soft-fp/Makefile: Likewise.
67290         * dirent/Makefile: Likewise.
67291         * gmon/Makefile: Likewise.
67292         * po/Makefile: Likewise.
67293         * rt/Makefile: Likewise.
67294         * socket/Makefile: Likewise.
67295         * math/Makefile: Likewise.
67296         * signal/Makefile: Likewise.
67297         * debug/Makefile: Likewise.
67298         * elf/Makefile: Likewise.
67299         * timezone/Makefile: Likewise.
67300         * stdlib/Makefile: Likewise.
67301         * iconvdata/Makefile: Likewise.
67302         * sunrpc/Makefile: Likewise.
67303         * io/Makefile: Likewise.
67304         * argp/Makefile: Likewise.
67305         * inet/Makefile: Likewise.
67306         * hesiod/Makefile: Likewise.
67307         * grp/Makefile: Likewise.
67308         * csu/Makefile: Likewise.
67309         * wctype/Makefile: Likewise.
67310         * crypt/Makefile: Likewise.
67311         * libio/Makefile: Likewise.
67312         * string/Makefile: Likewise.
67313         * nis/Makefile: Likewise.
67314         * resolv/Makefile: Likewise.
67315         * stdio-common/Makefile: Likewise.
67316         * wcsmbs/Makefile: Likewise.
67317         * dlfcn/Makefile: Likewise.
67318         * posix/Makefile: Likewise.
67320         [BZ #6959]
67321         * timezone/Makefile: Don't install timezone files, just the programs
67322         and scripts.
67324 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67326         * nss/databases.def: Add missing gshadow entry.
67328         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67330 2012-03-06  Marek Polacek  <polacek@redhat.com>
67332         [BZ #13726]
67333         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67334         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67335         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67336         * stdio-common/tst-long-dbl-fphex.c: New file.
67338 2012-03-06  David S. Miller  <davem@davemloft.net>
67340         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67341         (set_obp_int): New function.
67342         (get_obp_int): New function.
67343         (__get_clockfreq_via_dev_openprom): Likewise.
67344         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67345         Avoid unused variable warnings on 'val' and use builtin_expect.
67346         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67347         __builtin_expect.
67348         (INLINE_CLONE_SYSCALL): Likewise.
67350 2012-03-05  David S. Miller  <davem@davemloft.net>
67352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67354 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67358         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67359         only for |x| >= 40.
67360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67362 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67365         Replace gettimeofday with __vdso_gettimeofday.
67367         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67368         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67369         __vdso_clock_gettime and __vdso_getcpu.
67371         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67372         time with __vdso_time.
67374 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67376         * manual/lang.texi (size_t): Note types to which size_t may be
67377         equivalent with the GNU C Library, but do not describe when
67378         differences between them are significant.
67380 2012-03-05  Andreas Jaeger  <aj@suse.de>
67382         * sysdeps/i386/fpu/libm-test-ulps: Update.
67384 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67386         [BZ #3976]
67387         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67388         (__ieee754_pow): Save and restore rounding mode and use
67389         round-to-nearest for main computations.
67390         * math/libm-test.inc (pow_test_tonearest): New function.
67391         (pow_test_towardzero): Likewise.
67392         (pow_test_downward): Likewise.
67393         (pow_test_upward): Likewise.
67394         (main): Call the new functions.
67395         * sysdeps/i386/fpu/libm-test-ulps: Update.
67396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67398         [BZ #3976]
67399         * math/libm-test.inc (cosh_test_tonearest): New function.
67400         (cosh_test_towardzero): Likewise.
67401         (cosh_test_downward): Likewise.
67402         (cosh_test_upward): Likewise.
67403         (sinh_test_tonearest): Likewise.
67404         (sinh_test_towardzero): Likewise.
67405         (sinh_test_downward): Likewise.
67406         (sinh_test_upward): Likewise.
67407         (main): Call the new functions.
67408         * sysdeps/i386/fpu/libm-test-ulps: Update.
67409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67411 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67413         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67414         default stack guard is set in last bytes.
67415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67417 2012-03-05  Kees Cook  <keescook@chromium.org>
67419         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67421         [BZ #13656]
67422         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67423         possibly allocate from heap instead of stack.
67424         * stdio-common/bug-vfprintf-nargs.c: New file.
67425         * stdio-common/Makefile (tests): Add nargs overflow test.
67427 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67431 2012-03-03  Marek Polacek  <polacek@redhat.com>
67433         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67434         * math/math_private.h: Likewise.
67435         * stdlib/tst-strtod.c: Likewise.
67436         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67437         * sysdeps/x86_64/bits/atomic.h: Likewise.
67439 2012-03-02  David S. Miller  <davem@davemloft.net>
67441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67445         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67446         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67447         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67448         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67450 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67452         [BZ #13792]
67453         * manual/examples/README: New file, says the example source files
67454         can be used under GPL>=2.
67455         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67456         line containing just "*/".
67457         * manual/examples/add.c: Add copyright header (GPL>=2).
67458         * manual/examples/argp-ex1.c: Likewise.
67459         * manual/examples/argp-ex2.c: Likewise.
67460         * manual/examples/argp-ex3.c: Likewise.
67461         * manual/examples/argp-ex4.c: Likewise.
67462         * manual/examples/atexit.c: Likewise.
67463         * manual/examples/db.c: Likewise.
67464         * manual/examples/dir.c: Likewise.
67465         * manual/examples/dir2.c: Likewise.
67466         * manual/examples/execinfo.c: Likewise.
67467         * manual/examples/filecli.c: Likewise.
67468         * manual/examples/filesrv.c: Likewise.
67469         * manual/examples/fmtmsgexpl.c: Likewise.
67470         * manual/examples/genpass.c: Likewise.
67471         * manual/examples/inetcli.c: Likewise.
67472         * manual/examples/inetsrv.c: Likewise.
67473         * manual/examples/isockad.c: Likewise.
67474         * manual/examples/longopt.c: Likewise.
67475         * manual/examples/memopen.c: Likewise.
67476         * manual/examples/memstrm.c: Likewise.
67477         * manual/examples/mkfsock.c: Likewise.
67478         * manual/examples/mkisock.c: Likewise.
67479         * manual/examples/mygetpass.c: Likewise.
67480         * manual/examples/pipe.c: Likewise.
67481         * manual/examples/popen.c: Likewise.
67482         * manual/examples/rprintf.c: Likewise.
67483         * manual/examples/search.c: Likewise.
67484         * manual/examples/select.c: Likewise.
67485         * manual/examples/setjmp.c: Likewise.
67486         * manual/examples/sigh1.c: Likewise.
67487         * manual/examples/sigusr.c: Likewise.
67488         * manual/examples/stpcpy.c: Likewise.
67489         * manual/examples/strdupa.c: Likewise.
67490         * manual/examples/strftim.c: Likewise.
67491         * manual/examples/strncat.c: Likewise.
67492         * manual/examples/subopt.c: Likewise.
67493         * manual/examples/swapcontext.c: Likewise.
67494         * manual/examples/termios.c: Likewise.
67495         * manual/examples/testopt.c: Likewise.
67496         * manual/examples/testpass.c: Likewise.
67497         * manual/examples/timeval_subtract.c: Likewise.
67499         [BZ #13792]
67500         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67501         function to ...
67502         * manual/timeval_subtract.c.texi: ... here, new file.
67504 2012-03-02  David S. Miller  <davem@davemloft.net>
67506         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67508 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67510         [BZ #3976]
67511         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67512         (__sin): Save and restore rounding mode and use round-to-nearest
67513         for all computations.
67514         (__cos): Save and restore rounding mode and use round-to-nearest
67515         for all computations.
67516         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67517         <fenv.h>.
67518         (tan): Save and restore rounding mode and use round-to-nearest for
67519         all computations.
67520         * math/libm-test.inc (cos_test_tonearest): New function.
67521         (cos_test_towardzero): Likewise.
67522         (cos_test_downward): Likewise.
67523         (cos_test_upward): Likewise.
67524         (sin_test_tonearest): Likewise.
67525         (sin_test_towardzero): Likewise.
67526         (sin_test_downward): Likewise.
67527         (sin_test_upward): Likewise.
67528         (tan_test_tonearest): Likewise.
67529         (tan_test_towardzero): Likewise.
67530         (tan_test_downward): Likewise.
67531         (tan_test_upward): Likewise.
67532         (main): Call the new functions.
67533         * sysdeps/i386/fpu/libm-test-ulps: Update.
67534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67536         [BZ #10135]
67537         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67538         small n, then large n, before computing and testing k+n.
67539         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67540         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67541         Likewise.
67542         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67543         Likewise.
67544         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67545         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67546         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67547         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67550         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67551         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67552         * math/libm-test.inc (scalbn_test): Add more tests.
67553         (scalbln_test): Likewise.
67555         * manual/filesys.texi (mode_t): Describe constraints on size and
67556         signedness, not exact equivalence to a particular type.
67557         (ino_t): Likewise.
67558         (ino64_t): Likewise.
67559         (dev_t): Likewise.
67560         (nlink_t): Likewise.
67561         (blkcnt_t): Likewise.
67562         (blkcnt64_t): Likewise.
67563         * manual/llio.texi (off_t): Likewise.
67565         [BZ #3976]
67566         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67567         (__ieee754_exp): Save and restore rounding mode and use
67568         round-to-nearest for all computations.
67569         * math/libm-test.inc (exp_test_tonearest): New function.
67570         (exp_test_towardzero): Likewise.
67571         (exp_test_downward): Likewise.
67572         (exp_test_upward): Likewise.
67573         (main): Call the new functions.
67574         * sysdeps/i386/fpu/libm-test-ulps: Update.
67575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67577 2012-03-01  Chris Demetriou  <cgd@google.com>
67579         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67580         have predictable order.
67582 2012-03-01  David S. Miller  <davem@davemloft.net>
67584         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67586         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67587         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67588         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67589         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67591         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67592         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67593         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67595         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67596         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67597         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67598         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67599         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67603         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67604         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67605         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67607         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67608         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67609         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67610         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67611         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67612         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67613         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67614         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67615         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67616         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67617         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67618         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67620         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67621         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67623         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67624         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67625         * sysdeps/sparc/elf/configure: Regenerated.
67627 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67629         * configure.in (AS, LD): Require binutils 2.20 or later.
67630         * configure: Regenerated.
67631         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67632         as required minimum version.
67633         * INSTALL: Regenerated.
67635         [BZ #2541]
67636         [BZ #4108]
67637         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67638         before squaring exponent.
67639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67640         bottom long double and 27 bits of top long double before squaring
67641         exponent.
67642         * math/libm-test.inc (erfc_test): Add more tests.
67643         * sysdeps/i386/fpu/libm-test-ulps: Update.
67644         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67647 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67649         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67650         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67651         containing bit-fields.
67652         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67653         * soft-fp/single.h (_FP_UNION_S): Likewise.
67654         * soft-fp/double.h (_FP_UNION_D): Likewise.
67656 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67658         [BZ #13786]
67659         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67660         not include ../strcmp.S.
67661         [USE_AS_STRNCASECMP_L]: Likewise.
67662         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67663         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67664         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67665         (__strncasecmp_l_ia32): Define as alias to
67666         __strncasecmp_l_nonascii.
67668         [BZ #5794]
67669         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67670         * sysdeps/i386/fpu/libm-test-ulps: Update.
67671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67673         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67676 2012-02-29  Jeff Law  <law@redhat.com>
67678         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67679         out of bounds read.
67681 2012-02-29  Marek Polacek  <polacek@redhat.com>
67683         [BZ #13706]
67684         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67685         * elf/Makefile: Add rules to run tst-unused-dep.out.
67687 2012-02-28  David S. Miller  <davem@davemloft.net>
67689         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67690         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67691         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67692         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67693         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67694         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67696 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67698         * math/libm-test.inc (llround_test): Move one test from
67699         lround_test.  Use TEST_f_L in moved test.
67700         (lround_test): Move misplaced test to llround_test.  Add testcase
67701         from bug 2561.
67703 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67705         * sysdeps/x86_64/fpu/e_expf.S: New file.
67706         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67708 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67710         [BZ #13637]
67711         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67712         of remain_len that may cause incomplete multi-byte character and
67713         false match.
67714         * posix/bug-regex33.c: New file.
67715         * posix/Makefile (tests): Add bug-regex33.
67717 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67719         * manual/macros.texi: New file.
67720         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67721         * manual/libc.texinfo: Include macros.texi.
67722         * manual/creatute.texi: Likewise.
67723         * manual/install.texi: Likewise.
67724         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67725         @glibcadj{} in references to the GNU C Library.
67726         * manual/charset.texi: Likewise.
67727         * manual/conf.texi: Likewise.
67728         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67729         when not using those macros.
67730         * manual/creature.texi: Likewise.
67731         * manual/crypt.texi: Likewise.
67732         * manual/errno.texi: Likewise.
67733         * manual/filesys.texi: Likewise.
67734         * manual/header.texi: Likewise.
67735         * manual/install.texi: Likewise.
67736         * manual/intro.texi: Likewise.
67737         * manual/io.texi: Likewise.
67738         * manual/job.texi: Likewise.
67739         * manual/lang.texi: Likewise.
67740         * manual/libc.texiinfo: Likewise.
67741         * manual/llio.texi: Likewise.
67742         * manual/locale.texi: Likewise.
67743         * manual/maint.texi: Likewise.
67744         * manual/math.texi: Likewise.
67745         * manual/memory.texi: Likewise.
67746         * manual/message.texi: Likewise.
67747         * manual/nss.texi: Likewise.
67748         * manual/pattern.texi: Likewise.
67749         * manual/process.texi: Likewise.
67750         * manual/resource.texi: Likewise.
67751         * manual/search.texi: Likewise.
67752         * manual/setjmp.texi: Likewise.
67753         * manual/signal.texi: Likewise.
67754         * manual/socket.texi: Likewise.
67755         * manual/startup.texi: Likewise.
67756         * manual/stdio.texi: Likewise.
67757         * manual/string.texi: Likewise.
67758         * manual/sysinfo.texi: Likewise.
67759         * manual/syslog.texi: Likewise.
67760         * manual/terminal.texi: Likewise.
67761         * manual/time.texi: Likewise.
67762         * manual/users.texi: Likewise.
67763         * INSTALL: Regenerated.
67764         * NOTES: Regenerated.
67765         * sysdeps/gnu/errlist.c: Regenerated.
67767 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67769         * include/dirent.h: Include <dirstream.h> before
67770         <dirent/dirent.h>.
67772 2012-02-28  David S. Miller  <davem@davemloft.net>
67774         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67775         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67776         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67777         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67779 2012-02-27  David S. Miller  <davem@davemloft.net>
67781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67783         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67784         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67787         frame pointer instead of stack pointer relative arg slot.
67788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67789         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67790         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67792 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67794         [BZ #3992]
67795         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67797 2012-02-27  David S. Miller  <davem@davemloft.net>
67799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67803         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67804         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67805         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67806         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67808 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67810         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67811         later.  Allow versions 5-9.
67812         * configure: Regenerated.
67813         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67814         required minimum version and 4.6 as recommended version.  Do not
67815         mention bugs in GCC 2.7 and 2.8.
67816         * INSTALL: Regenerated.
67818 2012-02-27  David S. Miller  <davem@davemloft.net>
67820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67824         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67825         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67826         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67827         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67830         manipulate bits before adding and subtracting TWO112[sx].
67831         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67833 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67835         [BZ #13775]
67836         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67837         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67838         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67839         being in POSIX, because they are in 1003.1-2008.
67841         * rt/tst-aio.c: Include <fcntl.h>.
67842         * rt/tst-aio7.c: Likewise.
67843         * rt/tst-aio64.c: Likewise.
67845         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67847 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67849         * manual/install.texi (--with-headers): Describe headers as
67850         interface headers, not private headers.
67851         (Specific advice for GNU/Linux systems): Describe use of headers
67852         from "make headers_install", not private headers from older
67853         kernels.
67854         * INSTALL: Regenerated.
67855         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67856         Change to 2.6.19.
67857         * sysdeps/unix/sysv/linux/configure: Regenerated.
67859         * manual/llio.texi (fclean): Remove documentation.
67861         * manual/Makefile (libc-texi-generated): New variable.  Include
67862         version.texi.
67863         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67864         $(libc-texi-generated), not duplicated list of files.
67865         (version.texi, stamp-version): New rules.
67866         (realclean): Remove $(libc-texi-generated), not individual files
67867         from that list.  Do not remove dir-add.texinfo.
67868         * manual/libc.texinfo: Comment out uses of edition numbers and
67869         references to printed manual.  Remove last-updated dates.
67870         (EDITION): Comment out.
67871         (ISBN): Likewise.
67872         (VERSION, UPDATED): Remove.
67873         (version.texi): Include.
67875 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67877         * sysdeps/posix/spawni.c: Include <signal.h>.
67878         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67879         * sysdeps/pthread/aio_fsync.c: Likewise.
67881 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67883         * conform/Makefile (tests): Run only when not cross-compiling and
67884         when fast-check is not defined.
67886         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67887         * conform/data/limits.h-data: Fixes for POSIX2008.
67888         * conform/run-conformtest.sh: Run all tests.
67889         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67890         headers.
67891         * include/bits/dlfcn.h: Likewise.
67892         * include/langinfo.h: Likewise.
67893         * include/monetary.h: Likewise.
67894         * include/sys/poll.h: Likewise.
67896         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67897         for __USE_GNU.
67898         * posix/spawn.h: Define __need_sigset_t.
67899         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67900         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67901         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67902         to get sigevent_t only.
67903         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67904         only for __USE_GNU.
67905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67906         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67907         process_vm_writev only for __USE_GNU.
67908         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67910         * conform/Makefile: For now ignore errors from run-conformtest.
67911         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67912         POSIX to avoid namespace pollution.  Don't prepend headers.
67913         * conform/data/aio.h-data: Fixes for POSIX testing.
67914         * conform/data/fcntl.h-data: Likewise.
67915         * conform/data/glob.h-data: Likewise.
67916         * conform/data/grp.h-data: Likewise.
67917         * conform/data/pthread.h-data: Likewise.
67918         * conform/data/pwd.h-data: Likewise.
67919         * conform/data/signal.h-data: Likewise.
67920         * conform/data/spawn.h-data: Likewise.
67921         * conform/data/stdio.h-data: Likewise.
67922         * conform/data/stdlib.h-data: Likewise.
67923         * conform/data/stropts.h-data: Likewise.
67924         * conform/data/sys/mman.h-data: Likewise.
67925         * conform/data/sys/stat.h-data: Likewise.
67926         * conform/data/sys/types.h-data: Likewise.
67927         * conform/data/sys/wait.h-data: Likewise.
67928         * conform/data/time.h-data: Likewise.
67929         * conform/data/unistd.h-data: Likewise.
67930         * conform/data/utime.h-data: Likewise.
67932         * io/sys/stat.h: fchmod was always in POSIX.
67933         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67934         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67935         * rt/aio.h: Define __need_timespec before including <time.h>.
67936         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67937         struct.  Add forward declaration of pthread_attr_t and use it in
67938         sigevent.
67939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67941         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67942         always remove CLK_TCK definition.
67944 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67946         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67948 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67950         * conform/run-conformtest.sh: New file.
67951         * conform/Makefile: Run run-conformtest for tests.
67952         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67953         support.
67955         * conform/data/uchar.h-data: New file.
67956         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67957         * conform/data/arpa/inet.h-data: Likewise.
67958         * conform/data/assert.h-data: Likewise.
67959         * conform/data/complex.h-data: Likewise.
67960         * conform/data/cpio.h-data: Likewise.
67961         * conform/data/ctype.h-data: Likewise.
67962         * conform/data/dirent.h-data: Likewise.
67963         * conform/data/dlfcn.h-data: Likewise.
67964         * conform/data/errno.h-data: Likewise.
67965         * conform/data/fcntl.h-data: Likewise.
67966         * conform/data/float.h-data: Likewise.
67967         * conform/data/fmtmsg.h-data: Likewise.
67968         * conform/data/fnmatch.h-data: Likewise.
67969         * conform/data/ftw.h-data: Likewise.
67970         * conform/data/glob.h-data: Likewise.
67971         * conform/data/grp.h-data: Likewise.
67972         * conform/data/iconv.h-data: Likewise.
67973         * conform/data/inttypes.h-data: Likewise.
67974         * conform/data/langinfo.h-data: Likewise.
67975         * conform/data/libgen.h-data: Likewise.
67976         * conform/data/limits.h-data: Likewise.
67977         * conform/data/locale.h-data: Likewise.
67978         * conform/data/math.h-data: Likewise.
67979         * conform/data/monetary.h-data: Likewise.
67980         * conform/data/mqueue.h-data: Likewise.
67981         * conform/data/ndbm.h-data: Likewise.
67982         * conform/data/net/if.h-data: Likewise.
67983         * conform/data/netdb.h-data: Likewise.
67984         * conform/data/netinet/in.h-data: Likewise.
67985         * conform/data/nl_types.h-data: Likewise.
67986         * conform/data/poll.h-data: Likewise.
67987         * conform/data/pthread.h-data: Likewise.
67988         * conform/data/pwd.h-data: Likewise.
67989         * conform/data/regex.h-data: Likewise.
67990         * conform/data/sched.h-data: Likewise.
67991         * conform/data/search.h-data: Likewise.
67992         * conform/data/semaphore.h-data: Likewise.
67993         * conform/data/setjmp.h-data: Likewise.
67994         * conform/data/signal.h-data: Likewise.
67995         * conform/data/spawn.h-data: Likewise.
67996         * conform/data/stdarg.h-data: Likewise.
67997         * conform/data/stdio.h-data: Likewise.
67998         * conform/data/stdlib.h-data: Likewise.
67999         * conform/data/string.h-data: Likewise.
68000         * conform/data/strings.h-data: Likewise.
68001         * conform/data/stropts.h-data: Likewise.
68002         * conform/data/sys/ipc.h-data: Likewise.
68003         * conform/data/sys/mman.h-data: Likewise.
68004         * conform/data/sys/msg.h-data: Likewise.
68005         * conform/data/sys/resource.h-data: Likewise.
68006         * conform/data/sys/select.h-data: Likewise.
68007         * conform/data/sys/sem.h-data: Likewise.
68008         * conform/data/sys/shm.h-data: Likewise.
68009         * conform/data/sys/socket.h-data: Likewise.
68010         * conform/data/sys/stat.h-data: Likewise.
68011         * conform/data/sys/statvfs.h-data: Likewise.
68012         * conform/data/sys/time.h-data: Likewise.
68013         * conform/data/sys/timeb.h-data: Likewise.
68014         * conform/data/sys/times.h-data: Likewise.
68015         * conform/data/sys/types.h-data: Likewise.
68016         * conform/data/sys/uio.h-data: Likewise.
68017         * conform/data/sys/un.h-data: Likewise.
68018         * conform/data/sys/utsname.h-data: Likewise.
68019         * conform/data/sys/wait.h-data: Likewise.
68020         * conform/data/syslog.h-data: Likewise.
68021         * conform/data/tar.h-data: Likewise.
68022         * conform/data/termios.h-data: Likewise.
68023         * conform/data/utime.h-data: Likewise.
68024         * conform/data/utmpx.h-data: Likewise.
68025         * conform/data/varargs.h-data: Likewise.
68026         * conform/data/wchar.h-data: Likewise.
68027         * conform/data/wctype.h-data: Likewise.
68028         * conform/data/wordexp.h-data: Likewise.
68030         * include/stropts.h: New file.
68031         * include/uchar.h: New file.
68032         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68033         * include/assert.h: Likewise.
68034         * include/ctype.h: Likewise.
68035         * include/dirent.h: Likewise.
68036         * include/dlfcn.h: Likewise.
68037         * include/fcntl.h: Likewise.
68038         * include/fnmatch.h: Likewise.
68039         * include/glob.h: Likewise.
68040         * include/grp.h: Likewise.
68041         * include/libio.h: Likewise.
68042         * include/locale.h: Likewise.
68043         * include/math.h: Likewise.
68044         * include/net/if.h: Likewise.
68045         * include/netdb.h: Likewise.
68046         * include/netinet/in.h: Likewise.
68047         * include/pthread.h: Likewise.
68048         * include/pwd.h: Likewise.
68049         * include/regex.h: Likewise.
68050         * include/sched.h: Likewise.
68051         * include/search.h: Likewise.
68052         * include/setjmp.h: Likewise.
68053         * include/signal.h: Likewise.
68054         * include/stdio.h: Likewise.
68055         * include/stdlib.h: Likewise.
68056         * include/string.h: Likewise.
68057         * include/sys/cdefs.h: Likewise.
68058         * include/sys/mman.h: Likewise.
68059         * include/sys/msg.h: Likewise.
68060         * include/sys/resource.h: Likewise.
68061         * include/sys/select.h: Likewise.
68062         * include/sys/socket.h: Likewise.
68063         * include/sys/stat.h: Likewise.
68064         * include/sys/statvfs.h: Likewise.
68065         * include/sys/time.h: Likewise.
68066         * include/sys/times.h: Likewise.
68067         * include/sys/uio.h: Likewise.
68068         * include/sys/utsname.h: Likewise.
68069         * include/sys/wait.h: Likewise.
68070         * include/termios.h: Likewise.
68071         * include/time.h: Likewise.
68072         * include/ulimit.h: Likewise.
68073         * include/unistd.h: Likewise.
68074         * include/utime.h: Likewise.
68075         * include/wchar.h: Likewise.
68076         * include/wctype.h: Likewise.
68077         * include/wordexp.h: Likewise.
68079         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68081         * time/time.h: TIME_UTC must be a macro.
68082         Make timespec_get available for ISO C11 only as well.
68084 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68086         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68087         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68089 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68091         * configure.in: Use -o not -a in test for unsupported multi-arch.
68093 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68095         * manual/texinfo.tex: Update to version 2012-01-19.16.
68097 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68099         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68101 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68103         [BZ #13738]
68104         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68105         * manual/fdl-1.3.texi: New file.
68106         * manual/fdl-1.1.texi: File removed.
68108         [BZ #13738]
68109         * manual/libc.texinfo (FDL_VERSION): New @set.
68110         Use it for mention of FDL in cover text.
68111         (Documentation License): Use it in @include file name.
68113 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68114             Roland McGrath  <roland@hack.frob.com>
68116         [BZ #5461]
68117         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68118         (not LONG_LONG_MAX and LONG_LONG_MIN.
68119         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68120         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68121         name.
68122         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68124 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68126         [BZ #2547]
68127         [BZ #11365]
68128         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68129         manipulate bits before adding and subtracting TWO23[sx].
68130         * math/libm-test.inc (nearbyint_test): Add more tests.
68132 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68134         [BZ #2548]
68135         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68136         bits before adding and subtracting TWO23[sx].
68137         * math/libm-test.inc (rint_test): Add more tests.
68138         (rint_test_tonearest): Likewise.
68139         (rint_test_towardzero): Likewise.
68140         (rint_test_downward): Likewise.
68141         (rint_test_upward: Likewise.
68143 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68145         [BZ #10110]
68146         * include/stdc-predef.h: New file.  Extracted from features.h.
68147         * include/features.h: Include stdc-predef.h.
68148         * Makefile (headers): Add stdc-predef.h.
68149         * CONFORMANCE (Compiler limitations): Update.
68151 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68153         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68155 2012-02-21  David S. Miller  <davem@davemloft.net>
68157         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68158         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68160 2012-02-20  David S. Miller  <davem@davemloft.net>
68162         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68163         using a normal save/restore sequence, rather than allocating a
68164         dummy stack frame just to store a frame pointer and restore.
68165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68167 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68169         * manual/install.texi: Fix stray word in line-wrapped comment.
68171 2012-02-20  David S. Miller  <davem@davemloft.net>
68173         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68174         both binutils and gcc support GOTDATA.
68176         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68177         "rd %pc" in the PIC register setup sequences.
68179         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68180         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68181         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68182         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68183         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68184         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68185         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68187         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68188         (SYSCALL_ERROR_HANDLER): Likewise.
68189         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68190         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68192         (SYSCALL_ERROR_HANDLER): Likewise.
68194         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68195         (HAVE_GCC_GOTDATA): New.
68196         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68197         relocation support in both binutils and gcc.
68198         * sysdeps/sparc/elf/configure: Regenerate.
68200         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68201         * sysdeps/sparc/sparc32/elf/configure: Delete.
68202         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68203         * sysdeps/sparc/sparc64/elf/configure: Delete.
68204         * sysdeps/sparc/elf/configure.in: New file.
68205         * sysdeps/sparc/elf/configure: Generate.
68207         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68208         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68209         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68210         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68211         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68213 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68215         * manual/install.texi: Do not mention specific glibc version
68216         numbers.
68217         * manual/libc.texinfo (VERSION, UPDATED): Update.
68218         (@copying): Use @copyright{} and range of years.
68220 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68222         [BZ #13695]
68223         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68224         [crti.S not in sysdirs] (generated): Do not append.
68225         [crti.S not in sysdirs] (omit-deps): Likewise.
68226         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68227         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68228         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68229         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68230         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68231         Likewise.
68232         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68233         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68234         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68235         * csu/defs.awk: Remove file.
68236         * sysdeps/generic/initfini.c: Likewise.
68237         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68238         variable.
68239         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68240         Likewise.
68242 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68244         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68245         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68246         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68247         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68248         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68249         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68250         <bits/epoll.h>.
68251         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68252         (__EPOLL_PACKED): Define to empty if not defined by
68253         <bits/epoll.h>.
68254         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68256         bits/epoll.h.
68258 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68260         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68261         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68262         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68263         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68264         <bits/timerfd.h>.
68265         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68267         bits/timerfd.h.
68269 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68271         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68272         in C locale.
68273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68274         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68275         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68278 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68280         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68281         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68283 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68285         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68286         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68287         defined.
68288         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68289         Likewise.
68290         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68291         entry for 2.16.
68293 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68295         * math/w_acos.c: Use non-signaling floating-point comparisons.
68296         * math/w_acosf.c: Likewise.
68297         * math/w_acosh.c: Likewise.
68298         * math/w_acoshf.c: Likewise.
68299         * math/w_acoshl.c: Likewise.
68300         * math/w_acosl.c: Likewise.
68301         * math/w_asin.c: Likewise.
68302         * math/w_asinf.c: Likewise.
68303         * math/w_asinl.c: Likewise.
68304         * math/w_atanh.c: Likewise.
68305         * math/w_atanhf.c: Likewise.
68306         * math/w_atanhl.c: Likewise.
68307         * math/w_exp2.c: Likewise.
68308         * math/w_exp2f.c: Likewise.
68309         * math/w_exp2l.c: Likewise.
68310         * math/w_j0.c: Likewise.
68311         * math/w_j0f.c: Likewise.
68312         * math/w_j0l.c: Likewise.
68313         * math/w_j1.c: Likewise.
68314         * math/w_j1f.c: Likewise.
68315         * math/w_j1l.c: Likewise.
68316         * math/w_jn.c: Likewise.
68317         * math/w_jnf.c: Likewise.
68318         * math/w_log.c: Likewise.
68319         * math/w_log10.c: Likewise.
68320         * math/w_log10f.c: Likewise.
68321         * math/w_log10l.c: Likewise.
68322         * math/w_log2.c: Likewise.
68323         * math/w_log2f.c: Likewise.
68324         * math/w_log2l.c: Likewise.
68325         * math/w_logf.c: Likewise.
68326         * math/w_logl.c: Likewise.
68327         * math/w_sqrt.c: Likewise.
68328         * math/w_sqrtf.c: Likewise.
68329         * math/w_sqrtl.c: Likewise.
68330         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68331         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68332         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68333         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68334         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68336 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68338         [BZ #9739]
68339         * manual/string.texi (strnlen): Use correct parameter name in
68340         equivalent expression.
68342 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68344         [BZ #11174]
68345         * manual/users.texi (seteuid): Consistently use neweuid for
68346         argument name.
68348 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68350         [BZ #13704]
68351         * manual/nss.texi (Services in the NSS configuration): Correct
68352         list of services in example configuration file.
68354 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68356         [BZ #11322]
68357         * manual/arith.texi: Remove statements about negative zero
68358         behaving identically to zero.
68360 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68362         [BZ #5993]
68363         * manual/install.texi: Do not document upgrading from libc5.
68365 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68367         [BZ #4596]
68368         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68370 2012-02-18  David S. Miller  <davem@davemloft.net>
68372         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68373         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68374         %o7 across the call.
68375         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68376         instead.
68377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68378         SETUP_PIC_REG_LEAF.
68379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68380         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68381         * sysdeps/sparc/crtn.S: Likewise.
68383 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68385         * aout/Makefile: Remove.
68387 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68389         [BZ #13058]
68390         * manual/examples/argp-ex1.c (main): Format definition in GNU
68391         style.
68392         * manual/examples/argp-ex2.c (main): Likewise.
68393         * manual/examples/argp-ex3.c (main): Likewise.
68394         * manual/examples/argp-ex4.c (main): Likewise.
68395         * manual/examples/longopt.c (main): Use new-style prototype
68396         definition.
68397         * manual/examples/strncat.c (main): Specify return type and use
68398         (void) for arguments.
68399         * manual/examples/subopt.c (main): Use char **argv argument.
68401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68403         [BZ #5077]
68404         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68405         rounding modes.
68407 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68409         [BZ #6907]
68410         * manual/string.texi (strchr): Change when strchrnul is
68411         recommended.
68413 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68415         [BZ #174]
68416         * manual/locale.texi (setlocale): Document LOCPATH.
68418 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68420         [BZ #10210]
68421         * manual/process.texi (execle): Move @dots{} before last argument.
68423 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68425         [BZ #12047]
68426         * manual/charset.texi (Generic Charset Conversion): Fix typo
68427         (LC_TYPE -> LC_CTYPE).
68429 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68431         [BZ #5805]
68432         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68433         (scalbnf): Likewise.
68434         (scalbnl): Likewise.
68435         (scalbln): Likewise.
68436         (scalblnf): Likewise.
68437         (scalblnl): Likewise.
68438         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68439         (vwarnx): Likewise.
68440         (verr): Likewise.
68441         (verrx): Likewise.
68442         * manual/filesys.texi (telldir): Use braces around return type.
68443         * manual/llio.texi (mmap): Add space after comma.
68444         (mmap64): Likewise.
68445         * manual/math.texi (jn): Use @var{} on parameter names.
68446         (jnf): Likewise.
68447         (jnl): Likewise.
68448         (yn): Likewise.
68449         (ynf): Likewise.
68450         (ynl): Likewise.
68451         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68452         line.
68453         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68454         "...".
68455         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68456         (sched_get_priority_max): Likewise.
68457         * manual/signal.texi (sigvec): Add space after comma.
68458         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68459         names.
68460         (if_indextoname): Likewise.
68461         (if_freenameindex): Likewise.
68462         (sendto): Use ',' instead of '.' in prototype.
68463         * manual/startup.texi (syscall): Use @dots{} instead of literal
68464         "...".
68465         * manual/stdio.texi (__fpending): Separate initial words of
68466         paragraph from @deftypefun line.
68467         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68468         "...".
68469         (vsyslog): Use @var{} on parameter names.
68470         * manual/terminal.texi (stty): Use @var{} on parameter names.
68471         * manual/users.texi (getutmp): Use @var{} on parameter names.
68472         (getutmpx): Likewise.
68474 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68476         [BZ #6884]
68477         * manual/stdio.texi (fopen): Fix typos in description of
68478         ",ccs=STRING".
68480 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68482         [BZ #4026]
68483         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68484         get clock_id definition.
68486 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68488         [BZ #4822]
68489         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68490         (madvise): Cast every argument to void on its own.
68492 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68494         [BZ #9902]
68495         * manual/startup.texi (Exit Status): Fix typo.
68497 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68499         [BZ #10140]
68500         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68501         * manual/examples/argp-ex2.c: Likewise.
68502         * manual/examples/argp-ex3.c: Likewise.
68504 2012-02-16  Richard Henderson  <rth@redhat.com>
68506         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68507         * sysdeps/s390/s390-32/initfini.c: Remove.
68508         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68509         * sysdeps/s390/s390-64/initfini.c: Remove.
68511 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68513         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68514         compiler output for sysdeps/generic/initfini.c.
68515         * sysdeps/sh/elf/initfini.c: Remove file.
68517 2012-02-16  David S. Miller  <davem@davemloft.net>
68519         [BZ #11494]
68520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68522         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68523         * sysdeps/sparc/crti.S: New file.
68524         * sysdeps/sparc/crtn.S: New file.
68525         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68526         * sysdeps/sparc/sparc64/Makefile: Likewise.
68528 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68530         [BZ #3335]
68531         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68533 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68535         [BZ #4822]
68536         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68538         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68539         (write, read, close): Likewise.
68540         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68542 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68544         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68545         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68546         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68547         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68548         <bits/signalfd.h>.
68549         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68551         bits/signalfd.h.
68553 2012-02-14  Marek Polacek  <polacek@redhat.com>
68555         * sysdeps/x86_64/crti.S: New file.
68556         * sysdeps/x86_64/crtn.S: New file.
68557         * sysdeps/x86_64/elf/initfini.c: Remove file.
68559 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68561         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68562         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68563         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68564         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68565         <bits/inotify.h>.
68566         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68567         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68568         bits/inotify.h.
68570 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68572         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68573         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68574         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68575         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68576         <bits/eventfd.h>.
68577         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68579         bits/eventfd.h.
68581 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68583         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68584         __feraiseexcept instead of feraiseexcept.
68586         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68587         nanosleep invocations.
68588         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68589         strings, and add error checking for a nanosleep invocations.
68591 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68593         Replace FSF snail mail address with URLs, as per GNU coding standards.
68594         Most of the snail mail addresses were wrong anyway, and omitting
68595         them makes the source code easier to maintain.  Almost all of the
68596         changes are to license notices and to locale LC_IDENTIFICATION
68597         addresses, except for this one:
68598         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68599         not its snail mail address.
68601 2012-02-09  Richard Henderson  <rth@twiddle.net>
68603         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68604         of kernel-features.h.
68606         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68608 2012-02-08  Marek Polacek  <polacek@redhat.com>
68610         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68611         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68612         * sysdeps/gnu/_G_config.h: Likewise.
68613         * sysdeps/generic/_G_config.h: Likewise.
68615 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68617         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68618         tests.
68619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68621         * sysdeps/powerpc/powerpc32/crti.S: New file.
68622         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68623         * sysdeps/powerpc/powerpc64/crti.S: New file.
68624         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68626         * Makeconfig (have-initfini): Don't set.
68627         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68628         * configure.in (nopic_initfini): Don't substitute.
68629         * config.h.in (HAVE_INITFINI): Don't #undef.
68630         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68631         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68633 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68635         Support crti.S and crtn.S provided directly by architectures.
68636         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68637         [crti.S in sysdirs] (omit-deps): Likewise.
68638         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68639         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68640         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68641         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68642         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68643         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68644         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68645         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68646         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68647         compiler output for sysdeps/generic/initfini.c.
68648         * sysdeps/i386/elf/Makefile: Remove file.
68649         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68651 2012-02-07  Marek Polacek  <polacek@redhat.com>
68653         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68654         * sysdeps/gnu/_G_config.h: Likewise.
68655         * sysdeps/mach/hurd/_G_config.h: Likewise.
68657 2012-02-07  Marek Polacek  <polacek@redhat.com>
68659         * math/Makefile (tests): Add tst-CMPLX2.
68660         * math/tst-CMPLX2.c: New file.
68662 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68664         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68666         * math/libm-test.inc (jn_test): Add missing L suffix.
68668 2012-02-06  Marek Polacek  <polacek@redhat.com>
68670         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68671         * sysdeps/i386/fpu/e_powf.S: Likewise.
68672         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68673         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68675         * sysdeps/i386/fpu/e_pow.S: Likewise.
68676         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68677         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68678         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68679         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68680         * sysdeps/i386/fpu/e_log2.S: Likewise.
68681         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68682         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68683         * sysdeps/i386/fpu/e_powl.S: Likewise.
68684         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68685         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68686         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68687         * sysdeps/i386/fpu/e_logl.S: Likewise.
68688         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68689         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68690         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68691         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68692         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68693         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68694         * sysdeps/i386/fpu/e_log.S: Likewise.
68695         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68696         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68697         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68698         * sysdeps/i386/fpu/e_logf.S: Likewise.
68699         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68700         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68701         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68702         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68703         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68704         * sysdeps/i386/fpu/e_log10.S: Likewise.
68705         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68706         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68707         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68708         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68709         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68710         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68711         * sysdeps/i386/asm-syntax.h: Likewise.
68712         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68713         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68714         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68715         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68716         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68717         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68718         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68719         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68720         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68721         * sysdeps/powerpc/sysdep.h: Likewise.
68722         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68723         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68725 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68727         [BZ #411]
68728         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68730 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68732         * sysdeps/i386/sysdep.h: Include <features.h>.
68733         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68734         version.
68736 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68738         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68739         Define.
68740         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68741         LOAD_PIC_REG_STR.
68743 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68745         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68746         (SETUP_PIC_REG): Use GET_PC_THUNK.
68747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68748         macro.
68750 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68752         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68753         for non-PIC compilation.
68754         (SETUP_PIC_REG): Add .p2align directive.
68755         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68756         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68757         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68758         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68759         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68760         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68761         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68762         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68763         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68764         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68765         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68766         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68767         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68768         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68769         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68770         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68771         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68772         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68773         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68774         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68775         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68777         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68778         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68779         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68780         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68782         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68783         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68784         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68785         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68786         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68787         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68788         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68789         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68790         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68791         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68792         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68793         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68794         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68795         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68797 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68799         * math/tst-CMPLX.c: Include <stdio.h>.
68801 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68803         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68804         float.
68805         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68806         * sysdeps/sparc/bits/mathdef.h: Likewise.
68808 2012-01-31  Marek Polacek  <polacek@redhat.com>
68810         * libio/libio.h: Don't define _PARAMS.
68811         * locale/programs/config.h: Don't define PARAMS.
68812         * stdlib/strtol_l.c: Likewise.
68813         (__strtol_l): Remove PARAMS from the prototype.
68815 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68817         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68818         names.  Just use the correct names.  Remove unnecessary wrapper
68819         functions.
68820         * malloc/arena.c: Likewise.
68821         * malloc/hooks.c: Likewise.
68823         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68824         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68825         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68827 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68829         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68830         into tail calls.
68831         (update_get_addr): New function.
68832         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68833         GET_ADDR_MODULE parameter.
68835 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68837         * crypt/cert.c: Remove __STDC__ conditionals.
68838         * crypt/crypt-entry.c: Likewise.
68839         * crypt/crypt_util.c: Likewise.
68840         * libio/filedoalloc.c: Likewise.
68841         * libio/fileops.c: Likewise.
68842         * libio/genops.c: Likewise.
68843         * libio/iofclose.c: Likewise.
68844         * libio/iofdopen.c: Likewise.
68845         * libio/iofopen.c: Likewise.
68846         * libio/iofopen64.c: Likewise.
68847         * libio/iogetdelim.c: Likewise.
68848         * libio/iopopen.c: Likewise.
68849         * libio/obprintf.c: Likewise.
68850         * libio/oldfileops.c: Likewise.
68851         * libio/oldiofclose.c: Likewise.
68852         * libio/oldiofdopen.c: Likewise.
68853         * libio/oldiofopen.c: Likewise.
68854         * libio/oldiopopen.c: Likewise.
68855         * libio/wfiledoalloc.c: Likewise.
68856         * libio/wgenops.c: Likewise.
68857         * locale/programs/xmalloc.c: Likewise.
68858         * misc/syslog.c: Likewise.
68859         * stdio-common/xbug.c: Likewise.
68860         * string/memchr.c: Likewise.
68861         * string/memcmp.c: Likewise.
68862         * string/memrchr.c: Likewise.
68863         * string/rawmemchr.c: Likewise.
68864         * sysdeps/posix/getcwd.c: Likewise.
68865         * time/strftime_l.c: Likewise.
68867 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68869         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68870         * config.make.in (config-cflags-sse2avx): Define.
68871         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68872         Fix typo.
68874 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68876         * scripts/config.guess: Update from upstream config git repository.
68877         * scripts/config.sub: Likewise.
68879 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68881         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68882         (EM_NUM): Update.
68883         (R_TILEPRO_*, R_TILEGX_*): New macros.
68885         * scripts/firstversions.awk: Fix bug in version range handling.
68887         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68889         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68891         * include/sys/epoll.h: New file.
68892         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68893         libc_hidden_def.
68895 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68897         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68898         Avoid unnecessary __WORDSIZE == 64 test.
68899         (fmaxf): Use VEX format if possible.
68900         (fmax): Likewise.
68901         (fminf): Likewise.
68902         (fmin): Likewise.
68904         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68905         * math/math_private.h: Remove libc_fegetround* and
68906         libc_fesetround*.
68907         * sysdeps/i386/configure.in: Check for -msse2avx.
68908         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68909         also if SSE2AVX is defined.
68910         Remove libc_fegetround* and libc_fesetround*.
68911         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68912         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68913         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68914         of HAS_YMM_USABLE.
68915         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68916         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68917         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68919         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68921         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68923 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68925         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68926         size is not set.
68927         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68929 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68931         [BZ #13618]
68932         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68933         relocation.
68934         * Makeconfig (libm): Define.
68935         * elf/Makefile: Add rules to build and run tst-relsort1.
68936         * elf/tst-relsort1.c: New file.
68937         * elf/tst-relsort1mod1.c: New file.
68938         * elf/tst-relsort1mod2.c: New file.
68940 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68942         * math/s_ldexp.c: Remove __STDC__ conditionals.
68943         * math/s_ldexpf.c: Likewise.
68944         * math/s_ldexpl.c: Likewise.
68945         * math/s_nextafter.c: Likewise.
68946         * math/s_nexttowardf.c: Likewise.
68947         * math/s_significand.c: Likewise.
68948         * math/s_significandf.c: Likewise.
68949         * math/s_significandl.c: Likewise.
68950         * math/w_jnl.c: Likewise.
68951         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68952         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68953         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68954         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68955         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68957         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68958         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68959         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68960         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68961         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68962         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68963         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68964         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68965         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68966         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68967         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68968         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68970         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68971         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68972         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68973         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68975         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68976         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68977         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68978         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68979         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68980         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68981         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68982         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68983         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68984         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68985         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68986         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68987         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68988         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68989         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68990         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68991         * sysdeps/ieee754/k_standard.c: Likewise.
68992         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68996         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69001         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69004         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69008         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69009         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69010         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69013         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69014         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69015         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69016         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69017         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69018         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69019         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69020         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69023         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69024         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69025         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69027         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69028         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69030         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69031         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69032         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69033         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69034         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69035         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69036         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69037         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69038         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69039         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69040         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69041         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69042         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69045         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69046         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69047         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69052         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69053         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69056         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69057         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69058         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69059         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69060         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69061         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69064         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69065         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69066         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69067         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69068         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69069         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69070         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69071         * sysdeps/ieee754/s_matherr.c: Likewise.
69072         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69073         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69074         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69075         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69077 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69079         * crypt/md5.h: Remove __STDC__ conditionals.
69080         * libio/libioP.h: Likewise.
69081         * locale/programs/config.h: Likewise.
69082         * sysdeps/generic/sysdep.h: Likewise.
69083         * sysdeps/i386/asm-syntax.h: Likewise.
69084         * sysdeps/s390/asm-syntax.h: Likewise.
69085         * sysdeps/unix/sysdep.h: Likewise.
69086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69089 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69091         * libio/libio.h: Remove __STDC__ conditionals.
69092         * malloc/obstack.h: Likewise.
69093         * math/complex.h: Likewise.
69094         * math/math.h: Likewise.
69095         * sysdeps/generic/_G_config.h: Likewise.
69096         * sysdeps/gnu/_G_config.h: Likewise.
69097         * sysdeps/mach/hurd/_G_config.h: Likewise.
69098         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69099         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69100         * sysdeps/sparc/bits/mathdef.h: Likewise.
69102 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69104         [BZ #13583]
69105         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69106         Clean up HAS_* macros.
69107         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69108         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69109         possible.
69110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69111         HAS_AVX.
69112         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69113         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69114         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69115         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69116         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69118 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69120         * elf/tst-unique3.cc (gets): Remove declaration.
69121         * elf/tst-unique3lib.cc (gets): Likewise.
69122         * elf/tst-unique3lib2.cc (gets): Likewise.
69123         * elf/tst-unique4.cc (gets): Likewise.
69125 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69127         * include/stdio.h: Add C++ protection.  Add gets declarations and
69128         definitions.
69129         * debug/tst-chk1.c: Don't declare gets here.
69130         * stdio-common/tst-gets.c: Likewise.
69132 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69134         * posix/glob: Remove directory.
69136 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69138         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69140 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69142         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69143         of the non-standard EPFNOSUPPORT.
69145 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69147         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69148         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69149         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69151 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69153         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69155 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69157         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69158         transient errors.
69159         * nscd/grpcache.c (cache_addgr): Likewise.
69160         * nscd/hstcache.c (cache_addhst): Likewise.
69161         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69162         * nscd/pwdcache.c (cache_addpw): Likewise.
69163         * nscd/servicescache.c (cache_addserv): Likewise.
69165 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69167         * malloc/malloc.c: Various cleanups.
69168         * malloc/hooks.c: Likewise.
69170         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69171         * stdlib/bug-fmtmsg1.c: New file.
69173         * stdlib/fmtmsg.c (init): Add missing unlock.
69174         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69176 2012-01-12  Marek Polacek  <polacek@redhat.com>
69178         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69179         and _GNU_SOURCE.
69181 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69183         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69184         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69185         macro to ensure uniqueness of label name.
69186         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69187         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69189 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69191         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69193         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69194         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69195         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69198 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69200         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69202         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69203         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69204         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69206         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69208         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69209         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69210         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69211         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69213         * math/bits/math-finite.h: Add ldexp support.
69215 2012-01-10  Marek Polacek  <polacek@redhat.com>
69217         * locale/programs/localedef.h (show_archive_content): Add noreturn
69218         attribute.
69220 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69222         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69224 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69226         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69228         * io/Makefile (headers): Add bits/poll2.h.
69230 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69233         typo #include statement.
69235 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69237         * include/sys/cdefs.h: Define __attribute_alloc_size.
69238         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69239         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69240         * elf/pldd.c: Likewise.
69241         * iconv/iconv_charmap.c: Likewise.
69242         * iconv/iconvconfig.c: Likewise.
69243         * iconv/strtab.c: Likewise.
69244         * locale/programs/locale.c: Likewise.
69245         * locale/programs/localedef.h: Likewise.
69246         * locale/programs/simple-hash.c: Likewise.
69247         * nscd/nscd.h: Likewise.
69248         * nss/makedb.c: Likewise.
69249         * sysdeps/generic/ldconfig.h: Likewise.
69250         * locale/programs/localedef.c: Remove xmalloc prototype.
69251         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69253 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69255         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69256         appropriate.
69258 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69260         * math/Makefile (tests): Add tst-CMPLX.
69261         * math/tst-CMPLX.c: New file.
69263         * math/complex.h (CMPLXL): Fix typo.
69265         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69266         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69267         GLIBC_2.16.
69268         * debug/tst-chk1.c: Add poll and ppoll tests.
69269         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69270         * include/sys/poll.h: Add hidden proto for ppoll.
69271         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69272         * sysdeps/mach/hurd/ppoll.c: Likewise.
69273         * io/ppoll.c: Likewise.
69274         * debug/poll_chk.c: New file.
69275         * debug/ppoll_chk.c: New file.
69276         * include/bits/poll2.h: New file.
69277         * io/bits/poll2.h: New file.
69279         [BZ #1350]
69280         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69282         * configure.in: static is always set to yes.  Remove.
69283         * config.make.in: Don't set build-static.
69284         * Makeconfig: Remove use of build-static.
69285         * dlfcn/Makefile: Likewise.
69286         * elf/Makefile: Likewise.
69287         * math/Makefile: Likewise.
69288         * misc/Makefile: Likewise.
69289         * nptl/Makefile: Likewise.
69290         * sysdeps/mach/hurd/Makefile: Likewise.
69292         * configure.in: PWD_P is not used anymore.
69293         * config.make.in: Remove PWD_P entry.
69295         * configure.in: Remove last remnants of RANLIB.
69296         No need to check for signed size_t anymore.
69297         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69298         and IA-64.
69299         Remove __builtin_expect test because we require at least gcc 3.4.
69300         * aclocal.m4: Likewise.
69302         * wcsmbs/mbrtoc16.c: Implement using towc function.
69303         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69304         * wcsmbs/wcsmbsload.c: Likewise.
69305         * iconv/gconv_simple.c: Likewise.
69306         * iconv/gconv_int.h: Likewise.
69307         * iconv/gconv_builtin.h: Likewise.
69308         * iconv/iconv_prog.c: Remove CHAR16 handling.
69310         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69312         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69314         * configure.in: Remove --with-elf and --enable-bounded options.
69315         Dont set base_machine for ia64.  More non-ELF conditions removed.
69316         Remove testing and setting of leading underscore information.
69317         * config.make.in (build-bounded): Set to no.
69318         * config.h.in: Remove NO_UNDERSCORES entry.
69319         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69320         them.
69321         * csu/start.c: Remove !NO_UNDERSCORE code.
69322         * locale/localeinfo.h: Likewise.
69323         * sysdeps/generic/machine-gmon.h: Likewise.
69324         * sysdeps/generic/sysdep.h: Likewise.
69325         * sysdeps/i386/sysdep.h: Likewise.
69326         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69327         * sysdeps/mach/sysdep.h: Likewise.
69328         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69329         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69330         * sysdeps/sh/sysdep.h: Likewise.
69331         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69332         * sysdeps/unix/i386/sysdep.S: Likewise.
69333         * sysdeps/unix/sparc/start.c: Likewise.
69334         * sysdeps/unix/sparc/sysdep.S: Likewise.
69335         * sysdeps/unix/sparc/sysdep.h: Likewise.
69336         * sysdeps/unix/start.c: Likewise.
69337         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69338         * sysdeps/x86_64/sysdep.h: Likewise.
69340 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69342         [BZ #13553]
69343         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69344         for non-gcc.
69345         * argp/argp-fmtstream.h: Use const instead __const.
69346         * argp/argp.h: Likewise.
69347         * assert/assert.h: Likewise.
69348         * bits/fenv.h: Likewise.
69349         * bits/sched.h: Likewise.
69350         * bits/sigset.h: Likewise.
69351         * bits/sigthread.h: Likewise.
69352         * catgets/nl_types.h: Likewise.
69353         * conform/data/pthread.h-data: Likewise.
69354         * crypt/crypt-private.h: Likewise.
69355         * crypt/crypt.h: Likewise.
69356         * crypt/crypt_util.c: Likewise.
69357         * ctype/ctype.h: Likewise.
69358         * debug/execinfo.h: Likewise.
69359         * debug/mbsnrtowcs_chk.c: Likewise.
69360         * debug/mbsrtowcs_chk.c: Likewise.
69361         * debug/wcsnrtombs_chk.c: Likewise.
69362         * debug/wcsrtombs_chk.c: Likewise.
69363         * debug/wcstombs_chk.c: Likewise.
69364         * dirent/dirent.h: Likewise.
69365         * dlfcn/dlfcn.h: Likewise.
69366         * elf/neededtest4.c: Likewise.
69367         * grp/grp.h: Likewise.
69368         * gshadow/gshadow.h: Likewise.
69369         * iconv/gconv.h: Likewise.
69370         * iconv/gconv_int.h: Likewise.
69371         * iconv/gconv_simple.c: Likewise.
69372         * iconv/iconv.h: Likewise.
69373         * iconv/loop.c: Likewise.
69374         * iconv/skeleton.c: Likewise.
69375         * include/aio.h: Likewise.
69376         * include/aliases.h: Likewise.
69377         * include/argz.h: Likewise.
69378         * include/arpa/inet.h: Likewise.
69379         * include/assert.h: Likewise.
69380         * include/dirent.h: Likewise.
69381         * include/dlfcn.h: Likewise.
69382         * include/execinfo.h: Likewise.
69383         * include/fcntl.h: Likewise.
69384         * include/fenv.h: Likewise.
69385         * include/glob.h: Likewise.
69386         * include/grp.h: Likewise.
69387         * include/libintl.h: Likewise.
69388         * include/mntent.h: Likewise.
69389         * include/netdb.h: Likewise.
69390         * include/pwd.h: Likewise.
69391         * include/rpc/netdb.h: Likewise.
69392         * include/sched.h: Likewise.
69393         * include/search.h: Likewise.
69394         * include/shadow.h: Likewise.
69395         * include/signal.h: Likewise.
69396         * include/stdio.h: Likewise.
69397         * include/stdlib.h: Likewise.
69398         * include/string.h: Likewise.
69399         * include/sys/socket.h: Likewise.
69400         * include/sys/stat.h: Likewise.
69401         * include/sys/statfs.h: Likewise.
69402         * include/sys/statvfs.h: Likewise.
69403         * include/sys/syslog.h: Likewise.
69404         * include/sys/time.h: Likewise.
69405         * include/sys/uio.h: Likewise.
69406         * include/time.h: Likewise.
69407         * include/unistd.h: Likewise.
69408         * include/utmp.h: Likewise.
69409         * include/wchar.h: Likewise.
69410         * include/wctype.h: Likewise.
69411         * inet/aliases.h: Likewise.
69412         * inet/arpa/inet.h: Likewise.
69413         * inet/netinet/ether.h: Likewise.
69414         * inet/netinet/in.h: Likewise.
69415         * intl/libintl.h: Likewise.
69416         * io/bits/fcntl2.h: Likewise.
69417         * io/fcntl.h: Likewise.
69418         * io/ftw.h: Likewise.
69419         * io/sys/poll.h: Likewise.
69420         * io/sys/stat.h: Likewise.
69421         * io/sys/statfs.h: Likewise.
69422         * io/sys/statvfs.h: Likewise.
69423         * io/utime.h: Likewise.
69424         * libio/bits/stdio.h: Likewise.
69425         * libio/bits/stdio2.h: Likewise.
69426         * libio/libio.h: Likewise.
69427         * libio/libioP.h: Likewise.
69428         * libio/stdio.h: Likewise.
69429         * locale/lc-ctype.c: Likewise.
69430         * locale/locale.h: Likewise.
69431         * login/utmp.h: Likewise.
69432         * malloc/arena.c: Likewise.
69433         * malloc/malloc.c: Likewise.
69434         * malloc/malloc.h: Likewise.
69435         * malloc/mcheck.c: Likewise.
69436         * malloc/mtrace.c: Likewise.
69437         * math/bits/mathcalls.h: Likewise.
69438         * math/fenv.h: Likewise.
69439         * math/math_private.h: Likewise.
69440         * misc/bits/error.h: Likewise.
69441         * misc/bits/syslog.h: Likewise.
69442         * misc/err.h: Likewise.
69443         * misc/error.h: Likewise.
69444         * misc/fstab.h: Likewise.
69445         * misc/mntent.h: Likewise.
69446         * misc/regexp.h: Likewise.
69447         * misc/search.h: Likewise.
69448         * misc/sgtty.h: Likewise.
69449         * misc/sys/mman.h: Likewise.
69450         * misc/sys/syslog.h: Likewise.
69451         * misc/sys/uio.h: Likewise.
69452         * misc/sys/xattr.h: Likewise.
69453         * misc/ttyent.h: Likewise.
69454         * nis/rpcsvc/ypclnt.h: Likewise.
69455         * nss/nss.h: Likewise.
69456         * posix/bits/unistd.h: Likewise.
69457         * posix/fnmatch.h: Likewise.
69458         * posix/glob.h: Likewise.
69459         * posix/sched.h: Likewise.
69460         * posix/spawn.h: Likewise.
69461         * posix/sys/wait.h: Likewise.
69462         * posix/unistd.h: Likewise.
69463         * posix/wordexp.h: Likewise.
69464         * pwd/pwd.h: Likewise.
69465         * resolv/netdb.h: Likewise.
69466         * resource/sys/resource.h: Likewise.
69467         * rt/aio.h: Likewise.
69468         * rt/bits/mqueue2.h: Likewise.
69469         * rt/mqueue.h: Likewise.
69470         * shadow/shadow.h: Likewise.
69471         * signal/signal.h: Likewise.
69472         * socket/send.c: Likewise.
69473         * socket/sendto.c: Likewise.
69474         * socket/sys/socket.h: Likewise.
69475         * stdio-common/printf.h: Likewise.
69476         * stdlib/bits/stdlib.h: Likewise.
69477         * stdlib/fmtmsg.h: Likewise.
69478         * stdlib/monetary.h: Likewise.
69479         * stdlib/stdlib.h: Likewise.
69480         * stdlib/ucontext.h: Likewise.
69481         * streams/stropts.h: Likewise.
69482         * string/argz.h: Likewise.
69483         * string/bits/string2.h: Likewise.
69484         * string/string.h: Likewise.
69485         * string/strings.h: Likewise.
69486         * sunrpc/rpc/auth.h: Likewise.
69487         * sunrpc/rpc/auth_des.h: Likewise.
69488         * sunrpc/rpc/clnt.h: Likewise.
69489         * sunrpc/rpc/netdb.h: Likewise.
69490         * sunrpc/rpc/pmap_clnt.h: Likewise.
69491         * sunrpc/rpc/xdr.h: Likewise.
69492         * sysdeps/generic/inttypes.h: Likewise.
69493         * sysdeps/generic/net/if.h: Likewise.
69494         * sysdeps/generic/sys/swap.h: Likewise.
69495         * sysdeps/gnu/net/if.h: Likewise.
69496         * sysdeps/gnu/utmpx.h: Likewise.
69497         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69498         * sysdeps/i386/i486/bits/string.h: Likewise.
69499         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69500         * sysdeps/s390/bits/string.h: Likewise.
69501         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69502         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69503         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69504         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69505         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69506         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69507         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69508         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69509         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69510         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69511         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69512         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69513         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69514         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69515         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69516         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69517         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69519         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69520         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69521         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69522         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69523         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69524         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69525         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69526         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69527         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69528         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69529         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69530         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69531         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69532         * sysvipc/sys/ipc.h: Likewise.
69533         * sysvipc/sys/msg.h: Likewise.
69534         * sysvipc/sys/sem.h: Likewise.
69535         * sysvipc/sys/shm.h: Likewise.
69536         * termios/termios.h: Likewise.
69537         * time/sys/time.h: Likewise.
69538         * time/time.h: Likewise.
69539         * wcsmbs/bits/wchar2.h: Likewise.
69540         * wcsmbs/uchar.h: Likewise.
69541         * wcsmbs/wchar.h: Likewise.
69542         * wctype/wctype.h: Likewise.
69544         [BZ #13551]
69545         * Makeconfig: Remove all but ELF support including AIX support.
69546         * Makerules: Likewise.
69547         * config.h.in: Likewise.
69548         * config.make.in: Likewise.
69549         * configure: Likewise.
69550         * configure.in: Likewise.
69551         * csu/Makefile: Likewise.
69552         * csu/version.c: Likewise.
69553         * debug/Makefile: Likewise.
69554         * dlfcn/Makefile: Likewise.
69555         * elf/Makefile: Likewise.
69556         * extra-lib.mk: Likewise.
69557         * iconv/Makefile: Likewise.
69558         * include/libc-symbols.h: Likewise.
69559         * include/shlib-compat.h: Likewise.
69560         * resolv/Makefile: Likewise.
69561         * resolv/res_libc.c: Likewise.
69562         * rt/Makefile: Likewise.
69563         * sysdeps/i386/asm-syntax.h: Likewise.
69564         * sysdeps/i386/sysdep.h: Likewise.
69565         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69566         * sysdeps/mach/sysdep.h: Likewise.
69567         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69568         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69569         * sysdeps/s390/asm-syntax.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/unix/sparc/sysdep.h: Likewise.
69574         * sysdeps/wordsize-32/divdi3.c: Likewise.
69575         * sysdeps/x86_64/sysdep.h: Likewise.
69577         * argp/Versions: Remove _argp_unlock_xxx.
69579         [BZ #13559]
69580         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69581         * abilist/libBrokenLocale.abilist: Likewise.
69582         * abilist/libanl.abilist: Likewise.
69583         * abilist/libc.abilist: Likewise.
69584         * abilist/libcrypt.abilist: Likewise.
69585         * abilist/libdl.abilist: Likewise.
69586         * abilist/libm.abilist: Likewise.
69587         * abilist/libnsl.abilist: Likewise.
69588         * abilist/libpthread.abilist: Likewise.
69589         * abilist/libresolv.abilist: Likewise.
69590         * abilist/librt.abilist: Likewise.
69591         * abilist/libthread_db.abilist: Likewise.
69592         * abilist/libutil.abilist: Likewise.
69593         * abilist/libnss_db.abilist: New file.
69595         * scripts/abilist.awk: Add support for indirect functions.
69597         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69599         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69601         * shlib-versions: Remove entries for ports architectures.
69603         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69604         files in ports.
69605         * elf/stackguard-macros.h: Remove support for IA-64.
69606         * elf/tst-auditmod1.c: Likewise.
69607         * sysdeps/generic/ldsodefs.h: Likewise.
69609         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69610         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69611         configure files.
69613         [BZ #13552]
69614         * configure.in: Remove --enable-omitfp support.
69615         * FAQ.in: Adjust.
69616         * config.make.in: Likewise.
69617         * Makeconfig: Likewise.
69618         * manual/install.texi: Likewise.
69620         In case anyone cares, the IA-64 architecture could move to ports.
69621         * sysdeps/ia64/*: Removed.
69622         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69623         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69625         [BZ #13555]
69626         * configure.in: Remove entries for unsupported architectures.
69628         [BZ #13533]
69629         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69630         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69631         routines.
69632         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69633         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69634         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69635         fall back to using wcrtomb.
69636         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69637         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69638         renaming.
69639         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69640         * wcsmbs/tst-c16c32-1.c: New file.
69642         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69643         local variable.
69645         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69647         * elf/tst-unique3.cc: Add explicit declaration of gets.
69648         * elf/tst-unique3lib.cc: Likewise.
69649         * elf/tst-unique3lib2.cc: Likewise.
69650         * elf/tst-unique4.cc: Likewise.
69652         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69654 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69656         [BZ #13566]
69657         * assert/assert.h (static_assert): Don't define for C++.
69658         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69659         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69661 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69663         * iconv/loop.c (single loop): Fix assertion in storing of
69664         remaining bytes.
69666         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69668 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69670         * posix/getconf.c: Update copyright year.
69671         * nss/getent.c: Likewise.
69672         * nss/makedb.c: Likewise.
69673         * iconv/iconvconfig.c: Likewise.
69674         * iconv/iconv_prog.c: Likewise.
69675         * elf/ldconfig.c: Likewise.
69676         * elf/pldd.c: Likewise.
69677         * elf/sotruss.ksh: Likewise.
69678         * catgets/gencat.c: Likewise.
69679         * csu/version.c: Likewise.
69680         * elf/ldd.bash.in: Likewise.
69681         * elf/sprof.c (print_version): Likewise.
69682         * locale/programs/locale.c: Likewise.
69683         * locale/programs/localedef.c: Likewise.
69684         * login/programs/pt_chown.c: Likewise.
69685         * nscd/nscd.c (print_version): Likewise.
69686         * debug/xtrace.sh: Likewise.
69687         * malloc/memusage.sh: Likewise.
69688         * malloc/mtrace.pl: Likewise.
69689         * debug/catchsegv.sh: Likewise.
69691 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69693         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69694         pure attribute.
69696 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69698         [BZ #13533]
69699         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69700         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69701         transformations.
69702         * iconv/gconv_int.h: Likewise.
69703         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69704         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69705         from libc for GLIBC_2.16.
69706         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69707         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69708         * wcsmbs/uchar.h: Really define mbstate_t.
69709         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69710         * wcsmbs/c16rtomb.c: New file.
69711         * wcsmbs/mbrtoc16.c: New file.
69712         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69713         for C/POSIX locale.
69714         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69715         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69717         * wcsmbs/wchar.h: Add missing __restrict.
69719 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69721         [BZ #13532]
69722         * time/Makefile (routines): Add timespec_get.
69723         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69724         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69725         timespec for ISO C11.
69726         * time/timespec_get.c: New file.
69727         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69728         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69730         [BZ #13531]
69731         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69732         * stdlib/stdlib.h: Declare aligned_alloc.
69733         * Versions.def: Add GLIBC_2.16 for libc.
69734         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69736         [BZ 13527]
69737         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69738         ISO C11.
69740         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69741         code.
69743         [BZ #13528]
69744         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69746         [BZ #13529]
69747         * assert/assert.h (static_assert): Define.
69749         * version.h: Update for 2.16 development version.
69751         [BZ #13526]
69752         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69753         _ISOC11_SOURCE.
69755         * version.h (RELEASE): Bump for 2.15 release.
69756         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69758         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69759         Patch by Marek Polacek <mpolacek@redhat.com>.
69761         * bits/byteswap.h: Protect long long constants with __extension__.
69762         * sysdeps/i386/bits/byteswap.h: Likewise.
69763         * sysdeps/ia64/bits/byteswap.h: Likewise.
69764         * sysdeps/s390/bits/byteswap.h: Likewise.
69765         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69767 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69769         [BZ #13540]
69770         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69771         destination buffer.
69772         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69774 2011-12-23  Marek Polacek  <polacek@redhat.com>
69776         * elf/dl-addr.c (determine_info): Add inline keyword.
69777         * elf/tst-auditmod4b.c (check_avx): Likewise.
69778         * elf/tst-auditmod6b.c (check_avx): Likewise.
69779         * elf/tst-auditmod6c.c (check_avx): Likewise.
69780         * elf/tst-auditmod7b.c (check_avx): Likewise.
69782 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69784         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69785         !__SSE_MATH__.
69787 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69789         [BZ #13540]
69790         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69791         processing for last bytes.
69793 2011-08-06  Bruno Haible  <bruno@clisp.org>
69795         [BZ #13061]
69796         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69797         U+0385, not to U+1FEE.
69799         [BZ #13062]
69800         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69801         entry for U+00A5 U+0301.
69803 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69805         [BZ #13166]
69806         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69807         buffer for the output is too small.
69809         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69810         optimization.
69812         [BZ #13185]
69813         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69814         SSE flags if possible.
69816 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69818         [BZ #13540]
69819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69820         processing for last bytes.
69822 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69824         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69825         (syscall-list-default-options, syscall-list-default-condition)
69826         (syscall-list-includes): Define.
69827         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69828         list of ABIs and options and #if conditions for each ABI.  Do not
69829         handle common syscalls between ABIs specially.
69830         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69831         Remove.
69832         (syscall-list-variants, syscall-list-32bit-options)
69833         (syscall-list-32bit-condition, syscall-list-64bit-options)
69834         (syscall-list-64bit-condition): Define.
69835         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69836         (syscall-list-variants, syscall-list-32bit-options)
69837         (syscall-list-32bit-condition, syscall-list-64bit-options)
69838         (syscall-list-64bit-condition): Define.
69839         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69840         Remove.
69841         (syscall-list-variants, syscall-list-32bit-options)
69842         (syscall-list-32bit-condition, syscall-list-64bit-options)
69843         (syscall-list-64bit-condition): Define.
69844         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69845         Remove.
69846         (syscall-list-variants, syscall-list-32bit-options)
69847         (syscall-list-32bit-condition, syscall-list-64bit-options)
69848         (syscall-list-64bit-condition): Define.
69850 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69852         * locale/iso-639.def: Add brx entry.
69854         [BZ #13328]
69855         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69856         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69858         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69859         __feraiseexcept_renamed.
69861 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69863         [BZ #13538]
69864         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69865         EPOLLET with unsigned values.
69866         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69867         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69869         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69870         to large cancellation.
69871         * math/s_cacoshf.c: Likewise.
69872         * math/s_cacoshl.c: Likewise.
69874 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69876         [BZ #13305]
69877         [BZ #12786]
69878         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69879         * math/s_cacoshf.c: Likewise.
69880         * math/s_cacoshl.c: Likewise.
69882 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69884         [BZ #13439]
69885         * iconv/gconv.h: Define __GCONV_SWAP.
69886         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69887         * iconvdata/utf-16.c: Likewise.
69888         * iconvdata/utf-32.c: Likewise.
69890 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69892         [BZ #13524]
69893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69894         numerator after shifting it by one limb.
69896 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69898         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69899         under [__USE_EXTERN_INLINES].
69901 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69903         [BZ #13446]
69904         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69906 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69908         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69909         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69910         optimized code.
69911         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69912         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69913         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69914         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69915         for strncasecmp/strncasecmp_l compilation.
69916         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69917         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69919 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69921         [BZ #13484]
69922         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69923         of __asm__.
69925 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69927         [BZ #13506]
69928         * time/tzfile.c (__tzfile_read): Check values from file header.
69930 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69932         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69933         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69934         * powerpc/powerpc32/dl-start.S: Likewise.
69935         * powerpc/powerpc32/elf/start.S: Likewise.
69936         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69937         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69938         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69939         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69940         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69941         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69942         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69943         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69944         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69945         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69946         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69947         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69948         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69949         * powerpc/powerpc32/memset.S: Likewise.
69950         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69951         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69952         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69953         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69954         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69955         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69956         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69957         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69958         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69959         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69960         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69961         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69962         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69964 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69966         * math/libm-test.inc: Added more nearbyint tests.
69967         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69968         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69969         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69970         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69972 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69974         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69975         FD_CLOEXEC.
69977 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69979         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69980         Add wcscpy-ssse3 wcscpy-c.
69981         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69982         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69983         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69984         * sysdeps/x86_64/wcschr.S: New file.
69985         * sysdeps/x86_64/wcsrchr.S: New file.
69986         * string/test-strcmp.c: Remove checking of wcscmp function for
69987         wrong alignments.
69988         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69989         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69990         wcsrchr-sse2 wcsrchr-c.
69991         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69992         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69993         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69994         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69995         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69996         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69997         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69998         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69999         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70000         * wcsmbc/wcschr.c (WCSCHR): New macro.
70002 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70004         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70005         * wcsmbs/test-wcsrchr.c: New file.
70006         * string/test-strrchr.c: Add wcsrchr support.
70007         (WIDE): New macro.
70008         * wcsmbs/test-wcscpy.c: New file.
70009         * string/test-strcpy.c: Add wcscpy support.
70010         (WIDE): New macro.
70012 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70014         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70015         the inner loop.
70017 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70019         [BZ #13472]
70020         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70022 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70024         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70025         Minor optimizations.
70027         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70028         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70029         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70031 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70033         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70034         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70035         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70036         for gcc to avoid warnings.
70037         * inet/Makefile (tests): Add tst-checks.
70038         * inet/tst-checks.c: New file.
70040         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70041         warning.
70043         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70044         __wmemcmp_sse2.
70046         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70047         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70049         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70051 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70053         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70054         problem.
70056         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70058 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70060         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70061         conditional on GCC version.
70062         (__arch_compare_and_exchange_val_8_acq)
70063         (__arch_compare_and_exchange_val_16_acq)
70064         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70065         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70066         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70068 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70070         * sysdeps/sh/backtrace.c: New file.
70072 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70074         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70075         parenthesis.
70077 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70079         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70080         falling back to utime.
70082 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70084         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70085         expectations for float.
70087 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70089         * locale/weight.h (findidx): Add parameter len.
70090         * locale/weightwc.h (findidx): Likewise.
70091         * posix/fnmatch_loop.c (FCT): Adjust caller.
70092         * posix/regcomp.c (build_equiv_class): Likewise.
70093         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70094         * posix/regexec.c (check_node_accept_bytes): Likewise.
70095         * string/strcoll_l.c (STRCOLL): Likewise.
70096         * string/strxfrm_l.c (STRXFRM): Likewise.
70098 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70100         * Makefile.in: Remove CVSOPT handling.
70101         * configure.in: Remove use of AC_REVISION.
70102         * iconvdata/Makefile (distribute): No need to filter out CVS.
70103         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70104         handling.
70106 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70108         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70109         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70110         [USE_AS_STRNCASECMP_L]: Likewise.
70111         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70112         NO_TLS_DIRECT_SEG_REFS.
70113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70114         Fix argument offsets for non-PIC.
70115         [USE_AS_STRNCASECMP_L]: Likewise.
70116         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70117         NO_TLS_DIRECT_SEG_REFS.
70119 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70121         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70122         O_CLOEXEC.
70123         * locale/loadlocale.c (_nl_load_locale): Likewise.
70125 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70127         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70128         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70129         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70130         (SYSCALL_GETTIME): Set errno on error.
70132         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70133         count references to noai6ai_cached.
70135 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70137         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70139         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70140         FD_CLOEXEC for /proc/self/maps.
70142         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70143         FD_CLOEXEC for /proc/meminfo.
70145         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70146         gai.conf.
70148         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70149         FD_CLOEXEC for given file.
70151         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70153         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70154         FD_CLOEXEC for /etc/hosts.
70155         (_gethtent): Likewise.
70157         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70159         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70160         cancellation and set FD_CLOEXEC for /etc/netgroup.
70162         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70163         reading /etc/publickey.
70165         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70166         allow cancellation when reading /etc/group.
70168         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70169         cancellation.
70170         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70172         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70173         when using data file.
70175         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70177         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70178         (write_nis_obj): Use "c" and "e" in fopen.
70180         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70182         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70184         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70186         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70188         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70189         locale.alias.
70191         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70193         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70195         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70197         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70198         file parsing and set FD_CLOEXEC.
70200 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70202         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70204 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70206         * malloc/arena.c (arena_get2): Don't call reused_arena when
70207         _int_new_arena failed.
70209 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70211         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70212         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70214         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70215         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70217         to compile strcasecmp and strncasecmp.
70218         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70219         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70221         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70223 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70225         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70226         locale-defines.sym to gen-as-const-headers.
70227         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70228         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70230         to compile strcasecmp and strncasecmp.
70231         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70232         strcasecmp_l and strncasecmp_l.
70233         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70234         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70235         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70236         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70237         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70239         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70240         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70241         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70242         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70243         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70245 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70247         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70248         result of SYSDEP_GETTIME_CPU to retval.
70249         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70250         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70252         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70253         variable.
70255         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70256         mantissa words.
70257         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70259         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70260         from unused variable.
70262         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70263         DWARF definitions.
70264         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70265         for assembling.
70267         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70268         over namespaces.
70270         * sunrpc/rpc_prot.c (rejected): Fix case value.
70272         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70273         unsigned long long int to avoid warnings in shift.
70275         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70276         of use of trans.
70277         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70278         variable tmp.
70280         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70281         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70282         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70284         * nis/nis_table.c (nis_list): Use variable of correct type for
70285         result of __follow_path call.
70287 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70289         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70290         of math functions ceil, trunc, floor, round, and sqrt, when
70291         avaliable on the platform.
70292         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70293         name clash.
70294         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70295         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70296         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70298 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70300         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70301         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70303 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70305         * include/unistd.h: Fix __readlink return type.
70306         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70308 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70310         * stdlib/ucontext.h: Undo last change for makecontext.
70312 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70314         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70316         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70317         * setjmp/setjmp.h: Mark functions as non-leaf.
70318         * setjmp/bits/setjmp2.h: Likewise.
70319         * stdlib/ucontext.h: Likewise.
70321 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70323         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70324         (reused_arena): Don't check arena limit.
70325         (arena_get2): Atomically check arena limit.
70327 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70329         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70330         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70332         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70333         instructions.
70335 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70337         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70338         handler when locking.
70340         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70341         Fix size of allocated buffer.
70343 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70345         [BZ #10103]
70346         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70347         declarations for long double functions.
70348         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70350         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70352 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70354         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70355         installed.
70357         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70358         is disabled.
70360 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70362         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70364 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70366         * include/alloca.h (stackinfo_alloca_round): Define.
70367         (extend_alloca): Use it.
70368         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70369         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70370         here.
70372         * scripts/check-local-headers.sh: Ignore libaudit.h.
70374         * nscd/Makefile (extra-objs): Make recursively expanded.
70376 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70378         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70379         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70381         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70382         * posix/tst-rfc3484-2.c: Likewise.
70383         * posix/tst-rfc3484-3.c: Likewise.
70385         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70386         process_vm_writev.
70387         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70388         process_vm_writev.
70389         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70390         process_vm_writev from libc using GLIBC_2.15 version.
70392         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70394 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70396         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70397         stack usage.
70399 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70401         [BZ #13367]
70402         * nss/getent.c (initgroups_keys): Show error message in case no group
70403         names are given.
70405         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70406         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70407         __bump_nl_timestamp.
70408         * nscd/connections (nscd_init): When host database is served open
70409         netlink socket and request notification about configuration changes.
70410         (main_loop_poll): Track netlink file descriptor and bump timestamp
70411         in case data becomes available.
70412         (main_loop_epoll): Likewise.
70413         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70414         (database_pers_head): Add extra_data fileds.
70415         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70416         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70417         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70418         Adjust caller.
70419         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70420         in6ai data, call __free_in6ai.
70421         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70422         Add -DHAVE_NETLINK.
70423         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70424         interface information.  Reuse previous data if netlink timestamp
70425         is not changed.
70426         (__bump_nl_timestamp): New function.
70427         (__free_in6ai): New function.
70429 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70431         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70432         close_not_cancel_no_status here.
70433         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70435 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70437         [BZ #13276]
70438         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70439         return value.
70441         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70442         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70443         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70445 2011-07-03  Andreas Jaeger  <aj@suse.de>
70447         [BZ #10709]
70448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70449         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70450         * math/libm-test.inc (sin_test): Add test case.
70452 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70454         [BZ #13337]
70455         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70456         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70458         * elf/chroot_canon.c (chroot_canon): Cleanups.
70460         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70462         [BZ #13335]
70463         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70464         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70466         * string/test-strchr.c: Make usable for strchrnul testing.
70467         * string/test-strchrnul.c: New file.
70468         * string/Makefile (strop-tests): Add strchrnul.
70470         * po/it.po: Update from translation team.
70471         * po/es.po: Likewise.
70473 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70475         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70476         the three constants needed as parameters.  Drop the others.
70477         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70478         __m128i_strloadu_tolower.
70479         Create and initialize variable zero and use it in all the places
70480         where _mm_setzero_si128 was used.
70482         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70483         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70484         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70485         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70486         anymore.
70487         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70488         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70489         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70490         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70491         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70492         __mpranred, __mptan.
70493         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70494         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70495         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70496         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70497         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70498         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70499         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70500         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70501         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70503 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70505         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70506         redefine if SHARED.
70507         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70509         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70510         wide char related routines to wcsmbs subdir.
70512 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70514         [BZ #13344]
70515         * misc/sys/cdefs.h (__THROWNL): Define.
70516         * posix/unistd.h: Use __THREADNL instead of __THREAD
70517         for memory synchronization functions.
70519 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70521         [BZ #13349]
70522         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70523         doesn't exist.
70524         * manual/stdio.texi (Obstack Streams): Node removed.
70526 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70528         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70529         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70530         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70532         * math/math_private.h (math_force_eval): Allow non-addressable
70533         arguments.
70534         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70536 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70538         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70539         file is not needed.
70541         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70542         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70543         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70544         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70545         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70546         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70547         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70548         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70549         Add AVX variants.
70550         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70551         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70552         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70553         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70554         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70555         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70556         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70557         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70558         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70559         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70560         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70561         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70562         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70563         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70564         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70565         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70566         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70567         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70568         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70570         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70571         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70574         place.  Use VEX encoding when compiling for AVX.
70576 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70578         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70579         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70581         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70583 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70585         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70586         useless if() expression.
70587         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70597         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70598         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70599         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70600         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70601         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70602         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70603         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70605         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70607         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70609 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70611         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70612         condition.
70613         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70615 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70617         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70618         .text section.  Avoid duplicate constants.
70619         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70629         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70630         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70631         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70632         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70633         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70635         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70636         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70642         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70643         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70644         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70645         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70646         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70647         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70648         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70649         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70650         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70651         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70652         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70653         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70654         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70655         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70657         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70658         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70659         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70660         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70661         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70662         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70663         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70665 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70667         * sysdeps/x86_64/dla.h: Move to ...
70668         * sysdeps/x86_64/fpu/dla.h: ...here.
70669         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70670         situations.  Use __builtin_fma only for gcc 4.6 and up.
70672         * config.make.in: Add have-mfma4 entry.
70673         * configure.in: Substitute libc_cv_cc_fma4.
70674         * math/Makefile (dbl-only-routines): Add sincostab.
70675         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70676         Use __sincostab not sincos.
70677         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70678         name is a macro.
70679         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70680         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70681         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70683         using __copysign.
70684         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70685         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70686         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70687         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70688         and __inv.
70689         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70690         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70691         __copysign.
70692         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70693         define aliases when function name is a macro.
70694         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70695         sysdeps/ieee754/dbl-64/sincos.tbl.
70696         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70697         fma4-enabled routines.
70698         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70699         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70700         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70701         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70702         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70703         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70704         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70705         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70707         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70708         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70709         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70710         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70711         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70713         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70714         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70715         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70716         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70717         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70718         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70719         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70720         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70721         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70723         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70724         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70725         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70726         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70727         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70729         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70730         rename.
70731         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70740 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70742         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70744 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70746         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70748         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70749         prediction.
70750         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70752         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70753         Remove unused variable magic_bits.
70754         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70756         * string/strnlen.c: Define and use STRNLEN macro.
70757         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70758         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70759         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70760         * wcsmbs/wcslen.c: Define and use WCSLEN.
70761         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70762         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70763         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70764         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70765         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70766         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70767         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70769 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70771         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70772         strnlen-sse2-no-bsf.
70773         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70774         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70775         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70776         Add strnlen support.
70777         (USE_AS_STRNLEN): New macro.
70778         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70779         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70780         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70781         * sysdeps/x86_64/wcslen.S: New file.
70783 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70785         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70786         XMM-moves are used for copying on small sizes.
70788 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70790         * wcsmbs/Makefile (strop-tests): Add wcschr.
70791         * wcsmbs/test-wcschr.c: New file.
70792         * string/test-strchr.c: Update.
70793         Add wcschr support.
70794         (WIDE): New macro.
70796 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70798         * wcsmbs/Makefile (strop-tests): Add wcslen.
70799         * wcsmbs/test-wcslen.c: New file.
70800         * string/test-strlen.c: Update.
70801         Add wcslen support.
70802         (WIDE): New macro.
70804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70806         * po/it.po: Update from translation team.
70808 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70810         * sysdeps/x86_64/wcscmp.S: Update.
70811         Fix wrong comparison semantics.
70812         wcscmp shall use signed comparison not unsigned.
70813         Don't use substraction to avoid overflow bug.
70814         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70815         * wcsmbc/wcscmp.c: Likewise.
70816         * string/test-strcmp.c: Likewise.
70817         Add new tests to check cases with negative values.
70819 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70821         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70822         * sysdeps/x86_64/dla.h: ...here.  New file.
70823         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70824         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70825         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70828         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70830         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70831         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70833 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70835         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70836         __ynl_finite aliases.
70838 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70840         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70842         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70843         define DLA_FMA.
70844         [DLA_FMA] (EMULV): Use DLA_FMA.
70845         [DLA_FMA] (MUL12): Use EMULV.
70846         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70847         that are not needed.
70848         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70850         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70853         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70856 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70858         * math/s_nan.c: Undef __nan.
70859         * math/s_nanf.c: Undef __nanf.
70860         * math/s_nanl.c: Undef __nanl.
70861         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70862         "math_private.h".
70864 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70866         * math/s_catan.c: Add branch predictions.
70867         * math/s_catanf.c: Likewise.
70868         * math/s_catanh.c: Likewise.
70869         * math/s_catanhf.c: Likewise.
70870         * math/s_catanhl.c: Likewise.
70871         * math/s_catanl.c: Likewise.
70872         * math/s_cexp.c: Likewise.
70873         * math/s_cexpf.c: Likewise.
70874         * math/s_cexpl.c: Likewise.
70875         * math/s_clog.c: Likewise.
70876         * math/s_clog10.c: Likewise.
70877         * math/s_clog10f.c: Likewise.
70878         * math/s_clog10l.c: Likewise.
70879         * math/s_clogf.c: Likewise.
70880         * math/s_clogl.c: Likewise.
70881         * math/s_csqrt.c: Likewise.
70882         * math/s_csqrtf.c: Likewise.
70883         * math/s_csqrtl.c: Likewise.
70884         * math/s_ctanf.c: Likewise.
70885         * math/s_ctanh.c: Likewise.
70886         * math/s_ctanhf.c: Likewise.
70887         * math/s_ctanhl.c: Likewise.
70888         * math/s_ctanl.c: Likewise.
70890         * math/math_private.h: Define __nan, __nanf, __nanl.
70891         * math/s_cacosh.c: Include <math_private.h>.
70892         * math/s_cacoshl.c: Likewise.
70893         * math/s_casinh.c: Likewise.
70894         * math/s_casinhf.c: Likewise.
70895         * math/s_casinhl.c: Likewise.
70896         * math/s_ccos.c: Rely entire on ccosh.
70897         * math/s_ccosf.c: Rely entire on ccoshf.
70898         * math/s_ccosl.c: Rely entirely on ccoshl.
70899         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70900         Remove tests for FE_INVALID.
70901         * math/s_ccoshf.c: Likewise.
70902         * math/s_ccoshl.c: Likewise.
70903         * math/s_csin.c: Likewise.
70904         * math/s_csinf.c: Likewise.
70905         * math/s_csinh.c Likewise.
70906         * math/s_csinhf.c: Likewise.
70907         * math/s_csinhl.c: Likewise.
70908         * math/s_csinl.c: Likewise.
70909         * math/s_ctan.c: Likewise.
70910         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70911         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70912         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70914 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70917         compilation problems.
70919         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70920         __builtin_expect.
70922 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70924         * sysdeps/i386/configure.in: Test for -mfma4 option.
70925         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70926         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70927         COMMON_CPUID_INDEX_80000001.
70928         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70929         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70930         use it if FMA3 is not supported.
70931         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70933         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70934         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70936 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70938         [BZ #12892]
70939         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70940         it would create a cycle with a link time dependency.
70942 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70944         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70945         instruction.
70946         * string/Makefile (strop-tests): Add rawmemchr.
70947         * string/test-rawmemchr.c: New file.
70949         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70950         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70951         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70952         when compiling str{,n}casecmp and when AVX is available.  Hook up
70953         new optimized code in initializers.
70955 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70957         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70958         __feraiseexcept instead of feraiseexcept.
70960 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70962         * math/math_private.h: Define defaults for libc_fetestexcept and
70963         libc_feupdateenv.
70964         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70965         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70966         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70967         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70968         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70969         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70970         libc_fetestexcept and libc_feupdateenv.
70972         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70973         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70974         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70975         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70976         libc_feholdexcept_setround.
70978         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70979         Add s_nearbyint-c and s_nearbyintf-c.
70980         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70981         nearbyintf inlines.
70982         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70983         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70984         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70985         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70987         * math/math_private.h: Define defaults for libc_fegetround,
70988         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70989         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70990         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70991         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70992         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70993         standard functions.
70994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70995         Remove comments and hacks for old compiler versions.
70996         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70997         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70998         libc_feholdexceptl.
71000 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71002         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71003         (__feraiseexcept_renamed): Add __NTH.
71004         (feraiseexcept): Add __NTH.  Rename local variables to fix
71005         namespace violations.
71007 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71009         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71011         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71013         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71014         recently added interfaces.
71015         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71017         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71018         about macro parameter expansion.
71020         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71021         __NO_MATH_INLINES is defined.  Cleanups.
71023         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71024         and __floorf is target has SSE4.1.
71025         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71026         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71027         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71028         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71030         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71031         name.
71032         (floorf): Likewise.
71034         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71036 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71038         * misc/sys/cdefs.h: Fix last change.
71040         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71041         database lookup.
71043 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71045         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71047         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71048         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71049         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71050         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71051         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71052         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71053         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71054         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71055         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71056         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71057         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71058         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71059         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71060         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71061         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71062         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71063         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71064         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71065         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71066         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71067         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71068         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71070         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71071         ceil, ceilf, floor, floorf.
71073         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71074         Perform IRELATIVE relocations last.
71076         * elf/do-rel.h: Add another parameter nrelative, replacing the
71077         local variable with the same name.  Change name of the function
71078         to end in Rel or Rela (uppercase).
71079         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71080         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71081         elf_dynamic_do_##reloc function.
71083 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71085         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71086         is sufficient, at least on modern CPUs.
71088         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71090         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71091         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71093         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71094         __expl_finite.
71095         * math/bits/math-finite.h: Add entries for exp.
71096         * math/e_expl.c: Add __*_finite alias.
71097         * sysdeps/i386/fpu/e_exp.S: Likewise.
71098         * sysdeps/i386/fpu/e_expf.S: Likewise.
71099         * sysdeps/i386/fpu/e_expl.c: Likewise.
71100         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71101         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71102         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71103         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71104         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71105         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71106         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71108         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71109         is sufficient, at least on modern CPUs.
71111         * ctype/ctype-info.c (__ctype_init): Define.
71112         * include/ctype.h (__ctype_init): Declare.
71113         (__ctype_b_loc): The variable is always initialized.
71114         (__ctype_toupper_loc): Likewise.
71115         (__ctype_tolower_loc): Likewise.
71116         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71117         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71119 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71121         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71123         * configure.in: Also look in $cxxmachine/include for C++ system
71124         headers.
71126 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71128         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71129         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71130         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71131         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71132         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71133         (USE_AS_WMEMCMP): New macro.
71134         Fixing indents.
71135         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71136         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71137         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71138         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71140         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71141         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71142         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71143         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71144         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71146         (USE_AS_WMEMCMP): New macro.
71147         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71148         * sysdeps/string/test-memcmp.c: Update.
71149         Fix simple_wmemcmp.
71150         Add new tests.
71151         * wcsmbs/wmemcmp.c: Update.
71152         (WMEMCMP): New macro.
71153         Fix overflow bug.
71155 2011-10-12  Andreas Jaeger  <aj@suse.de>
71157         [BZ #13268]
71158         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71160 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71162         * libio/iofwide.c (do_length): Avoid warning.
71164         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71166 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71168         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71170         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71171         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71172         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71173         * sysdeps/i386/i686/fpu/e_log.S: New file.
71174         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71175         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71177         * ctype/ctype.h: Add support for inlined isXXX functions when
71178         compiling C++ code.
71180 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71182         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71184         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71186 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71188         [BZ #13291]
71189         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71191 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71193         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71194         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71195         feraiseexcept.
71197         * sysdeps/x86_64/memrchr.S: Check for zero size.
71199         * string/stratcliff.c: Add memrchr tests.
71201 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71204         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71205         rawmemchr-sse2 rawmemchr-sse2-bsf.
71206         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71207         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71208         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71209         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71210         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71211         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71212         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71213         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71214         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71215         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71216         * string/memrchr.c (MEMRCHR): New macro.
71218 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71220         Add integration with gcc's -ffinite-math-only and optimize wrapper
71221         functions in libm.
71222         * Versions.def: Define GLIBC_2.15 version for libm.
71223         * math/Makefile (headers): Add bits/math-finite.h.
71224         * math/bits/math-finite.h: New file.
71225         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71226         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71227         * math/e_acoshl.c: Add __*_finite alias.
71228         * math/e_acosl.c: Likewise.
71229         * math/e_asinl.c: Likewise.
71230         * math/e_atan2l.c: Likewise.
71231         * math/e_atanhl.c: Likewise.
71232         * math/e_coshl.c: Likewise.
71233         * math/e_exp10.c: Likewise.
71234         * math/e_exp10f.c: Likewise.
71235         * math/e_exp10l.c: Likewise.
71236         * math/e_exp2l.c: Likewise.
71237         * math/e_fmodl.c: Likewise.
71238         * math/e_gammal_r.c: Likewise.
71239         * math/e_hypotl.c: Likewise.
71240         * math/e_j0l.c: Likewise.
71241         * math/e_j1l.c: Likewise.
71242         * math/e_jnl.c: Likewise.
71243         * math/e_lgammal_r.c: Likewise.
71244         * math/e_log10l.c: Likewise.
71245         * math/e_log2l.c: Likewise.
71246         * math/e_logl.c: Likewise.
71247         * math/e_powl.c: Likewise.
71248         * math/e_sinhl.c: Likewise.
71249         * math/e_sqrtl.c: Likewise.
71250         * math/e_scalb.c: Completely rewritten and optimized.
71251         * math/e_scalbf.c: Likewise.
71252         * math/e_scalbl.c: Likewise.
71253         * math/w_acos.c: Likewise.
71254         * math/w_acosf.c: Likewise.
71255         * math/w_acosl.c: Likewise.
71256         * math/w_acosh.c: Likewise.
71257         * math/w_acoshf.c: Likewise.
71258         * math/w_acoshl.c: Likewise.
71259         * math/w_asin.c: Likewise.
71260         * math/w_asinf.c: Likewise.
71261         * math/w_asinl.c: Likewise.
71262         * math/w_atan2.c: Likewise.
71263         * math/w_atan2f.c: Likewise.
71264         * math/w_atan2l.c: Likewise.
71265         * math/w_atanh.c: Likewise.
71266         * math/w_atanhf.c: Likewise.
71267         * math/w_atanhl.c: Likewise.
71268         * math/w_exp10.c: Likewise.
71269         * math/w_exp10f.c: Likewise.
71270         * math/w_exp10l.c: Likewise.
71271         * math/w_fmod.c: Likewise.
71272         * math/w_fmodf.c: Likewise.
71273         * math/w_fmodl.c: Likewise.
71274         * math/w_j0.c: Likewise.
71275         * math/w_j0f.c: Likewise.
71276         * math/w_j0l.c: Likewise.
71277         * math/w_j1.c: Likewise.
71278         * math/w_j1f.c: Likewise.
71279         * math/w_j1l.c: Likewise.
71280         * math/w_jn.c: Likewise.
71281         * math/w_jnf.c: Likewise.
71282         * math/w_log.c: Likewise.
71283         * math/w_logf.c: Likewise.
71284         * math/w_logl.c: Likewise.
71285         * math/w_log10.c: Likewise.
71286         * math/w_log10f.c: Likewise.
71287         * math/w_log10l.c: Likewise.
71288         * math/w_log2.c: Likewise.
71289         * math/w_log2f.c: Likewise.
71290         * math/w_log2l.c: Likewise.
71291         * math/w_pow.c: Likewise.
71292         * math/w_powf.c: Likewise.
71293         * math/w_powl.c: Likewise.
71294         * math/w_remainder.c: Likewise.
71295         * math/w_remainderf.c: Likewise.
71296         * math/w_remainderl.c: Likewise.
71297         * math/w_scalb.c: Likewise.
71298         * math/w_scalbf.c: Likewise.
71299         * math/w_scalbl.c: Likewise.
71300         * math/w_sqrt.c: Likewise.
71301         * math/w_sqrtf.c: Likewise.
71302         * math/w_sqrtl.c: Likewise.
71303         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71304         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71305         used.
71306         * math/math_private.h: Declare __kernel_standard_f.
71307         * math/w_cosh.c: Remove cruft and optimize a bit.
71308         * math/w_coshf.c: Likewise.
71309         * math/w_coshl.c: Likewise.
71310         * math/w_exp2.c: Likewise.
71311         * math/w_exp2f.c: Likewise.
71312         * math/w_exp2l.c: Likewise.
71313         * math/w_hypot.c: Likewise.
71314         * math/w_hypotf.c: Likewise.
71315         * math/w_hypotl.c: Likewise.
71316         * math/w_lgamma.c: Likewise.
71317         * math/w_lgamma_r.c: Likewise.
71318         * math/w_lgammaf.c: Likewise.
71319         * math/w_lgammaf_r.c: Likewise.
71320         * math/w_lgammal.c: Likewise.
71321         * math/w_lgammal_r.c: Likewise.
71322         * math/w_sinh.c: Likewise.
71323         * math/w_sinhf.c: Likewise.
71324         * math/w_sinhl.c: Likewise.
71325         * math/w_tgamma.c: Likewise.
71326         * math/w_tgammaf.c: Likewise.
71327         * math/w_tgammal.c: Likewise.
71328         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71330         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71331         Minor optimizations.  Pretty printing.  Remove cruft.
71332         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71333         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71334         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71335         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71336         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71337         * sysdeps/i386/fpu/e_asin.S: Likewise.
71338         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71339         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71340         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71341         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71342         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71343         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71344         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71345         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71346         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71347         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71348         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71349         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71350         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71351         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71352         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71353         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71354         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71355         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71356         * sysdeps/i386/fpu/e_log.S: Likewise.
71357         * sysdeps/i386/fpu/e_log10.S: Likewise.
71358         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71359         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71360         * sysdeps/i386/fpu/e_log2.S: Likewise.
71361         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71362         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71363         * sysdeps/i386/fpu/e_logf.S: Likewise.
71364         * sysdeps/i386/fpu/e_logl.S: Likewise.
71365         * sysdeps/i386/fpu/e_pow.S: Likewise.
71366         * sysdeps/i386/fpu/e_powf.S: Likewise.
71367         * sysdeps/i386/fpu/e_powl.S: Likewise.
71368         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71369         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71370         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71371         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71372         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71373         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71374         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71375         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71376         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71378         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71381         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71388         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71389         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71390         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71391         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71393         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71394         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71395         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71397         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71398         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71399         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71400         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71401         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71402         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71403         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71404         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71405         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71406         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71407         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71408         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71409         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71410         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71411         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71412         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71413         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71414         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71415         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71416         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71417         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71418         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71419         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71420         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71421         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71422         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71423         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71424         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71425         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71426         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71427         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71428         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71429         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71430         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71431         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71432         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71433         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71434         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71435         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71436         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71437         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71439         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71440         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71441         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71442         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71443         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71444         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71445         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71446         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71447         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71448         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71451         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71452         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71453         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71454         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71455         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71456         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71457         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71458         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71459         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71460         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71461         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71462         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71463         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71464         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71465         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71466         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71467         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71468         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71469         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71470         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71471         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71472         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71473         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71474         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71475         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71476         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71477         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71478         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71479         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71480         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71481         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71482         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71483         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71484         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71485         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71486         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71487         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71488         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71489         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71490         (__isnanf): Likewise.
71491         (__isinf_ns): Likewise.
71492         (__isinf_nsf): Likewise.
71493         (__finite): Likewise.
71494         (__finitef): Likewise.
71495         (__ieee754_sqrt): Define as macro.
71496         (__ieee754_sqrtf): Define as macro.
71497         (__ieee754_sqrtl): Define as macro.
71498         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71499         inlined copy.
71500         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71501         __FINITE_MATH_ONLY__ consistent.
71502         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71504 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71506         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71507         of rawmemchr.
71509         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71511 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71513         * po/ja.po: Update from translation team.
71515 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71517         * locale/programs/locarchive.c (prepare_address_space): New function.
71518         (create_archive, enlarge_archive, open_archive): Use it.
71520         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71521         inside [SHARED], where it is used.
71523         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71525         * nss/getent.c (netgroup_keys): Remove unused variable.
71526         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71528 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71530         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71531         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71532         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71533         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71534         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71535         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71536         * math/Makefile (libm-calls): Add s_isinf_ns.
71537         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71538         * math/multc3.c: Likewise.
71539         * math/s_casin.c: Likewise.
71540         * math/s_casinf.c: Likewise.
71541         * math/s_casinl.c: Likewise.
71542         * math/s_ccos.c: Likewise.
71543         * math/s_ccosf.c: Likewise.
71544         * math/s_ccosl.c: Likewise.
71545         * math/s_ctan.c: Likewise.
71546         * math/s_ctanf.c: Likewise.
71547         * math/s_ctanh.c: Likewise.
71548         * math/s_ctanhf.c: Likewise.
71549         * math/s_ctanhl.c: Likewise.
71550         * math/s_ctanl.c: Likewise.
71551         * math/w_fmod.c: Likewise.
71552         * math/w_fmodf.c: Likewise.
71553         * math/w_fmodl.c: Likewise.
71554         * math/w_remainder.c: Likewise.
71555         * math/w_remainderf.c: Likewise.
71556         * math/w_remainderl.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71558         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71559         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71560         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71561         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71562         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71563         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71564         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71566         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71567         of the number.
71568         * stdio-common/printf_fphex.c: Likewise.
71569         * stdio-common/printf_size.c: Likewise.
71571         * math/e_exp10.c: Include math_private.h using <...> not "...".
71572         * math/e_exp10f.c: Likewise.
71573         * math/e_exp10l.c: Likewise.
71574         * math/e_exp2l.c: Likewise.
71575         * math/e_j0l.c: Likewise.
71576         * math/e_j1l.c: Likewise.
71577         * math/e_jnl.c: Likewise.
71578         * math/e_lgammal_r.c: Likewise.
71579         * math/e_rem_pio2l.c: Likewise.
71580         * math/e_scalb.c: Likewise.
71581         * math/e_scalbf.c: Likewise.
71582         * math/e_scalbl.c: Likewise.
71583         * math/k_cosl.c: Likewise.
71584         * math/k_sinl.c: Likewise.
71585         * math/k_tanl.c: Likewise.
71586         * math/s_cacoshf.c: Likewise.
71587         * math/s_catan.c: Likewise.
71588         * math/s_catanf.c: Likewise.
71589         * math/s_catanh.c: Likewise.
71590         * math/s_catanhf.c: Likewise.
71591         * math/s_catanhl.c: Likewise.
71592         * math/s_catanl.c: Likewise.
71593         * math/s_ccosh.c: Likewise.
71594         * math/s_ccoshf.c: Likewise.
71595         * math/s_ccoshl.c: Likewise.
71596         * math/s_cexp.c: Likewise.
71597         * math/s_cexpf.c: Likewise.
71598         * math/s_cexpl.c: Likewise.
71599         * math/s_clog.c: Likewise.
71600         * math/s_clog10.c: Likewise.
71601         * math/s_clog10f.c: Likewise.
71602         * math/s_clog10l.c: Likewise.
71603         * math/s_clogf.c: Likewise.
71604         * math/s_clogl.c: Likewise.
71605         * math/s_csin.c: Likewise.
71606         * math/s_csinf.c: Likewise.
71607         * math/s_csinh.c: Likewise.
71608         * math/s_csinhf.c: Likewise.
71609         * math/s_csinhl.c: Likewise.
71610         * math/s_csinl.c: Likewise.
71611         * math/s_csqrt.c: Likewise.
71612         * math/s_csqrtf.c: Likewise.
71613         * math/s_csqrtl.c: Likewise.
71614         * math/s_ctan.c: Likewise.
71615         * math/s_ctanf.c: Likewise.
71616         * math/s_ctanh.c: Likewise.
71617         * math/s_ctanhf.c: Likewise.
71618         * math/s_ctanhl.c: Likewise.
71619         * math/s_ctanl.c: Likewise.
71620         * math/s_ldexp.c: Likewise.
71621         * math/s_ldexpf.c: Likewise.
71622         * math/s_ldexpl.c: Likewise.
71623         * math/s_significand.c: Likewise.
71624         * math/s_significandf.c: Likewise.
71625         * math/s_significandl.c: Likewise.
71626         * math/w_acos.c: Likewise.
71627         * math/w_acosf.c: Likewise.
71628         * math/w_acosh.c: Likewise.
71629         * math/w_acoshf.c: Likewise.
71630         * math/w_acoshl.c: Likewise.
71631         * math/w_acosl.c: Likewise.
71632         * math/w_asin.c: Likewise.
71633         * math/w_asinf.c: Likewise.
71634         * math/w_asinl.c: Likewise.
71635         * math/w_atan2.c: Likewise.
71636         * math/w_atan2f.c: Likewise.
71637         * math/w_atan2l.c: Likewise.
71638         * math/w_atanh.c: Likewise.
71639         * math/w_atanhf.c: Likewise.
71640         * math/w_atanhl.c: Likewise.
71641         * math/w_cosh.c: Likewise.
71642         * math/w_coshf.c: Likewise.
71643         * math/w_coshl.c: Likewise.
71644         * math/w_dremf.c: Likewise.
71645         * math/w_exp10.c: Likewise.
71646         * math/w_exp10f.c: Likewise.
71647         * math/w_exp10l.c: Likewise.
71648         * math/w_exp2.c: Likewise.
71649         * math/w_exp2f.c: Likewise.
71650         * math/w_fmod.c: Likewise.
71651         * math/w_fmodf.c: Likewise.
71652         * math/w_fmodl.c: Likewise.
71653         * math/w_hypot.c: Likewise.
71654         * math/w_hypotf.c: Likewise.
71655         * math/w_hypotl.c: Likewise.
71656         * math/w_j0.c: Likewise.
71657         * math/w_j0f.c: Likewise.
71658         * math/w_j0l.c: Likewise.
71659         * math/w_j1.c: Likewise.
71660         * math/w_j1f.c: Likewise.
71661         * math/w_j1l.c: Likewise.
71662         * math/w_jn.c: Likewise.
71663         * math/w_jnf.c: Likewise.
71664         * math/w_jnl.c: Likewise.
71665         * math/w_lgamma.c: Likewise.
71666         * math/w_lgamma_r.c: Likewise.
71667         * math/w_lgammaf.c: Likewise.
71668         * math/w_lgammaf_r.c: Likewise.
71669         * math/w_lgammal.c: Likewise.
71670         * math/w_lgammal_r.c: Likewise.
71671         * math/w_log.c: Likewise.
71672         * math/w_log10.c: Likewise.
71673         * math/w_log10f.c: Likewise.
71674         * math/w_log10l.c: Likewise.
71675         * math/w_log2.c: Likewise.
71676         * math/w_log2f.c: Likewise.
71677         * math/w_log2l.c: Likewise.
71678         * math/w_logf.c: Likewise.
71679         * math/w_logl.c: Likewise.
71680         * math/w_pow.c: Likewise.
71681         * math/w_powf.c: Likewise.
71682         * math/w_powl.c: Likewise.
71683         * math/w_remainder.c: Likewise.
71684         * math/w_remainderf.c: Likewise.
71685         * math/w_remainderl.c: Likewise.
71686         * math/w_scalb.c: Likewise.
71687         * math/w_scalbf.c: Likewise.
71688         * math/w_scalbl.c: Likewise.
71689         * math/w_sinh.c: Likewise.
71690         * math/w_sinhf.c: Likewise.
71691         * math/w_sinhl.c: Likewise.
71692         * math/w_sqrt.c: Likewise.
71693         * math/w_sqrtf.c: Likewise.
71694         * math/w_sqrtl.c: Likewise.
71695         * math/w_tgamma.c: Likewise.
71696         * math/w_tgammaf.c: Likewise.
71697         * math/w_tgammal.c: Likewise.
71699         * po/ja.po: Update from translation team.
71701 2011-09-29  Andreas Jaeger  <aj@suse.de>
71703         [BZ #13179]
71704         * sunrpc/netname.c (netname2host): Fix logic.
71706         [BZ #6779]
71707         [BZ #6783]
71708         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71709         correctly.
71710         * math/w_remainder.c (__remainder): Likewise.
71711         * math/w_remainderf.c (__remainderf): Likewise.
71712         * math/libm-test.inc (remainder_test): Add test cases.
71714 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71716         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71717         sdiv_qrnnd.
71719 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71721         * string/test-memcmp.c: Avoid unncessary #defines.
71722         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71724 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71726         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71727         Use new sse2 version for core i3 - i7 as it's faster
71728         than sse42 version.
71729         (bit_Prefer_PMINUB_for_stringop): New.
71730         * sysdeps/x86_64/rawmemchr.S: Update.
71731         Replace with faster SSE2 version.
71732         * sysdeps/x86_64/memrchr.S: New file.
71733         * sysdeps/x86_64/memchr.S: Update.
71734         Replace with faster SSE2 version.
71736 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71738         * elf/dl-load.c (lose): Add cast to avoid warning.
71740 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71742         * po/ca.po: Update from translation team.
71744         * inet/getnetgrent_r.c: Hook up nscd.
71745         * nscd/Makefile (routines): Add nscd_netgroup.
71746         (nscd-modules): Add netgroupcache.
71747         (CFLAGS-netgroupcache.c): Define.
71748         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71749         (cache_search): Add const to second parameter.
71750         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71751         INNETGR.
71752         (dbs): Add netgrdb entry.
71753         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71754         (verify_persistent_db): Handle netgrdb.
71755         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71756         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71757         GETFDNETGR.
71758         (netgroup_response_header): Define.
71759         (innetgroup_response_header): Define.
71760         (datahead): Add netgroup_response_header and innetgroup_response_header
71761         elements.
71762         * nscd/nscd.conf: Add entries for netgroup cache.
71763         * nscd/nscd.h (dbtype): Add netgrdb.
71764         (_PATH_NSCD_NETGROUP_DB): Define.
71765         (netgroup_iov_disabled): Declare.
71766         (xmalloc, xcalloc, xrealloc): Move declarations here.
71767         (cache_search): Adjust prototype.
71768         Add netgroup-related prototypes.
71769         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71770         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71771         (__nscd_innetgr): Declare.
71772         * nscd/selinux.c (perms): Use access_vector_t as element type and
71773         add netgroup-related initializers.
71774         * nscd/netgroupcache.c: New file.
71775         * nscd/nscd_netgroup.c: New file.
71776         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71777         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71778         For four parameters use innetgr.
71779         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71780         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71781         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71782         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71784         * nscd/connections.c (register_traced_file): Don't register file
71785         for disabled databases.
71787 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71789         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71791         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71792         from tree and freeing node.
71794 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71796         * nss/nsswitch.c (__nss_database_lookup): Handle
71797         nss_parse_service_list out of memory case.
71799 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71801         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71802         out of memory case.
71804 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71806         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71807         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71808         pass it down.
71809         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71810         elf_machine_rela, elf_machine_lazy_rel.
71811         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71812         (ELF_DYNAMIC_DO_REL): Likewise.
71813         (ELF_DYNAMIC_DO_RELA): Likewise.
71814         (ELF_DYNAMIC_RELOCATE): Likewise.
71815         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71816         to ELF_DYNAMIC_DO_REL.
71817         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71818         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71819         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71820         elf_machine_rela.
71821         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71822         skip_ifunc, don't call ifunc function if non-zero.
71823         (elf_machine_rela): Likewise.
71824         (elf_machine_lazy_rel): Likewise.
71825         (elf_machine_lazy_rela): Likewise.
71826         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71827         (elf_machine_lazy_rel): Likewise.
71828         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71829         Likewise.
71830         (elf_machine_lazy_rel): Likewise.
71831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71832         Likewise.
71833         (elf_machine_lazy_rel): Likewise.
71834         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71835         (elf_machine_lazy_rel): Likewise.
71836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71837         (elf_machine_lazy_rel): Likewise.
71838         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71839         (elf_machine_lazy_rel): Likewise.
71840         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71841         (elf_machine_lazy_rel): Likewise.
71842         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71843         (elf_machine_lazy_rel): Likewise.
71844         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71845         (elf_machine_lazy_rel): Likewise.
71847 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71849         * nss/nss_files/files-init.c (_nss_files_init): Use static
71850         initialization for all the *_traced_file variables.
71852 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71854         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71856 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71858         [BZ #13226]
71859         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71861 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71863         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71864         Reread the line before reparsing it.
71866 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71868         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71870 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71871             Maxim Kuvyrkov  <maxim@codesourcery.com>
71872             Joseph Myers  <joseph@codesourcery.com>
71874         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71875         if needed for __stack_chk_guard.
71877 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71879         * sysdeps/posix/spawni.c (script_execute): Always define it.
71880         It will be optimized away if unused.
71881         (maybe_script_execute): New function.
71882         (__spawni): Call it.
71884         * Makerules: Don't include tls.make.
71885         (config-tls): Always set to thread.
71886         * tls.make.c: File removed.
71888 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71890         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71891         * config.make.in (CPPFLAGS-config): New substituted variable.
71893 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71895         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71897         [BZ #13192]
71898         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71899         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71901 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71903         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71904         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71906         (CALL_FAIL): Likewise.
71907         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71908         (CALL_FAIL): Macro removed.
71909         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71911 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71913         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71914         for __FINITE_MATH_ONLY__ == 1.
71916 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71918         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71919         __ieee754_sqrt instead of sqrt.
71920         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71921         __ieee754_sqrtf instead of sqrtf.
71922         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71923         __floorf instead of floorf.
71924         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71925         __floorf, __truncf instead of floorf, truncf.
71927 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71929         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71931         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71932         __extern_always_inline.
71933         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71934         32-bit.
71936 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71938         * elf/rtld.c (dl_main): Also relocate in dependency order when
71939         doing symbol dependency testing.
71941 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71944         Always define `refsym'.
71946 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71948         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71949         (__FD_ELT): Renamed from __FDELT.
71950         * misc/bits/select2.h (__FD_ELT): Likewise.
71951         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71952         __FD_MASK instead of __FDELT, __FDMASK.
71953         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71954         Likewise.
71955         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71956         Likewise.
71958         * elf/Makefile (gen-ldd): Fix pattern.
71960         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71961         (init_tls): Likewise.
71963 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71965         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71967 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71969         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71970         `struct cmsghdr *' instead of `void *'.
71971         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71972         Likewise.
71974 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71976         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71977         if non-absolute.
71978         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71979         ldd_rewrite_script.
71981 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71983         * configure.in: Remove --with-tls option.
71984         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71985         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71986         out in case it is missing.
71987         * sysdeps/ia64/elf/configure.in: Likewise.
71988         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71989         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71990         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71991         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71992         * sysdeps/sh/elf/configure.in: Likewise.
71993         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71994         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71995         * sysdeps/x86_64/elf/configure.in: Likewise.
71996         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71997         * sysdeps/mach/hurd/tls.h: Likewise.
71999         [BZ #13067]
72000         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72002         [BZ #13090]
72003         * configure.in: Fix use of AC_INIT.
72005         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72007 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72009         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72010         __set_errno.
72011         * malloc/hooks.c: Likewise.
72013         [BZ #11929]
72014         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72015         variables statically.
72016         (narenas): Initialize.
72017         (list_lock): Initialize.
72018         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72019         initializtion of main_arena and list_lock.  Small cleanups.
72020         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72021         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72022         Add initializers to main_arena and mp_.
72023         (malloc_state): Remove pagesize member.  Change all users to use
72024         GLRO(dl_pagesize).
72026         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72027         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72028         is always initialized.
72030         * malloc/malloc.c: Removed unused configurations and dead code.
72031         * malloc/arena.c: Likewise.
72032         * malloc/hooks.c: Likewise.
72033         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72035         * include/tls.h: Removed.  USE___THREAD must always be defined.
72036         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72037         * elf/dl-libc.c: Likewise.
72038         * elf/dl-tsd.c: Likewise.
72039         * include/errno.h: Likewise.
72040         * include/netdb.h: Likewise.
72041         * include/resolv.h: Likewise.
72042         * inet/herrno-loc.c: Likewise.
72043         * inet/herrno.c: Likewise.
72044         * malloc/arena.c: Likewise.
72045         * malloc/hooks.c: Likewise.
72046         * malloc/malloc.c: Likewise.
72047         * resolv/res-state.c: Likewise.
72048         * resolv/res_libc.c: Likewise.
72049         * sysdeps/i386/dl-machine.h: Likewise.
72050         * sysdeps/ia64/dl-machine.h: Likewise.
72051         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72052         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72053         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72054         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72055         * sysdeps/sh/dl-machine.h: Likewise.
72056         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72057         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72058         * sysdeps/unix/i386/sysdep.S: Likewise.
72059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72060         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72061         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72065         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72066         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72069         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72070         * sysdeps/x86_64/dl-machine.h: Likewise.
72071         * tls.make.c: Likewise.
72073         * configure.in: Remove --with-__thread option.  Make tests for
72074         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72075         tls_model attribute fail if no support is available.  Remove
72076         USE_IN_LIBIO.
72077         * Makeconfig: Adjust for dropped configure option.  All features are
72078         now mandatory.
72079         * Makerules: Likewise.
72080         * Versions.def: Likewise.
72081         * argp/argp-fmtstream.c: Likewise.
72082         * argp/argp-fmtstream.h: Likewise.
72083         * argp/argp-help.c: Likewise.
72084         * assert/assert.c: Likewise.
72085         * config.h.in: Likewise.
72086         * config.make.in: Likewise.
72087         * configure: Likewise.
72088         * configure.in: Likewise.
72089         * csu/Versions: Likewise.
72090         * csu/init.c: Likewise.
72091         * elf/tst-audit2.c: Likewise.
72092         * elf/tst-tls10.c: Likewise.
72093         * elf/tst-tls10.h: Likewise.
72094         * elf/tst-tls11.c: Likewise.
72095         * elf/tst-tls12.c: Likewise.
72096         * elf/tst-tls14.c: Likewise.
72097         * elf/tst-tlsmod11.c: Likewise.
72098         * elf/tst-tlsmod12.c: Likewise.
72099         * elf/tst-tlsmod13.c: Likewise.
72100         * elf/tst-tlsmod13a.c: Likewise.
72101         * elf/tst-tlsmod14a.c: Likewise.
72102         * elf/tst-tlsmod15b.c: Likewise.
72103         * elf/tst-tlsmod16a.c: Likewise.
72104         * elf/tst-tlsmod16b.c: Likewise.
72105         * elf/tst-tlsmod7.c: Likewise.
72106         * elf/tst-tlsmod8.c: Likewise.
72107         * elf/tst-tlsmod9.c: Likewise.
72108         * gmon/gmon.c: Likewise.
72109         * grp/fgetgrent_r.c: Likewise.
72110         * grp/putgrent.c: Likewise.
72111         * hurd/fopenport.c: Likewise.
72112         * include/libc-symbols.h: Likewise.
72113         * include/tls.h: Likewise.
72114         * intl/gettextP.h: Likewise.
72115         * intl/loadinfo.h: Likewise.
72116         * locale/global-locale.c: Likewise.
72117         * locale/localeinfo.h: Likewise.
72118         * mach/devstream.c: Likewise.
72119         * malloc/arena.c: Likewise.
72120         * malloc/set-freeres.c: Likewise.
72121         * misc/err.c: Likewise.
72122         * misc/getttyent.c: Likewise.
72123         * misc/mntent_r.c: Likewise.
72124         * posix/getopt.c: Likewise.
72125         * posix/wordexp.c: Likewise.
72126         * pwd/fgetpwent_r.c: Likewise.
72127         * resolv/Versions: Likewise.
72128         * resolv/res_hconf.c: Likewise.
72129         * shadow/fgetspent_r.c: Likewise.
72130         * shadow/putspent.c: Likewise.
72131         * stdio-common/printf_fphex.c: Likewise.
72132         * stdio-common/tmpfile.c: Likewise.
72133         * stdlib/abort.c: Likewise.
72134         * stdlib/fmtmsg.c: Likewise.
72135         * sunrpc/auth_unix.c: Likewise.
72136         * sunrpc/clnt_perr.c: Likewise.
72137         * sunrpc/clnt_tcp.c: Likewise.
72138         * sunrpc/clnt_udp.c: Likewise.
72139         * sunrpc/clnt_unix.c: Likewise.
72140         * sunrpc/openchild.c: Likewise.
72141         * sunrpc/svc_simple.c: Likewise.
72142         * sunrpc/svc_tcp.c: Likewise.
72143         * sunrpc/svc_udp.c: Likewise.
72144         * sunrpc/svc_unix.c: Likewise.
72145         * sunrpc/xdr.c: Likewise.
72146         * sunrpc/xdr_array.c: Likewise.
72147         * sunrpc/xdr_rec.c: Likewise.
72148         * sunrpc/xdr_ref.c: Likewise.
72149         * sunrpc/xdr_stdio.c: Likewise.
72151 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72153         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72155 2011-07-03  Andreas Jaeger  <aj@suse.de>
72157         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72158         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72159         regenerate with gen-libm-tests.pl.
72161 2010-05-12  Petr Baudis  <pasky@suse.cz>
72163         [BZ #11589]
72164         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72165         around j0() zero points by switching to j1().
72166         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72167         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72169         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72171 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72173         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72174         instead of 0.
72175         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72176         instead of 0.
72177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72178         Patch in part by Pavel Roskin <proski@gnu.org>.
72180         [BZ #13138]
72181         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72182         realloc.
72183         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72184         Free memory block if necessary.
72186         [BZ #12847]
72187         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72188         be NULL.  Don't lock in this case.
72190 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72192         * elf/elf.h (ELFOSABI_GNU): New macro.
72193         (ELFOSABI_LINUX): Define to that.
72195 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72197         * string/strncat.c (strncat): Undef the symbol in case it has been
72198         defined in bits/string.h.
72200 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72202         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72204         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72205         link map.
72207 2011-08-17  Andreas Jaeger  <aj@suse.de>
72209         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72211 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72212             Ian Lance Taylor  <iant@google.com>
72214         * math/libm-test.inc (lround_test): New testcase.
72215         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72217 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72219         * Makefile: Remove support for automatic cvs check-ins.
72220         * Makerules: Likewise.
72221         * config.make.in: Likewise.
72222         * configure.in: Likewise.
72223         * intl/Makefile: Likewise.
72224         * locale/Makefile: Likewise.
72225         * po/Makefile: Likewise.
72226         * posix/Makefile: Likewise.
72227         * sysdeps/gnu/Makefile: Likewise.
72228         * sysdeps/mach/hurd/Makefile: Likewise.
72229         * sysdeps/sparc/sparc32/Makefile: Likewise.
72231         [BZ #13118]
72232         * posix/Makefile (bug-regex32-ENV): Define.
72233         Patch by John Stanley <jpsinthemix@verizon.net>.
72235         * misc/Makefile (headers): Add bits/select2.h.
72236         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72237         * misc/bits/select2.h: New file.
72238         * include/bits/select2.h: New file.
72239         * debug/Makefile (routines): Add fdelt_chk.
72240         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72241         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72242         FD_ISSET.
72243         * debug/fdelt_chk.c: New file.
72245         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72246         * wcsmbs/test-wmemcmp.c: Likewise.
72247         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72248         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72250 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72252         * string/Makefile (strop-tests): Add memcmp.
72253         * string/test-wmemcmp.c: New file.
72254         * string/test-memcmp.c: Add wmemcmp support.
72256 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72258         [BZ #13153]
72259         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72260         2011-07-19 change.
72262         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72263         garbage value in a __mach_port_mod_refs call in the cases of the
72264         task-self and thread-self ports.
72266 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72268         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72270 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72272         * elf/dl-load.c (lose): Check for non-null L.
72274 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72276         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72278         * elf/dl-libc.c (dlerror_run): Pass back error code from
72279         dl_catch_error.
72281         [BZ #13123]
72282         * elf/dl-load.c (lose): Free l_origin if it is valid.
72284         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72285         names.
72286         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72287         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72288         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72289         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72290         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72291         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72293 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72295         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72296         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72297         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72298         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72299         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72300         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72301         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72302         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72303         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72304         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72306 2011-08-15  Alan Modra  <amodra@gmail.com>
72308         [BZ #13092]
72309         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72310         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72311         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72312         ppc_mcount to static-only-routines.
72313         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72314         __mcount_internal.
72315         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72316         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72318 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72320         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72321         for finite and infinity parameters.
72323 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72326         and add nop instructions for throughput optimization.
72327         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72329 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72331         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72332         aligned copy for power7 with vector-scalar instructions.
72333         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72335 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72337         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72338         AVX check.
72340 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72342         [BZ #13144]
72343         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72344         last change.
72346 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72348         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72349         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72350         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72351         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72352         clock_gettime.
72354 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72356         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72357         Forgot to demangle the pointer.
72359         * sysdeps/i386/sysdep.h: Define atom_text_section.
72360         * sysdeps/x86_64/sysdep.h: Likewise.
72361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72362         section with atom_text_section.
72363         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72364         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72365         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72366         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72367         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72369         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72370         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72371         already be defined.  Change to take two parameters and don't assign
72372         result to variable.  Adjust all users.
72373         Define INTERNAL_GETTIME if not already defined.
72374         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72375         call.
72376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72377         HAVE_CLOCK_GETTIME_VSYSCALL.
72378         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72381         gettimeofday vsyscall, just use time.
72383 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72385         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72386         <errno.h>.
72388 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72390         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72391         syscall on x86-64.
72392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72393         syscall.
72394         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72395         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72396         syscall if possible.
72398 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72400         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72401         e_ident.  Don't pass to find_mapsXX.
72402         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72404 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72406         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72407         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72408         * sysdeps/x86_64/multiarch/strchr.S: Update.
72409         Check bit_slow_BSF bit.
72410         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72411         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72412         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72414 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72416         [BZ #13134]
72417         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72418         before glibc 2.15.
72419         (tryshell): Define.
72420         (__spawni): Change last parameter to be flag.  Test
72421         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72422         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72423         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72424         * posix/spawni.c: Likewise.
72425         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72426         * posix/spawnp.c: Likewise.  Change normal version to use
72427         SPAWN_XFLAGS_USE_PATH.
72428         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72429         SPAWN_XFLAGS_TRY_SHELL.
72431         [BZ #13150]
72432         * posix/glob.h: Remove gcc 1.x support.
72434         [BZ #13068]
72435         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72437 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72439         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72440         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72441         strrchr-sse2-bsf
72442         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72443         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72444         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72445         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72446         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72447         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72449 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72451         * sysdeps/x86_64/wcscmp.S: New file.
72453         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72454         wcscmp-c wcscmp-sse2
72455         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72456         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72457         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72458         * wcsmbs/wcscmp.c: Allow renaming.
72460 2011-09-05  David S. Miller  <davem@davemloft.net>
72462         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72463         stack slot, rather than the struct return pointer slot.
72464         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72465         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72467         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72469 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72471         * po/ja.po: Update from translation team.
72473         [BZ #13144]
72474         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72475         kernel in 64-bit binaries.
72477 2011-09-01  David S. Miller  <davem@davemloft.net>
72479         * elf/elf.h (HWCAP_SPARC_*): Move to..
72480         * sysdeps/sparc/sysdep.h: this new file and add new values.
72481         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72482         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72483         _DL_HWCAP_COUNT to 24.
72484         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72485         entries.
72486         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72487         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72488         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72489         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72490         instead of magic constants.
72491         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72493 2011-08-31  David S. Miller  <davem@davemloft.net>
72495         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72497         Reimplement to do errno handling inline.
72498         (SYSCALL_ERROR_HANDLER): New macro.
72499         (__SYSCALL_STRING): Do not do errno handling in asm.
72500         (__CLONE_SYSCALL_STRING): Delete.
72501         (__INTERNAL_SYSCALL_STRING): Delete.
72502         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72503         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72504         (PSEUDO): Reimplement to do errno handling inline.
72505         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72506         (SYSCALL_ERROR_HANDLER): New macro.
72507         (__SYSCALL_STRING): Do not do errno handling in asm.
72508         (__CLONE_SYSCALL_STRING): Delete.
72509         (__INTERNAL_SYSCALL_STRING): Delete.
72510         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72511         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72512         i386.
72513         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72514         (inline_syscall*): Add 'err' argument.
72515         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72516         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72517         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72518         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72520         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72521         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72523 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72525         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72527 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72529         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72530         directive.
72532 2011-08-24  David S. Miller  <davem@davemloft.net>
72534         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72536 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72538         * elf/Makefile: Add rules to build and run unload8 test.
72539         * elf/unload8.c: New file.
72540         * elf/unload8mod1.c: New file.
72541         * elf/unload8mod1x.c: New file.
72542         * elf/unload8mod2.c: New file.
72543         * elf/unload8mod3.c: New file.
72545         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72546         it wasn't used.
72548 2011-08-23  David S. Miller  <davem@davemloft.net>
72550         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72551         subtract stack bias.
72552         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72553         %sp not %fp in calculations.
72554         (_JMPBUF_UNWINDS_ADJ): Likewise.
72556         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72557         (aio_suspend): Call it to force an exception region around the
72558         AIO_MISC_WAIT() invocation.
72560 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72562         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72563         backslash.
72565 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72567         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72568         protection macro.
72569         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72570         and <dl-machine.h>.
72571         (Elf64_FuncDesc): Remove.
72573 2011-08-22  David S. Miller  <davem@davemloft.net>
72575         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72576         sigaltstack check, add missing cfi directives.
72577         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72578         missing cfi directives, and sigaltstack handling.
72580 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72582         [BZ #11724]
72583         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72584         object is seen twice.
72585         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72587         * elf/Makefile (distribute): Add tst-initorder2.c.
72588         (tests): Add tst-initorder2.
72589         (modules-names): Add tst-initorder2a tst-initorder2b
72590         tst-initorder2c tst-initorder2d.  Add rules to build them.
72591         ($(objpfx)tst-initorder2.out): New rule.
72592         * elf/tst-initorder2.c: New file.
72593         * elf/tst-initorder2.exp: New file.
72595 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72597         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72599         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72600         dependencies back to end of function.
72602         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72603         $(elfobjdir)/ld.so.
72605 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72607         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72608         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72609         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72610         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72611         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72612         of __vdso_gettimeofday.
72613         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72614         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72615         attribute_hidden.
72616         (_libc_vdso_platform_setup): Remove initialization of
72617         __vdso_gettimeofday and __vdso_time.
72619 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72621         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72622         and fgetc_unlocked.
72623         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72624         getc_unlocked.
72626         * elf/dl-open.c (add_to_global): Report additions to the global scope
72627         for LD_DEBUG=scopes.
72628         (dl_open_worker): Also print scope of newly loaded dependencies.
72629         (_dl_show_scope): Indicate if there is no scope.
72631         [BZ #13114]
72632         * stdio-common/Makefile (tests): Add bug24.
72633         * stdio-common/bug24.c: New file.
72635 2011-08-19  Andreas Jaeger  <aj@suse.de>
72637         [BZ #13114]
72638         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72639         non-existant file when using close-on-exec mode.
72641 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72643         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72644         the very first instruction.
72646         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72647         the CFI state in the end.
72648         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72649         inclusion of dl-trampoline.h.
72650         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72652 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72654         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72655         expectations for long double.
72657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72658         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72660 2011-08-14  David S. Miller  <davem@davemloft.net>
72662         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72663         artificual limit depends upon the system page size.
72665 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72667         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72668         * resolv/Makefile: Define CFLAGS-libresolv.
72670 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72672         * nss/makedb.c (compute_tables): Make variables used in nested
72673         function static.
72675 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72677         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72678         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72679         if buffer was too small.
72681         * elf/pldd.c (main): Attach to all threads in the process.
72682         Rewrite /proc handling to use *at functions.
72684 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72686         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72687         specifies first scope to show.
72688         (dl_open_worker): Update callers.  Move printing scope of new
72689         object to before the relocation.
72690         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72691         * sysdeps/generic/ldsodefs.h: Update declaration.
72693         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72694         string for the scope number.
72696 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72698         * nscd/servicescache.c (cache_addserv): Make sure written is always
72699         initialized.
72701 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72703         * sysdeps/i386/i486/bits/atomic.h
72704         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72705         statement expression, so as to suppress "set but not used" warning.
72706         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72708         * string/strncat.c (STRNCAT): Use prototype definition.
72710         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72711         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72712         -Iprograms here.
72713         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72714         (localedef-modules): Add localedef.
72715         (locale-modules): Add locale.
72717         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72718         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72719         to avoid a warning.
72721 2011-08-14  David S. Miller  <davem@davemloft.net>
72723         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72724         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72726 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72728         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72729         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72730         * elf/rtld.c (dl_main): Set l_name of vDSO.
72731         Call _dl_show_scope when DL_DEBUG_SCOPES.
72732         (process_dl_debug): Recognize scopes flag and also set it for all.
72733         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72734         Declare _dl_show_scope.
72736         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72737         (do_dlopen): Pass caller_dlopen to dl_open.
72738         (__libc_dlopen_mode): Initialize caller_dlopen.
72740         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72741         of libc.  Make tolower call locale-independent.  Optimize a bit by
72742         using isdigit instead of isalnum.
72743         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72745 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72747         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72748         was a dependency or dynamically loaded.
72750 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72752         * intl/l10nflist.c: Allow architecture-specific pop function.
72753         * sysdeps/x86_64/l10nflist.c: New file.
72755         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72756         classification.
72758 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72760         * include/dirent.h: Add libc_hidden_proto for scandirat and
72761         scandirat64.  Don't declare __scandirat64.
72762         * dirent/scandirat.c: Add libc_hidden_def.
72763         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72764         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72766 2011-08-10  David S. Miller  <davem@davemloft.net>
72768         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72769         enum.
72770         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72772         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72774 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72776         * Versions.def [libc]: Add GLIBC_2.15.
72777         * dirent/Makefile (routines): Add scandirat and scandirat64.
72778         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72779         GLIBC_2.15.
72780         * dirent/dirent.h: Declare scandirat and scandirat64.
72781         * dirent/scandirat.c: New file.
72782         * dirent/scandirat64.c: New file.
72783         * sysdeps/wordsize-64/scandirat.c: New file.
72784         * sysdeps/wordsize-64/scandirat64.c: New file.
72785         * dirent/opendir.c: Define opendirat.
72786         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72787         using scandirat.
72788         * dirent/scandir64.c: Adjust for scandir.c change.
72789         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72790         __scandirat64, and __scandir_cancel_handler.
72791         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72792         additional parameter and use openat instead of open (outside of ld.so).
72793         Add new __opendir as wrapper around __opendirat.
72794         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72795         here without requiring old scandirat implementation.
72797 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72799         * dirent/scandir.c (cancel_handler): Renamed to
72800         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72801         defined.  Adjust users.
72802         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72803         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72805 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72807         * string/test-string.h (IMPL): Use __STRING to expand name and then
72808         stringify it.
72810         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72811         of cleanups.
72813 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72815         * string/Makefile: Update.
72816         (strop-tests): Append strncat.
72817         * string/test-wcscmp.c: New file.
72818         New comprehensive test for wcscmp.
72819         * string/test-strcmp.c: Update.
72820         (WIDE): New define.
72822 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72824         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72825         line.
72827 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72830         encoding to ACE if AI_IDN.
72832 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72835         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72837 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72839         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72840         Fix overflow bug in strncat.
72841         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72843         * string/test-strncat.c: Update.
72844         Add new tests for checking overflow bugs.
72846 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72849         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72850         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72851         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72852         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72853         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72854         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72855         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72856         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72858         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72859         (USE_AS_STRCAT): Define.
72860         Add strcat and strncat support.
72861         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72863 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72865         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72866         __n bigger than INT_MAX+1.
72867         (__strncmp_g): Likewise.
72869 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72871         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72872         * libio/stido.h: Likewise.
72874         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72875         (AF_NFC): Define.
72876         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72877         (AF_NFC): Define.
72879         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72880         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72881         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72882         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72883         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72885         [BZ #13021]
72886         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72887         installed.
72889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72890         typo.
72891         (_dl_x86_64_save_sse): Likewise.
72893 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72895         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72896         OSXSAVE.
72897         (_dl_x86_64_save_sse): Likewise.
72899         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72901         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72903 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72906         change.
72907         (_dl_x86_64_save_sse): Use correct AVX check.
72909 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72911         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72912         bug in strncpy/strncat.
72913         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72915 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72917         * string/tester.c (test_strcat): Add tests for different alignments
72918         of source and destination.
72919         (test_strncat): Likewise.
72921 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72923         [BZ #12852]
72924         * posix/glob.c (glob): Check passed in values before using them in
72925         expressions to avoid some overflows.
72926         (glob_in_dir): Likewise.
72928         [BZ #13007]
72929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72930         check for AVX enablement so that we don't crash with old kernels and
72931         new hardware.
72932         * elf/tst-audit4.c: Add same checks here.
72933         * elf/tst-audit6.c: Likewise.
72935         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72937 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72939         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72941 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72943         * po/cs.po: Update from translation team.
72944         * po/bg.po: Likewise.
72946 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72948         * misc/sys/cdefs.h: Add support for const attribute.
72949         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72950         to gnu_dev_{major,minor,makedev} functions.
72952 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72954         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72956 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72958         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72959         strlen results.
72961 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72964         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72965         register in order to avoid conflicts with the soft frame pointer
72966         being held in r11 when necessary.
72967         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72968         (INTERNAL_VSYSCALL_NCS): Likewise.
72970 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72972         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72973         * elf/dl-fini.c (_dl_fini): Adjust caller.
72974         * elf/dl-close.c (_dl_close_worker): Likewise.
72975         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72977 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72979         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72980         "aux_cache->nlibs < 0".
72982         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72983         in the reload-count case.
72985 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72988         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72989         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72990         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72991         * sysdeps/x86_64/multiarch/strcat.S: New file.
72992         * sysdeps/x86_64/multiarch/strncat.S: New file.
72993         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72994         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72995         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72996         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72997         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72998         (USE_AS_STRCAT): Define.
72999         Add strcat and strncat support.
73000         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73001         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73002         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73003         * string/strncat.c: Update.
73004         (USE_AS_STRNCAT): Define.
73005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73006         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73007         and i7.
73008         * sysdeps/x86_64/multiarch/init-arch.h
73009         (bit_Prefer_PMINUB_for_stringop): New.
73010         (index_Prefer_PMINUB_for_stringop): Likewise.
73011         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73012         bit_Prefer_PMINUB_for_stringop.
73014 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73016         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73017         buffer64.
73018         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73019         of casting of buffer.
73020         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73021         buffer32 and buffer64.
73022         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73023         writes instead of casting of buffer.
73024         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73025         buffer32.
73026         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73027         casting of buffer.
73029 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73031         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73033 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73035         * nscd/nscd.c (termination_handler): Don't do anything for a database
73036         if it has not yet been initialized.
73038 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73040         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73042 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73044         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73046 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73048         * po/nl.po: Update from translation team.
73049         * po/sv.po: Likewise.
73051 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73053         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73054         now disallowed by GCC.
73056         * configure.in (use-default-link): Default to yes if a test -shared
73057         link meets our qualifications.
73058         * configure: Regenerated.
73060         * config.make.in (output-format): New variable.
73061         * configure.in: Check for ld --print-output-format support.
73062         * configure: Regenerated.
73063         * Makerules ($(common-objpfx)format.lds)
73064         [$(output-format) != unknown]: Just use $(output-format),
73065         instead of the linker-script munging.
73067 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73069         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73070         of $(common-objpfx)shlib.lds.
73071         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73073         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73074         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73076         * configure.in (-z relro check): Adjust test code to add a large
73077         writable data section after it.
73078         * configure: Regenerated.
73080 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73082         * configure.in (-z relro check): Fix test code to make the variable
73083         truly const.
73084         * configure: Regenerated.
73086 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73088         * nscd/nscd.h (struct traced_file): Define.
73089         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73090         elements.  Add traced_files.
73091         (inotify_fd): Declare.
73092         (register_traced_file): Declare.
73093         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73094         (inotify_fd): Export.
73095         (resolv_conf_descr): Remove.
73096         (nscd_init): Move inotify descriptor creation to main.
73097         Don't register files for notification here.
73098         (register_traced_file): New function.
73099         (invalidate_cache): Don't use reset_res to determine whether to call
73100         res_init, go through the list of registered files.
73101         (main_loop_poll): The inotify descriptors are now stored in the
73102         structures for the traced files.
73103         (main_loop_epoll): Likewise.
73104         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73105         to __nss_disable_nscd.
73106         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73107         for a database anymore.  Check the records for all the registered
73108         files instead.
73109         * nss/Makefile (libnss_files-routines): Add files-init.
73110         (libnss_db-routines): Add db-init.
73111         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73112         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73113         * nss/nss_db/db-init.c: New file.
73114         * nss/nss_files/files-init.c: New file.
73115         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73116         __nss_lookup_function.
73117         (__nss_lookup_function): Call nss_load_library.
73118         (nss_load_all_libraries): New function.
73119         (__nss_disable_nscd): Take parameter with callback function for files
73120         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73121         used for the cached services.
73122         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73123         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73124         options for features to all the files in nscd.
73126         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73128 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73130         * csu/elf-init.c (__libc_csu_init): Comment typo.
73132 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73134         * po/pl.po: Update from translation team.
73135         * po/ja.po: Likewise.
73136         * po/ru.po: Likewise.
73137         * po/ko.po: Likewise.
73138         * po/fr.po: Likewise.
73140 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73142         * configure.in (.ctors/.dtors header and trailer check):
73143         Use an empirical test on a built program.
73144         * configure: Regenerated.
73146         * configure.in (-z relro check): Use an empirical test on a built DSO.
73147         Detect, but do not require, on ia64.
73148         * configure: Regenerated.
73150         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73151         Update tests that use readelf to use $READELF instead.
73152         * configure: Regenerated.
73154 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73156         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73157         if the result is not used.
73159 2011-07-05  Andreas Jaeger  <aj@suse.de>
73161         [BZ#9696]
73162         * stdlib/tst-strtod.c: Add testcase.
73164 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73166         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73167         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73168         The latter has a higher limit.  Take additional parameter to pass to
73169         the new function.
73170         (__pathconf): Pass file to __statfs_link_max.
73171         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73172         __statfs_link_max.
73173         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73174         __statfs_link_max.
73176         [BZ #12868]
73177         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73178         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73179         Handle Lustre.
73180         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73181         (__statfs_filesize_max): Likewise.
73182         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73184 2011-07-05  Andreas Jaeger  <aj@suse.de>
73186         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73188 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73190         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73191         `status' variable.
73192         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73193         Likewise.
73195 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73197         * Makefile (strop-tests): Add strncat.
73198         * string/test-strncat.c: New file.
73200 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73202         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73204 2011-06-21  Andreas Jaeger  <aj@suse.de>
73206         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73207         Copy rule from iconvdata/Makefile.
73209 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73211         [BZ #12922]
73212         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73213         but no long options are defined, just return 'W'.
73215 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73217         [BZ #9696]
73218         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73220 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73222         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73223         netgroups to read.
73224         (innetgr): Likewise.
73226 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73228         * config.make.in (install_root): Default to $(DESTDIR).
73230 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73232         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73234 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73236         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73238         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73239         containing directory rather than embedding absolute directory names.
73241         * scripts/check-local-headers.sh: Rewritten using awk.
73242         Match by word, not by line.  Print error messages for matches.
73243         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73245         * Makerules [shlib-lds-flags empty]:
73246         ($(common-objpfx)libc_pic.opts): New target.
73247         ($(common-objpfx)libc_pic.os.clean): New target.
73248         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73250         * config.make.in (OBJCOPY): New variable.
73251         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73252         * configure: Regenerated.
73254         * config.make.in (use-default-link): New variable.
73255         * configure.in (use_default_link): Grok --with-default-link to set it.
73256         * configure: Regenerated.
73257         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73258         (shlib-lds, shlib-lds-flags): Define to empty.
73260         * Makerules (shlib-lds): New variable.
73261         (shlib-lds-flags): New variable.
73262         (build-shlib, build-moduile, build-module-asneeded): Use it.
73263         ($(common-objpfx)libc.so): Use $(shlib-lds).
73264         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73265         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73267         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73268         DT_FLAGS/DT_FLAGS_1 with zero flags.
73270         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73271         linker script munging.
73273 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73275         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73276         as 128-bit value.
73277         * crypt/sha512.c (sha512_process_block): Perform total addition using
73278         128-bit if possible.
73279         (__sha512_finish_ctx): Likewise.
73280         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73281         as 64-bit value.
73282         * crypt/sha256.c (SWAP64): Define.
73283         (sha256_process_block): Perform total addition using 64-bit if
73284         possible.
73285         (__sha256_finish_ctx): Likewise.
73287 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73289         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73290         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73291         * nscd/hstcache.c (cache_addhst): Likewise.
73292         * nscd/grpcache.c (cache_addgr): Likewise.
73293         * nscd/aicache.c (addhstaiX): Likewise.
73294         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73296 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73298         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73300         * nscd/hstcache.c (cache_addhst): Likewise.
73301         * nscd/grpcache.c (cache_addgr): Likewise.
73302         * nscd/aicache.c (addhstaiX): Likewise.
73304 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73306         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73307         domain only when needed.
73309 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73312         is always restored.
73314 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73316         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73317         are re-adding the entry.
73318         * nscd/servicescache.c (cache_addserv): Likewise.
73320 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73322         * sysdeps/generic/dl-irel.h: fix protection against multiple
73323         inclusions.
73324         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73326 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73328         [BZ #12935]
73329         * malloc/memusage.sh: Fix quoting in message.
73330         * debug/xtrace.sh: Likewise.
73332         * configure.in: Remove support for --experimental-malloc option, make
73333         it the default.
73334         * config.make.in: Likewise.
73335         * malloc/Makefile: Likewise.
73337 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73339         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73340         two-byte characters.
73342 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73344         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73345         AC_CACHE_CHECK invocation.
73346         * configure: Regenerated.
73348         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73350 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73352         [BZ #12350]
73353         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73354         bit from old_res_options.
73356         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73358         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73359         value type for setfct.
73361 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73363         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73364         __gettimeofday instead of gettimeofday.
73366 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73368         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73370 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73374         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73375         info.
73377 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73380         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73381         strcpy-sse2-unaligned strncpy-sse2-unaligned
73382         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73383         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73384         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73385         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73386         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73387         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73388         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73389         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73390         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73391         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73392         (STRCPY): Support SSE2 and SSSE3 versions.
73394 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73396         [BZ #12874]
73397         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73398         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73399         kernels which artificially limit size of requests.
73401 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73404         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73405         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73406         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73407         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73408         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73409         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73410         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73411         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73412         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73413         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73414         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73415         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73416         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73417         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73419         Enable unaligned load optimization for Intel Core i3, i5 and i7
73420         processors.
73421         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73422         Define.
73423         (index_Fast_Unaligned_Load): Define.
73424         (HAS_FAST_UNALIGNED_LOAD): Define.
73426 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73428         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73430 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73432         [BZ #12907]
73433         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73434         until it is clear that the information is realy needed.
73435         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73437 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73441 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73444         /sys/devices/system/cpu/online if it is usable.
73446         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73447         reading the information from the /proc filesystem to once a second.
73449 2011-06-21  Andreas Jaeger  <aj@suse.de>
73451         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73452         NULL after inclusion of kernel headers.
73454 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73456         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73457         calls to internal_setent.
73459         [BZ #12885]
73460         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73461         addresses using gethostbyname4_r ignore IPv4 addresses.
73463         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73464         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73466         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73468 2011-06-20  David S. Miller  <davem@davemloft.net>
73470         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73471         inclusions.
73472         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73474         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73475         (elf_irel): Use it.
73476         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73477         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73478         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73479         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73480         * sysdeps/x86_64/dl-irel.h: Likewise.
73482         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73483         * elf/dl-sym.c: Likewise.
73485 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73487         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73488         need to dereference resplen2.
73490 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73492         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73494 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73496         * Makeconfig: Define vardbdir and inst_vardbdir.
73497         * nss/Makefile: Add rules to install db-Makefile.
73499         * nss/nss_db/db-XXX.c: Cleanup.
73501         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73502         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73503         GLIBC_PRIVATE.
73504         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73505         * nss/makedb.c: Implement -g option to specify that value strings
73506         are generated and should not be added to table iterated over for
73507         get*ent calls.
73508         * nss/nss_db/db-initgroups.c: New file.
73510         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73511         interface.
73513         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73514         (internal_getgrouplist): Adjust to name change.
73515         Update use_initgroups_entry if this is not the first call.
73516         * nss/databases.def: Add initgroups entry.
73518         * nss/makedb.c (compute_tables): Check result of multiple hash table
73519         sizes to minimize maximum chain length.
73521 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73523         * Versions.def: Add entry for libnss_db.
73524         * shlib-versions: Likewise.
73525         * nss/Makefile: Add rules to build libnss_db.
73526         * nss/Versions: Add libnss_db information.  Organize libnss_files
73527         entries better.
73528         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73529         makedb progra.  Some minor improvements to generate smaller files.
73530         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73531         here from...
73532         * nss/makedb.c: ...here.
73533         Improve database format to be smaller and require less memory at
73534         runtime.
73535         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73536         db anymore.
73537         * nss/nss_db/db-netgrp.c: Likewise.
73538         * nss/nss_db/db-open.c: Likewise.
73539         * nss/nss_files/flies-XXX.x: Adjust comments.
73540         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73541         * nss/nss_files/files-grp.c: Likewise.
73542         * nss/nss_files/files-hosts.c: Likewise.
73543         * nss/nss_files/files-network.c: Likewise.
73544         * nss/nss_files/files-proto.c: Likewise.
73545         * nss/nss_files/files-pwd.c: Likewise.
73546         * nss/nss_files/files-rpc.c: Likewise.
73547         * nss/nss_files/files-service.c: Likewise.
73548         * nss/nss_files/files-sgrp.c: Likewise.
73549         * nss/nss_files/files-spwd.c: Likewise.
73550         * nss/nss_db/db-alias.c: Removed.
73551         * nss/nss_db/dummy-db.h: Removed.
73553 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73555         * nss/makedb.c: Rewritten to not use database library.
73556         * nss/Makefile: Update to build new makedb program.
73558 2011-06-14  Andreas Jaeger  <aj@suse.de>
73560         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73561         memset declaration.
73563 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73566         tmpbuf.
73568 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73570         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73571         * elf/Makefile ($(objpfx)ld.so): Likewise.
73573         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73574         Don't list ld.so twice in dependencies.
73576         * posix/bug-regex31.c: Include <stdlib.h>.
73578         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73580         * nis/nss_compat/compat-spwd.c
73581         (getspent_next_nss_netgr): Remove unused variable.
73582         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73584         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73585         nonmembers" output to use the right array.
73587         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73589         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73591         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73592         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73593         * catgets/gencat.c (read_input_file): Likewise.
73594         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73596         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73597         variable definition inside #if's controlling its use.
73599         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73601         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73603         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73605         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73606         unreachable code.
73608         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73610         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73611         * configure: Regenerated.
73613         * Makerules: Revert last change.
73614         * elf/Makefile: Likewise.
73616 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73618         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73619         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73620         (reloc-link): Likewise.
73622 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73624         * elf/Makefile: Add rules to build pldd.
73625         * elf/pldd.c: New file.
73626         * elf/pldd-xx.c: New file.
73628 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73630         * version.h: Update for 2.15 development version.
73632 2011-06-07  David S. Miller  <davem@davemloft.net>
73634         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73635         ifuncs.
73636         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73637         elf_machine_lazy_rel): Likewise.
73638         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73640         elf_machine_lazy_rel): Likewise.
73641         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73642         dl_hwcap via passed in argument.
73643         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73644         Likewise.
73646 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73648         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73650 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73652         [BZ #12849]
73653         * manual/fdl-1.1.texi: New file, verbatim from:
73654         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73655         * manual/lgpl-2.1.texi: New file, verbatim from:
73656         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73657         * manual/Makefile (licenses): New variable, list those new file names.
73658         (texis): Use it.
73659         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73661         * manual/fdl.texi: File removed.
73662         * manual/lesser.texi: File removed.
73663         * manual/libc.texinfo (Copying, Documentation License):
73664         Use new @include file names, put @appendix directive before @include.
73666 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73668         [BZ #12841]
73669         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73670         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73671         (mq_open): Add __NTH.
73673 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73676         Assume Intel Core i3/i5/i7 processor if AVX is available.
73678 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73680         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73681         typo.
73683 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73685         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73686         memory.  Use alloca_account.  Fix memory leak when retrying.
73688 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73690         * version.h (RELEASE): Bump for 2.14 release.
73691         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73693         * config.make.in (RANLIB): Remove entry.
73695 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73697         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73698         (libc.pot): Work around missing support for .ksh extension in xgettext.
73700         [BZ #12684]
73701         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73702         if both request failed.
73703         (send_dg): In case of server errors clear resplen or *resplen2.
73705         [BZ #12454]
73706         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73707         when there are multiple maps.
73708         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73709         (_dl_fini): Remove test here.
73711         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73713 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73715         [BZ #12350]
73716         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73717         bit from old_res_options.
73718         (gaih_inet): Likewise.
73720         [BZ #11099]
73721         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73722         as signed.
73724         * resolv/res_init.c (res_setoptions): Make the code more compact.
73726         [BZ #11558]
73727         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73728         set RES_USEVC.
73730         [BZ #11634]
73731         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73733         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73735         [BZ #11781]
73736         * malloc/malloc.h: Declare malloc hook variables as volatile.
73738         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73739         in last patch.
73741         [BZ #11799]
73742         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73743         raise in the comment.
73744         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73745         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73746         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73748 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73750         [BZ #12811]
73751         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73752         grow the buffers more if it already has to be sufficient.
73753         (build_wcs_upper_buffer): Likewise.
73754         * posix/regexec.c (check_matching): Likewise.
73755         (clean_state_log_if_needed): Likewise.
73756         (extend_buffers): Don't enlarge buffers beyond size of the input
73757         buffer.
73758         Patches mostly by Emil Wojak <emil@wojak.eu>.
73759         * posix/bug-regex32.c: New file.
73760         * posix/Makefile (tests): Add bug-regex32.
73762         * locale/findlocale.c (_nl_find_locale): Return right away if
73763         _nl_explode_name failed.
73764         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73766         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73768         * debug/xtrace.sh: Unify messages.
73769         * malloc/memusage.sh: Likewise.
73771         [BZ #12813]
73772         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73773         time symbol from vDSO.  Substitute with vsyscall if not available.
73774         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73775         __vdso_time.
73777         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73778         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73779         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73780         Add sendmmsg and internal_sendmmsg.
73781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73782         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73783         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73785         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73786         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73787         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73789 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73791         [BZ #12813]
73792         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73793         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73794         available.
73795         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73796         __vdso_getcpu.
73798         [BZ #12814]
73799         * iconvdata/Makefile (tests): Add bug-iconv9.
73800         * iconvdata/bug-iconv9.c: New file.
73802 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73804         [BZ #12814]
73805         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73807 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73809         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73810         (struct user_regs_struct): Change intcs field back to cs.
73812 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73814         * po/ja.po: Update from translation team.
73816 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73818         [BZ #12795]
73819         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73820         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73822 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73824         * stdlib/longlong.h: Update from GCC.
73826 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73828         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73829         parameter name.
73830         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73831         Add parameter name.
73832         (__sysconf): Pass it down.
73834 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73836         [BZ #12671]
73837         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73838         some situations.
73839         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73840         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73841         add in in __libc_use_alloca calls.  Adjust callers.
73842         (glob): Use malloc in some situations.
73844         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73845         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73846         pltexit.
73848 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73850         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73851         and CLOCK_BOOTTIME_ALARM.
73853         [BZ #12782]
73854         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73855         is returned.
73857         * string/_strerror.c (__strerror_r): Print negative errors as signed
73858         numbers.
73860         [BZ #12777]
73861         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73862         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73863         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73865         * configure.in: Fix typo in redirection and correct removal of test
73866         files in two cases.
73868         [BZ #12788]
73869         * locale/setlocale.c (new_composite_name): Fix test to check for
73870         identical name of all categories.
73872         [BZ #12792]
73873         * libio/filedoalloc.c (local_isatty): New function.
73874         (_IO_file_doallocate): Use local_isatty.
73875         * stdio-common/perror.c (perror): In case a new stream is used
73876         forward the stream error.
73877         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73878         error flag.
73880 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73882         [BZ #11884]
73883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73884         alloca.
73885         * include/alloca.h (extend_alloca_account): Define.
73887         [BZ #11857]
73888         * posix/regex.h: Fix comments with documentation of user-accessible
73889         fields after compilation and describe correct free'ing of pattern
73890         after re_compile_pattern.
73891         Patch by Reuben Thomas <rrt@sc3d.org>.
73893 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73895         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73896         and -mno-altivec to prevent the compiler from using Altivec and/or
73897         VSX instructions when the corresponding registers are not available.
73899 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73901         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73903 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73905         * libio/freopen.c (freopen): Use __dup2, not dup2.
73906         * libio/freopen64.c (freopen64): Likewise.
73908 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73910         [BZ #12775]
73911         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73912         * math/Makefile (tests): Add test-powl.
73913         (CFLAGS-test-powl.c): Define.
73914         * math/test-powl.c: New file.
73916 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73918         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73920 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73922         [BZ #11837]
73923         * iconvdata/gb18030.c: Update to GB18020-2005.
73925 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73927         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73928         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73929         Patch by Aharon Robbins <arnold@skeeve.com>.
73931         [BZ #11892]
73932         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73933         on the stack.
73935         [BZ #11895]
73936         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73937         through underflows.
73939         [BZ #12766]
73940         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73941         point to strings before performing equality test for error_one_per_line
73942         mode.
73944         [BZ #11697]
73945         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73947         [BZ #11820]
73948         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73949         (struct user_fpregs_struct): Avoid __uint*_t types.
73951         [BZ #6420]
73952         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73953         symbol info.  Use it instead of calling _dl_addr locally.
73954         (lock_and_info): New function.
73955         (tr_freehook): Call lock_and_info and pass symbol info as additional
73956         parameter to tr_where.
73957         (tr_mallochook): Likewise.
73958         (tr_reallochook): Likewise.
73959         (tr_memalignhook): Likewise.
73961         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73962         used and couldn't be at all thread-safe.
73964 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73966         * libio/freopen.c (freopen): Don't close old file descriptor
73967         before the new one is opened.  Instead dup the new file descriptor
73968         to the old one after the new stream is created.
73969         * libio/freopen64.c (freopen64): Likewise.
73970         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73971         * libio/fileops.c (_IO_new_file_close_it): Handle new
73972         _IO_FLAGS2_NOCLOSE flag.
73973         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73974         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73975         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73976         _IO_FLAGS2_NOCLOSE flag.
73977         * include/unistd.h: Add hidden_proto for dup3.
73978         Define __have_dup3.
73979         * io/dup3.c: Define hidden symbol.
73980         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73982         [BZ #7101]
73983         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73984         when an incomplete long option is used.
73985         * posix/tst-getopt_long1.c: New file.
73986         * posix/Makefile (tests): Add tst-getopt_long1.
73988         [BZ #10138]
73989         * scripts/config.guess: Update from autoconf-2.68.
73990         * scripts/config.sub: Likewise.
73992         [BZ #10157]
73993         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73994         tests into ...
73995         (has_cpuclock): ...this.  New function.
73996         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73997         macro here based on has_cpuclock code.
73999         [BZ #10149]
74000         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74001         First byte (not low byte) is now always NUL.
74002         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74005         Use non-cancelable interfaces.
74007         [BZ #9809]
74008         * locale/iso-639.def: Add entry for Sorani.
74010         [BZ #11901]
74011         * include/stdlib.h: Move include protection to the right place.
74012         Define abort_msg_s.  Declare __abort_msg with it.
74013         * stdlib/abort.c (__abort_msg): Adjust type.
74014         * assert/assert.c (__assert_fail_base): New function.  Majority
74015         of code from __assert_fail.  Allocate memory for __abort_msg with
74016         mmap.
74017         (__assert_fail): Now call __assert_fail_base.
74018         * assert/assert-perr.c: Remove bulk of implementation.  Use
74019         __assert_fail_base.
74020         * include/assert.hL Declare __assert_fail_base.
74021         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74022         mmap.
74023         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74025 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74027         [BZ #11952]
74028         [BZ #12453]
74029         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74030         until all modules are registered in the DTV.
74031         * elf/Makefile: Add rules to build and run tst-tls19.
74032         * elf/tst-tls19.c: New file.
74033         * elf/tst-tls19mod1.c: New file.
74034         * elf/tst-tls19mod2.c: New file.
74035         * elf/tst-tls19mod3.c: New file.
74036         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74038         [BZ #12083]
74039         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74040         correctly.
74042         [BZ #12601]
74043         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74044         two-byte sequence errors.
74045         * iconvdata/Makefile (tests): Add bug-iconv8.
74046         * iconvdata/bug-iconv8.c: New file.
74048         [BZ #12626]
74049         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74050         buf2 definition.
74052         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74054         [BZ #12432]
74055         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74056         (dummy_getcfa): New function.
74057         (init): Get _Unwind_GetCFA address, use dummy if not found.
74058         (backtrace_helper): In recursion check, also check whether CFA changes.
74059         (__backtrace): Completely initialize arg.
74061         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74062         storing incomplete byte sequence in state object.  Avoid testing for
74063         guaranteed too small input if we know there is enough data available.
74065 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74067         * Makeconfig (+link-pie): Indent.
74068         * Rules (binaries-pie): Define if $(have-fpie) and
74069         $(build-shared).
74070         (binaries-shared): Also filter out $(binaries-pie).
74071         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74072         * nscd/Makefile (others-pie): Add nscd.
74073         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74074         ($(objpfx)nscd): Remove command override.
74075         * login/Makefile (others-pie): Add pt_chown.
74076         ($(objpfx)pt_chown): Remove command override.
74077         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74078         remove command overrides.
74080 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74082         * libio/tst_putwc.c: Fix error messages.
74084         [BZ #12724]
74085         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74086         currently writing and seek to current position when not.
74087         * libio/Makefile (tests): Add bug-fclose1.
74088         * libio/bug-fclose1.c: New file.
74090 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74092         [BZ #12511]
74093         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74094         don't set DF_1_NODELETE here.
74095         (do_lookup_x): When entering new entry test for copy relocation
74096         and if necessary set DF_1_NODELETE flag.
74097         * elf/tst-unique4.cc: New file.
74098         * elf/tst-unique4.h: New file.
74099         * elf/tst-unique4lib.cc: New file.
74100         * elf/Makefile: Add rules to build and run tst-unique4.
74101         Patch by Piotr Bury <pbury@goahead.com>.
74103 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74105         [BZ #12052]
74106         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74108         [BZ #12625]
74109         * misc/mntent_r.c (addmntent): Flush the stream after the output
74111         [BZ #12393]
74112         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74113         (is_trusted_path_normalize): Skip initial colon.  Append slash
74114         to empty buffer.  Duplicate is_trusted_path code but allow
74115         constructed patch to be prefix.
74116         (is_dst): Allow $ORIGIN followed by /.
74117         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74118         Correct testing of result of is_trusted_path_normalize
74119         (decompose_rpath): Fix warning.
74121 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74123         [BZ #11257]
74124         * grp/initgroups.c (internal_getgrouplist): When we found the service
74125         list through the initgroups entry in nsswitch.conf do not always
74126         continue on a successful lookup.  Don't always use the
74127         __nss_group_database value if it is set.
74128         * nss/nsswitch.conf (initgroups): Change action for successful db
74129         lookup to continue for compatibility.
74131 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74133         [BZ #11532]
74134         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74135         and CP774 modules.
74136         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74137         and CP774 modules.
74138         * iconvdata/tst-tables.sh: Likewise.
74139         * iconvdata/cp770.c: New file.
74140         * iconvdata/cp771.c: New file.
74141         * iconvdata/cp772.c: New file.
74142         * iconvdata/cp773.c: New file.
74143         * iconvdata/cp774.c: New file.
74144         * iconvdata/testdata/CP770: New file.
74145         * iconvdata/testdata/CP770..UTF8: New file.
74146         * iconvdata/testdata/CP771: New file.
74147         * iconvdata/testdata/CP771..UTF8: New file.
74148         * iconvdata/testdata/CP772: New file.
74149         * iconvdata/testdata/CP772..UTF8: New file.
74150         * iconvdata/testdata/CP773: New file.
74151         * iconvdata/testdata/CP773..UTF8: New file.
74152         * iconvdata/testdata/CP774: New file.
74153         * iconvdata/testdata/CP774..UTF8: New file.
74155         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74156         END CHARMAP line.
74157         * iconvdata/gen-8bit-gap.sh: Likewise.
74158         * iconvdata/gen-8bit.sh: Likewise.
74160         * locale/iso-639.def: Add ary entry.
74162         [BZ #11258]
74163         * locale/C-translit.h.in: Add U20A1 transliteration.
74165         [BZ #12178]
74166         * locale/iso-639.def: Add wae entry.
74167         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74169         [BZ #12545]
74170         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74171         for n.
74173         [BZ #12711]
74174         * locale/C-translit.h.in: Add entry for U20B9.
74175         Patch by pravin.d.s@gmail.com.
74177 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74179         [BZ #12713]
74180         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74181         ENAMETOOLONG use generic getcwd.
74182         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74183         in rtld.  Use *stat64.
74184         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74185         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74186         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74187         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74188         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74189         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74190         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74191         __fstatat64 macros.
74192         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74193         * dirent/rewinddir.c: Add libc_hidden_def.
74194         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74195         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74197         * include/dirent.h (__alloc_dir): Add flags parameter.
74198         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74199         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74200         __alloc_dir.
74201         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74202         from fdopendir if O_CLOEXEC is already set.
74204 2011-03-15  Alan Modra  <amodra@gmail.com>
74206         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74207         l_tls_firstbyte_offset non-zero.  Save padding offset in
74208         l_tls_firstbyte_offset for later use.
74209         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74210         freeing static tls block.
74212 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74214         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74215         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74216         being defined by the kernel headers.
74218 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74220         [BZ #12734]
74221         * resolv/resolv.h: Define RES_NOTLDQUERY.
74222         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74223         no-tld-query and set RES_NOTLDQUERY.
74224         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74225         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74226         modern BIND to search name as TLD unless forbidden.
74228 2011-05-07  Petr Baudis  <pasky@suse.cz>
74229             Ulrich Drepper  <drepper@gmail.com>
74231         [BZ #12393]
74232         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74233         (is_trusted_path): ...to here.
74234         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74235         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74236         using is_trusted_path_normalize() in setuid scripts.
74238 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74240         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74241         __BEGIN/__END_DECLS.
74243 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74245         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74246         NSS_STATUS_NOTFOUND if no record was found.
74248 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74250         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74251         (headers-not-in-tirpc): Remove rpc/netdb.h
74252         * resolv/netdb.h: Revert last change.
74254 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74256         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74257         circular dependency between libgcc.a and libc.a.
74259 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74261         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74262         * nis/Makefile: Don't install rpcsvc/*.
74263         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74264         instead of <rpc/types.h>.
74265         (MAXHOSTNAMELEN): Define.
74267 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74269         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74271 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74273         [BZ #12714]
74274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74275         gethostbyname4_r when IPv6 results are possible.
74277 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74279         [BZ #12723]
74280         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74281         _PC_PIPE_BUF handling.
74283 2011-04-30  Bruno Haible  <bruno@clisp.org>
74285         [BZ #12717]
74286         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74287         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74288         to 'int'.
74289         * inet/getnameinfo.c (getnameinfo): Likewise.
74291 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74293         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74294         to groups setting in database lookup.
74295         * nss/nsswitch.conf: Add initgroups entry.
74297 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74299         [BZ #12685]
74300         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74301         mode string.
74302         Patch by Eric Blake <eblake@redhat.com>.
74304 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74306         * sunrpc/Makefile (need-export-routines): Add svc_run.
74307         (routines): Remove svc_run.
74308         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74309         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74310         * sunrpc/svc_run.c (svc_run): Likewise.
74311         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74313 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74315         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74316         problem in reallocation in last patch.
74318 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74320         * sunrpc/Makefile: Move inclusion of Rules.
74322 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74324         * nss/nss_files/files-initgroups.c: New file.
74325         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74326         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74327         _nss_files_initgroups_dyn.
74329 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74331         * elf/elf.h (R_ARM_IRELATIVE): Define.
74333 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74335         * po/ru.po: Update from translation team.
74337 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74339         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74340         dependencies.
74342 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74344         [BZ #12653]
74345         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74346         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74348         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74351 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74354         differing bytes.
74355         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74357         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74359 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74361         [BZ #12420]
74362         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74363         storing it.
74364         * stdlib/bug-getcontext.c: New file.
74365         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74367 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74369         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74370         instructions into .machine "z9-109".
74371         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74372         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74374 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74376         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74377         between environment variables and auxiliary vector.
74379 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74381         * Makefile: Add rules to build linkobj/libc.so.
74382         * include/libc-symbols.h: Define libc_hidden_nolink.
74383         * include/rpc/auth.h: Mark functions which are to be hidden.
74384         * include/rpc/auth_des.h: Likewise.
74385         * include/rpc/auth_unix.h: Likewise.
74386         * include/rpc/clnt.h: Likewise.
74387         * include/rpc/des_crypt.h: Likewise.
74388         * include/rpc/key_prot.h: Likewise.
74389         * include/rpc/pmap_clnt.h: Likewise.
74390         * include/rpc/pmap_prot.h: Likewise.
74391         * include/rpc/pmap_rmt.h: Likewise.
74392         * include/rpc/rpc_msg.h: Likewise.
74393         * include/rpc/svc.h: Likewise.
74394         * include/rpc/svc_auth.h: Likewise.
74395         * include/rpc/xdr.h: Likewise.
74396         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74397         * nss/Makefile: Likewise.
74398         * sunrpc/Makefile: Don't install headers.  Build library with normal
74399         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74400         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74401         for the compat linking library.  Remove use of INTDEF/INTUSE.
74402         * sunrpc/auth_none.c: Likewise.
74403         * sunrpc/auth_unix.c: Likewise.
74404         * sunrpc/authdes_prot.c: Likewise.
74405         * sunrpc/authuxprot.c: Likewise.
74406         * sunrpc/clnt_gen.c: Likewise.
74407         * sunrpc/clnt_perr.c: Likewise.
74408         * sunrpc/clnt_raw.c: Likewise.
74409         * sunrpc/clnt_simp.c: Likewise.
74410         * sunrpc/clnt_tcp.c: Likewise.
74411         * sunrpc/clnt_udp.c: Likewise.
74412         * sunrpc/clnt_unix.c: Likewise.
74413         * sunrpc/des_crypt.c: Likewise.
74414         * sunrpc/des_soft.c: Likewise.
74415         * sunrpc/get_myaddr.c: Likewise.
74416         * sunrpc/key_call.c: Likewise.
74417         * sunrpc/key_prot.c: Likewise.
74418         * sunrpc/netname.c: Likewise.
74419         * sunrpc/pm_getmaps.c: Likewise.
74420         * sunrpc/pm_getport.c: Likewise.
74421         * sunrpc/pmap_clnt.c: Likewise.
74422         * sunrpc/pmap_prot.c: Likewise.
74423         * sunrpc/pmap_prot2.c: Likewise.
74424         * sunrpc/pmap_rmt.c: Likewise.
74425         * sunrpc/publickey.c: Likewise.
74426         * sunrpc/rpc_cmsg.c: Likewise.
74427         * sunrpc/rpc_common.c: Likewise.
74428         * sunrpc/rpc_dtable.c: Likewise.
74429         * sunrpc/rpc_prot.c: Likewise.
74430         * sunrpc/rpc_thread.c: Likewise.
74431         * sunrpc/rtime.c: Likewise.
74432         * sunrpc/svc.c: Likewise.
74433         * sunrpc/svc_auth.c: Likewise.
74434         * sunrpc/svc_authux.c: Likewise.
74435         * sunrpc/svc_raw.c: Likewise.
74436         * sunrpc/svc_run.c: Likewise.
74437         * sunrpc/svc_simple.c: Likewise.
74438         * sunrpc/svc_tcp.c: Likewise.
74439         * sunrpc/svc_udp.c: Likewise.
74440         * sunrpc/svc_unix.c: Likewise.
74441         * sunrpc/svcauth_des.c: Likewise.
74442         * sunrpc/xcrypt.c: Likewise.
74443         * sunrpc/xdr.c: Likewise.
74444         * sunrpc/xdr_array.c: Likewise.
74445         * sunrpc/xdr_float.c: Likewise.
74446         * sunrpc/xdr_intXX_t.c: Likewise.
74447         * sunrpc/xdr_mem.c: Likewise.
74448         * sunrpc/xdr_rec.c: Likewise.
74449         * sunrpc/xdr_ref.c: Likewise.
74450         * sunrpc/xdr_sizeof.c: Likewise.
74451         * sunrpc/xdr_stdio.c: Likewise.
74453 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74455         [BZ #12650]
74456         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74457         * sysdeps/ia64/dl-tls.h: Likewise.
74458         * sysdeps/powerpc/dl-tls.h: Likewise.
74459         * sysdeps/s390/dl-tls.h: Likewise.
74460         * sysdeps/sh/dl-tls.h: Likewise.
74461         * sysdeps/sparc/dl-tls.h: Likewise.
74462         * sysdeps/x86_64/dl-tls.h: Likewise.
74463         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74465 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74467         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74468         rpath element also skip the following colon.
74469         (expand_dynamic_string_token): Add is_path parameter and pass
74470         down to DL_DST_REQUIRED and _dl_dst_substitute.
74471         (decompose_rpath): Call expand_dynamic_string_token with
74472         non-zero is_path.  Ignore empty rpaths.
74473         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74474         with zero is_path.
74476 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74479         Make cancelable.
74481 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74483         [BZ #12655]
74484         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74485         Patch by Filipe David Manana <fdmanana@apache.org>.
74487 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74489         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74490         Maintain aligned stack.
74491         (CHECK_RSP): Remove unused macro.
74493 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74495         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74496         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74498 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74500         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74502         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74504 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74506         [BZ #12518]
74507         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74508         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74509         * sysdeps/x86_64/memmove.c: New file.
74510         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74511         (memcpy): Renamed to ...
74512         (__new_memcpy): This.
74513         (memcpy): Provide GLIBC_2_14 memcpy.
74514         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74515         (memcpy): Provide GLIBC_2_2_5 memcpy.
74517 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74519         [BZ #12631]
74520         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74522 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74524         * misc/syncfs.c: New file.
74525         * misc/Makefile (routines): Add syncfs.
74526         * posix/unistd.h: Declare syncfs.
74527         * sysdeps/unix/syscalls.list: Add syncfs.
74529 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74531         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74532         open_by_handle_at.
74533         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74534         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74536         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74538         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74539         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74541 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74543         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74545         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74551         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74552         sync_file_range.c with -fexceptions.
74553         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74554         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74555         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74556         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74557         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74558         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74560         sync_file_range as cancellation point
74561         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74562         now a wrapper around __call_sync_file_range with cancellation handling.
74563         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74564         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74565         function name to __call_sync_file_range.
74566         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74567         Add call_sync_file_range.
74569 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74571         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74572         bits/timex.h.
74574 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74576         * iconv/iconv.h: Fix typo in comment.
74577         * io/fcntl.h: Likewise.
74578         * libio/stdio.h: Likewise.
74579         * posix/spawn.h: Likewise.
74580         * posix/unistd.h: Likewise.
74581         * stdlib/stdlib.h: Likewise.
74582         * time/time.h: Likewise.
74583         * wcsmbs/wchar.h: Likewise.
74585         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74586         open_by_handle): Add.
74587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74588         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74589         Augment a few comments.
74590         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74592         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74594         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74595         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74596         open_by_handle.
74598         * io/fcntl.h (AT_EMPTY_PATH): Define.
74600 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74602         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74603         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74604         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74605         to...
74606         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74607         * Versions.def: Add GLIBC_2.14.
74608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74609         Export.
74611 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74613         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74614         round counter.
74615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74617 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74619         [BZ #12597]
74620         * string/test-strncmp.c (do_page_test): New function.
74621         (check2): Likewise.
74622         (test_main): Call check2.
74623         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74625 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74627         [BZ #12587]
74628         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74629         Handle cache information in CPU leaf 4.
74630         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74632 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74634         [BZ #12583]
74635         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74636         character representation.
74637         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74639 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74641         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74642         END(__isnan) to END(__isnanf) to match function entry point/label
74643         EALIGN(__isnanf,...).
74645 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74647         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74649 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74651         [BZ #12510]
74652         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74653         copy from the symbol referenced in the relocation to initialize the
74654         used variable.
74655         Patch by Piotr Bury <pbury@goahead.com>.
74656         * elf/Makefile: Add rules to build and tst-unique3.
74657         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74658         * elf/tst-unique3.cc: New file.
74659         * elf/tst-unique3.h: New file.
74660         * elf/tst-unique3lib.cc: New file.
74661         * elf/tst-unique3lib2.cc: New file.
74663         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74665 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74667         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74668         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74669         to _start.
74671 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74673         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74674         to-be-loaded object along a path to loader is ld.so.
74676 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74677             Ulrich Drepper  <drepper@gmail.com>
74679         * sysdeps/x86_64/memset.S: After aligning destination, code
74680         branches to different locations depending on the value of
74681         misalignment, when multiarch is enabled. Fix this.
74683 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74685         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74686         Set _x86_64_preferred_memory_instruction for AMD processsors.
74687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74688         Set bit_Prefer_SSE_for_memop for AMD processors.
74690 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74692         * libio/fmemopen.c (fmemopen): Optimize a bit.
74694 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74696         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74698 2011-03-03  Roland McGrath  <roland@redhat.com>
74700         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74702 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74704         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74705         __bzero_ultra1 instead of __memset_ultra1.
74707 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74708             Ulrich Drepper  <drepper@gmail.com>
74710         [BZ #12509]
74711         * include/link.h (struct link_map): Add l_orig_initfini.
74712         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74713         returning unsuccessfully.
74714         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74715         close of a file loaded at startup, restore the original l_initfini
74716         list.
74717         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74718         list, store the pointer.
74719         * elf/Makefile ($(objpfx)noload-mem): New rule.
74720         (noload-ENV): Define.
74721         (tests): Add $(objpfx)noload-mem.
74722         * elf/noload.c: Include <memcheck.h>.
74723         (main): Call mtrace.  Close all opened handles.
74725 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74727         [BZ #12454]
74728         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74729         dependencies are missing.
74731 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74733         Fix __if_freereq crash: Unlike the generic version which uses free,
74734         Hurd needs munmap.
74735         * sysdeps/mach/hurd/ifreq.h: New file.
74737 2011-01-27  Petr Baudis  <pasky@suse.cz>
74738             Ulrich Drepper  <drepper@gmail.com>
74740         [BZ 12445]#
74741         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74742         to extend_alloca().
74743         * stdio-common/bug23.c: New file.
74744         * stdio-common/Makefile (tests): Add bug23.
74746 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74747             Ulrich Drepper  <drepper@gmail.com>
74749         [BZ #12489]
74750         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74751         before performing relro protection.  At old place add assertion
74752         to make sure nothing changed.
74754 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74755             Glauber de Oliveira Costa  <glommer@gmail.com>
74757         * elf/elf.h: Add new ARM TLS relocs.
74759 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74762         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74763         cast from r3.
74764         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74765         'tests' variable.
74766         * sysdeps/wordsize-64/tst-writev.c: New file.
74768 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74770         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74771         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74772         insns in _dl_start to prevent a TOC reference before relocs are
74773         resolved.
74775 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74777         [BZ #12469]
74778         * Makeconfig: Remove RANLIB definition.
74779         * Makerules: Don't use RANLIB.
74780         * aclocal.m4: Remove ranlib test.
74781         * configure.in: No need to check for ranlib.
74782         * elf/rtld-Rules: Don't use RANLIB.
74784 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74786         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74787         protection macro.
74788         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74789         inclusion protection macro.
74791         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74792         SIGRTMIN and SIGRTMAX and print information in that case only when
74793         SIGRTMIN is defined.
74795 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74797         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74798         arginfo fn returning -1.
74800         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74801         and thousands string is zero terminated.
74803 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74806         sysdeps/unix/sysv/linux/bits/socket.h.
74808 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74810         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74811         (__CPU_COUNT): Remove old macros.
74812         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74813         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74814         (__CPU_ALLOC, __CPU_FREE): Add macros.
74815         (__sched_cpualloc, __sched_cpufree): Add declarations.
74817 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74819         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74820         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74821         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74822         (readdhstai): Return value of addhstaiX call.
74823         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74824         (addgrbyX): Return value returned by cache_addgr.
74825         (readdgrbyname): Return value returned by addgrbyX.
74826         (readdgrbygid): Likewise.
74827         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74828         (addpwbyX): Return value returned by cache_addpw.
74829         (readdpwbyname): Return value returned by addhstbyX.
74830         (readdpwbyuid): Likewise.
74831         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74832         (addservbyX): Return value returned by cache_addserv.
74833         (readdservbyname): Return value returned by addservbyX:
74834         (readdservbyport): Likewise.
74835         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74836         (addhstbyX): Return value returned by cache_addhst.
74837         (readdhstbyname): Return value returned by addhstbyX.
74838         (readdhstbyaddr): Likewise.
74839         (readdhstbynamev6): Likewise.
74840         (readdhstbyaddrv6): Likewise.
74841         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74842         (readdinitgroups): Return value returned by addinitgroupsX.
74843         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74844         (prune_cache): Keep track of timeout value of re-added entries.
74845         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74846         * nscd/nscd.h: Adjust prototypes of readd* functions.
74848 2011-02-04  Roland McGrath  <roland@redhat.com>
74850         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74851         (nis_stats): Likewise.
74852         * nis/nis_modify.c (nis_modify): Likewise.
74853         * nis/nis_remove.c (nis_remove): Likewise.
74854         * nis/nis_add.c (nis_add): Likewise.
74856         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74858         * posix/fnmatch_loop.c: Add some consts.
74860         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74862 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74864         [BZ #12460]
74865         * config.make.in (config-cflags-novzeroupper): Define.
74866         * configure.in: Substitute libc_cv_cc_novzeroupper.
74867         * elf/Makefile (AVX-CFLAGS): Define.
74868         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74869         (CFLAGS-tst-auditmod4a.c): Likewise.
74870         (CFLAGS-tst-auditmod4b.c): Likewise.
74871         (CFLAGS-tst-auditmod6b.c): Likewise.
74872         (CFLAGS-tst-auditmod6c.c): Likewise.
74873         (CFLAGS-tst-auditmod7b.c): Likewise.
74874         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74876 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74878         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74879         function to the callback.
74880         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74882 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74884         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74885         of errno.
74887 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74889         [BZ #11724]
74890         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74891         of constructors.
74892         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74893         of destructors.
74894         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74896         [BZ #11724]
74897         * elf/Makefile: Add rules to build and run new test.
74898         * elf/tst-initorder.c: New file.
74899         * elf/tst-initorder.exp: New file.
74900         * elf/tst-initordera1.c: New file.
74901         * elf/tst-initordera2.c: New file.
74902         * elf/tst-initordera3.c: New file.
74903         * elf/tst-initordera4.c: New file.
74904         * elf/tst-initorderb1.c: New file.
74905         * elf/tst-initorderb2.c: New file.
74906         * elf/tst-order-a1.c: New file.
74907         * elf/tst-order-a2.c: New file.
74908         * elf/tst-order-a3.c: New file.
74909         * elf/tst-order-a4.c: New file.
74910         * elf/tst-order-b1.c: New file.
74911         * elf/tst-order-b2.c: New file.
74912         * elf/tst-order-main.c: New file.
74913         New test case by George Gensure <werkt0@gmail.com>.
74915 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74917         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74918         decoding ACE if AI_CANONIDN.
74920 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74922         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74924 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74926         * version.h (RELEASE): Bump for 2.13 release.
74927         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74929         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74931         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74932         MADV_NOHUGEPAGE.
74933         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74935         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74936         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74937         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74938         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74940         * posix/getconf.c: Update copyright year.
74941         * catgets/gencat.c: Likewise.
74942         * csu/version.c: Likewise.
74943         * debug/catchsegv.sh: Likewise.
74944         * debug/xtrace.sh: Likewise.
74945         * elf/ldconfig.c: Likewise.
74946         * elf/ldd.bash.in: Likewise.
74947         * elf/sprof.c (print_version): Likewise.
74948         * iconv/iconv_prog.c: Likewise.
74949         * iconv/iconvconfig.c: Likewise.
74950         * locale/programs/locale.c: Likewise.
74951         * locale/programs/localedef.c: Likewise.
74952         * malloc/memusage.sh: Likewise.
74953         * malloc/mtrace.pl: Likewise.
74954         * nscd/nscd.c (print_version): Likewise.
74955         * nss/getent.c: Likewise.
74957         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74958         PF_CAIF, and PF_ALG.
74959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74961 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74963         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74964         (modules-names): Use them.
74965         (ifunc-test-modules, ifunc-pie-tests): Define.
74966         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74967         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74968         (test-extras): Likewise.
74969         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74970         $(compile-command.c).
74971         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74972         (all-built-dso): Define.
74973         (check-textrel.out, check-execstack.out): Depend on it.
74975         * configure.in: Don't override --enable-multi-arch.
74977 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74979         [BZ #6812]
74980         * nscd/hstcache.c (tryagain): Define.
74981         (cache_addhst): Return tryagain not notfound for temporary errors.
74982         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74983         failed.
74985 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74987         [BZ #10563]
74988         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74989         to make the syscall.
74990         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74992         [BZ #12378]
74993         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74994         and fall back to matching as normal character if the string ends before
74995         the matching ']' is found.  This is what POSIX requires.
74996         * posix/testfnm.c: Adjust test result.
74997         * posix/globtest.sh: Adjust test result.  Add new test.
74998         * posix/tst-fnmatch.input: Likewise.
74999         * posix/tst-fnmatch2.c: Add new test.
75001 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75003         * elf/Makefile (check-execstack): Revert last change.  Depend on
75004         check-execstack.h.
75005         (check-execstack.h): New target.
75006         (generated): Add check-execstack.h.
75007         * elf/check-execstack.c: Include "check-execstack.h".
75008         (main): Revert last change.
75009         (handle_file): Return zero if GNU_STACK is absent and
75010         DEFAULT_STACK_PERMS doesn't include PF_X.
75012 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75014         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75015         in child fails because the descriptor is already closed.
75016         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75017         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75018         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75020         [BZ #12397]
75021         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75022         syscall.
75024         [BZ #10484]
75025         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75026         temporary buffer used to handle multi lookups locally.
75027         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75029 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75031         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75032         loader is ld.so.
75034 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75036         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75037         alignment for SSE2.
75039 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75041         [BZ #12394]
75042         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75043         characters.  When rounding increased number of integer digits recompute
75044         number of groups.
75045         * stdio-common/tst-grouping.c: New file.
75046         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75048 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75050         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75051         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75053         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75054         void.
75055         * bits/select.h: Likewise.
75057 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75059         * po/ja.po: Update from translation team.
75061 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75063         [BZ #11155]
75064         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75065         implementation just like for lxstat, fxstatat, et al.
75067 2010-12-27  Jim Meyering  <meyering@redhat.com>
75069         [BZ #12348]
75070         * posix/regexec.c (build_trtable): Return failure indication upon
75071         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75073 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75075         [BZ #12201]
75076         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75077         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75078         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75079         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75081         [BZ #12207]
75082         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75084         [BZ #12204]
75085         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75086         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75088 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75090         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75091         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75092         script has SORT_BY_INIT_PRIORITY.
75093         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75094         NO_CTORS_DTORS_SECTIONS is defined.
75095         * elf/soinit.c: Likewise.
75096         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75097         NO_CTORS_DTORS_SECTIONS is defined.
75098         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75099         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75100         * sysdeps/sh/init-first.c: Likewise.
75101         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75103 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75105         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75106         always use the slow path.
75108 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75110         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75111         similar rule which adds the sysdep directories to the header search in
75112         order to pick up the correct platform stackinfo.h.
75113         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75114         perform test if it is, otherwise return successfully without testing.
75115         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75116         DEFAULT_STACK_PERMS define in stackinfo.h.
75117         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75118         defined in stackinfo.h.
75119         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75120         DEFAULT_STACK_PERMS defined in stackinfo.h.
75121         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75122         * sysdeps/ia64/stackinfo.h: Likewise.
75123         * sysdeps/s390/stackinfo.h: Likewise.
75124         * sysdeps/sh/stackinfo.h: Likewise.
75125         * sysdeps/sparc/stackinfo.h: Likewise.
75126         * sysdeps/x86_64/stackinfo.h: Likewise.
75127         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75128         PF_X for powerpc64.  Retain PF_X for powerpc32.
75130 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75132         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75133         accurately.
75134         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75135         GETDENTS_64BIT_ALIGNED.
75137 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75139         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75141 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75143         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75144         _GNU_SOURCE.
75146         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75147         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75148         Remove __restrict.
75149         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75150         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75152 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75154         [BZ #11655]
75155         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75156         are initialized.
75158 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75160         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75162 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75164         * po/it.po: Update from translation team.
75166 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75169         unused codes.
75171 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75173         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75175 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75177         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75178         specially.
75179         (gaih_getanswer_slice): Likewise.
75181 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75185 2010-05-31  Petr Baudis  <pasky@suse.cz>
75187         [BZ #11149]
75188         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75189         silently even in the chroot mode.
75191 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75193         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75194         last patch a bit.  Pretty printing
75196 2010-05-31  Petr Baudis <pasky@suse.cz>
75198         [BZ #10085]
75199         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75200         initialization of skip_initgroups_dyn.
75202 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75204         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75205         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75207 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75209         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75211 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75213         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75214         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75215         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75216         ($(objpfx)tst-fnmatch-mem): New rule.
75217         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75218         * posix/tst-fnmatch.c (main): Call mtrace.
75220 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75223         Support Intel processor model 6 and model 0x2c.
75225 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75227         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75228           signed comparison.
75230 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75232         [BZ #12205]
75233         * string/test-strncasecmp.c (check_result): New function.
75234         (do_one_test): Use it.
75235         (check1): New function.
75236         (test_main): Use it.
75237         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75238         Support strcasecmp and strncasecmp.
75240 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75242         [BZ #12194]
75243         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75244         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75246 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75248         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75249         IFUNC support.
75250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75251         memset-x86-64.
75252         * sysdeps/x86_64/multiarch/bzero.S: New file.
75253         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75254         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75255         * sysdeps/x86_64/multiarch/memset.S: New file.
75256         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75258         Set bit_Prefer_SSE_for_memop for Intel processors.
75259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75260         Define.
75261         (index_Prefer_SSE_for_memop): Define.
75262         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75264 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75266         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75267         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75269 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75271         [BZ #12191]
75272         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75273         (__x86_64_raw_data_cache_size_half): Likewise.
75274         (__x86_64_raw_shared_cache_size): Likewise.
75275         (__x86_64_raw_shared_cache_size_half): Likewise.
75277         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75278         (__x86_64_raw_data_cache_size_half): Likewise.
75279         (__x86_64_raw_shared_cache_size): Likewise.
75280         (__x86_64_raw_shared_cache_size_half): Likewise.
75281         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75282         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75283         and __x86_64_raw_shared_cache_size_half.  Round
75284         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75285         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75286         to multiple of 256 bytes.
75288 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75290         [BZ #12167]
75291         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75292         of inacessible symlinks.  Verify result of symlink before returning it.
75293         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75294         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75296 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75298         * math/math.h (isinf): Fix typo in comment.
75300 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75302         * po/da.po: Update from translation team.
75304 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75306         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75307         is added to the list.
75309 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75310             Ulrich Drepper  <drepper@gmail.com>
75312         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75313         the global list here.  Move code to...
75314         (_dl_add_to_namespace_list): ...here.  New function.
75315         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75316         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75317         * elf/dl-load.c (lose): Don't remove the element from the list.
75318         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75319         (_dl_map_object): Likewise.
75321 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75323         [BZ #12159]
75324         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75325         into all bytes of SSE register.
75326         Patch by Richard Li <richardpku@gmail.com>.
75328 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75330         [BZ #12140]
75331         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75332         perturbing.
75334 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75336         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75337         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75338         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75339         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75341         submachine.
75342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75344 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75346         * include/dlfcn.h (__RTLD_SECURE): Define.
75347         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75348         mode & __RTLD_SECURE instead.
75349         (open_path): Rename preloaded parameter to secure.
75350         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75351         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75352         * elf/dl-deps.c (openaux): Likewise.
75353         * elf/rtld.c (struct map_args): Remove is_preloaded.
75354         (map_doit): Don't use it.
75355         (dl_main): Likewise.
75356         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75357         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75359 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75361         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75362         (sysd-rules-targets): Remove duplicates.
75363         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75364         rtld-%.$o dependency.
75366 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75368         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75369         _dl_map_object do it.
75371 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75373         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75374         fast fma builtins, define the macros in the C99 standard.
75375         (FP_FAST_FMAF): Likewise.
75376         (FP_FAST_FMAL): Likewise.
75377         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75379         * bits/mathdef.h: Update copyright year.
75380         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75382 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75384         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75385         builtins, define the macros in the C99 standard.
75386         (FP_FAST_FMAF): Likewise.
75387         (FP_FAST_FMAL): Likewise.
75388         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75389         multiply/add.
75390         (FP_FAST_FMAF): Likewise.
75392 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75394         [BZ #3268]
75395         * math/libm-test.inc (fma_test): Some new testcases.
75396         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75398         y and infinite z.  Do multiplication by C already in long double.
75399         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75401         y and infinite z.  Do bitwise or of inexact bit into u.d.
75402         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75403         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75404         * sysdeps/i386/fpu/s_fma.S: Removed.
75405         * sysdeps/i386/fpu/s_fmal.S: Removed.
75407 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75409         [BZ #3268]
75410         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75411         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75412         computation is not scheduled after fetestexcept.  Fix value
75413         of minimum denormal long double.
75415 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75417         [BZ #3268]
75418         * math/libm-test.inc (fma_test): Add some more tests.
75419         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75420         correctly.
75422 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75424         * scripts/data/localplt-s390-linux-gnu.data: New file.
75425         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75427 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75429         [BZ #3268]
75430         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75431         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75432         instead of dbl-64.
75433         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75434         inlines.
75435         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75437         if one of x and y is very large and the other is subnormal.
75438         * sysdeps/s390/fpu/s_fmaf.c: New file.
75439         * sysdeps/s390/fpu/s_fma.c: New file.
75440         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75441         * sysdeps/powerpc/fpu/s_fma.S: New file.
75442         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75443         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75444         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75446 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75448         [BZ #3268]
75449         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75450         fma tests.
75451         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75452         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75453         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75454         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75455         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75456         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75457         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75459 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75461         [BZ #12078]
75462         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75463         * posix/bug-regex31.input: Add test case.
75465 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75467         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75468         * posix/bug-regex31.input: New file.
75470         [BZ #12078]
75471         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75472         (parse_sub_exp): Fix last change, use postorder.
75474         * posix/bug-regex31.c: New file.
75475         * posix/Makefile: Add rules to build and run bug-regex31.
75477         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75479         [BZ #12078]
75480         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75482         [BZ #12108]
75483         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75484         to have entries in sys_siglist.
75486         [BZ #12093]
75487         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75488         be NULL.
75490 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75492         [BZ #3268]
75493         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75494         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75495         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75496         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75497         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75498         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75499         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75500         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75501         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75502         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75503         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75504         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75505         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75506         * math/ftestexcept.c (fetestexcept): Likewise.
75507         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75508         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75509         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75510         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75511         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75512         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75513         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75515 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75517         [BZ #12107]
75518         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75519         newline.
75521 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75523         * string/bug-strstr1.c: New file.
75524         * string/Makefile: Add rules to build and run bug-strstr1.
75526 2010-10-05  Eric Blake  <eblake@redhat.com>
75528         [BZ #12092]
75529         * string/str-two-way.h (two_way_long_needle): Always clear memory
75530         when skipping input due to the shift table.
75532 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75534         [BZ #12005]
75535         * malloc/mcheck.c: Handle large requests.
75537         [BZ #12077]
75538         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75539         for strncmp and strncasecmp.
75540         * string/stratcliff.c: Add tests for strcmp and strncmp.
75541         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75543 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75545         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75546         __set_fpscr.
75548 2010-09-30  Andreas Jaeger  <aj@suse.de>
75550         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75551         (CGROUP_SUPER_MAGIC): Define.
75552         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75553         Handle btrfs and cgroup file systems.
75554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75555         Likewise.
75557 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75559         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75560         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75562 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75564         [BZ #12067]
75565         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75566         trying to locate the ELF header.
75568 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75570         [BZ #11611]
75571         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75572         Mask out sign-bit copies when constructing f_fsid.
75574 2010-09-24  Petr Baudis <pasky@suse.cz>
75576         * debug/stack_chk_fail_local.c: Add missing licence exception.
75577         * debug/warning-nop.c: Likewise.
75579 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75581         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75582         implementing getdents64 using getdents syscall, set d_type if
75583         __ASSUME_GETDENTS32_D_TYPE.
75585 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75587         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75588         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75590 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75592         [BZ #12037]
75593         * posix/unistd.h: Undo change of feature selection for ftruncate from
75594         2010-01-11.
75596 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75598         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75599         detection.
75601 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75604         fanotify_mark.
75605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75607 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75609         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75610         variables after CHECK_SP call.
75611         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75613 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75614             Ulrich Drepper  <drepper@redhat.com>
75616         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75617         re-relocationg ld.so.
75618         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75619         _dl_init_paths call.
75620         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75621         here anymore.
75623 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75625         * resolv/res_init.c (__res_vinit): Count the default server we added.
75627 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75628             Ulrich Drepper  <drepper@redhat.com>
75630         [BZ #11968]
75631         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75632         (____longjmp_chk): Use %ebx for saving value across system call.
75633         Add unwind info.
75635 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75637         * manual/Makefile: Don't mix pattern rules with normal rules.
75639 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75641         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75642         operation.
75643         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75644         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75645         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75646         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75647         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75648         Likewise.
75650 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75652         [BZ #11979]
75653         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75654         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75656 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75658         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75659         * sysdeps/x86_64/addmul_1.S: Likewise.
75660         * sysdeps/x86_64/lshift.S: Likewise.
75661         * sysdeps/x86_64/mul_1.S: Likewise.
75662         * sysdeps/x86_64/rshift.S: Likewise.
75663         * sysdeps/x86_64/sub_n.S: Likewise.
75664         * sysdeps/x86_64/submul_1.S: Likewise.
75666 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75668         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75669         Define __sched_param instead of SCHED_* and sched_param when
75670         <bits/sched.h> is included with __need_schedparam defined.
75671         * bits/sched.h [__need_schedparam]
75672         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75673         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75674         (__defined_schedparam): Define to 1.
75675         (__sched_param): New structure, identical to sched_param.
75676         (__need_schedparam): Undefine.
75678 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75680         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75681         (epoll_create1): Declare.
75683         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75685 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75687         [BZ #7066]
75688         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75689         shifting retval into place.
75691 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75693         * nis/rpcsvc/nis.h: Update copyright notice.
75694         * nis/rpcsvc/nis.x: Likewise.
75695         * nis/rpcsvc/nis_callback.h: Likewise.
75696         * nis/rpcsvc/nis_callback.x: Likewise.
75697         * nis/rpcsvc/nis_object.x: Likewise.
75698         * nis/rpcsvc/nis_tags.h: Likewise.
75699         * nis/rpcsvc/yp.h: Likewise.
75700         * nis/rpcsvc/yp.x: Likewise.
75701         * nis/rpcsvc/ypupd.h: Likewise.
75702         * nis/yp_xdr.c: Likewise.
75703         * nis/ypupdate_xdr.c: Likewise.
75705         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75706         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75707         (pmap_getport): Use __libc_rpc_getport.
75708         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75709         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75710         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75712 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75715         fanotify_mark.
75717 2010-08-27  Roland McGrath  <roland@redhat.com>
75719         * sysdeps/i386/i686/multiarch/Makefile
75720         (CFLAGS-varshift.c): New variable.
75722 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75724         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75725         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75729         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75731 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75733         * sysdeps/x86_64/strlen.S: Unroll the loop.
75734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75735         strlen-sse2 strlen-sse2-bsf.
75736         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75737         __strlen_no_bsf if bit_Slow_BSF is set.
75738         (__strlen_sse42): Removed.
75739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75740         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75742 2010-08-25  Roland McGrath  <roland@redhat.com>
75744         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75745         * sysdeps/x86_64/multiarch/varshift.c: New file.
75746         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75747         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75748         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75749         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75751 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75753         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75754         strlen-sse2 strlen-sse2-bsf.
75755         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75756         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75757         (__strlen_sse2): Removed.
75758         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75759         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75761         bit_Slow_BSF for Atom.
75762         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75763         (index_Slow_BSF): Define.
75764         (HAS_SLOW_BSF): Define.
75766 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75768         [BZ #10851]
75769         * resolv/res_init.c (__res_vinit): When no server address at all
75770         is given default to loopback.
75772 2010-08-24  Roland McGrath  <roland@redhat.com>
75774         * configure.in: Remove config-name.h generation.
75775         * configure: Regenerated.
75776         * config-name.in: File removed.
75777         * scripts/config-uname.sh: New file.
75778         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75779         ($(objdir)config-name.h): New target.
75781         * sunrpc/rpc_parse.h: Avoid nested comment.
75783 2010-08-24  Richard Henderson  <rth@redhat.com>
75784             Ulrich Drepper  <drepper@redhat.com>
75785             H.J. Lu  <hongjiu.lu@intel.com>
75787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75789         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75790         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75791         _mm_alignr_epi8 with _mm_loadu_si128.
75792         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75793         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75794         (__m128i_shift_right): Removed.
75795         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75796         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75797         * sysdeps/x86_64/multiarch/varshift.h: New file.
75798         * sysdeps/x86_64/multiarch/varshift.S: New file.
75800 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75802         * configure.in: Move assembler checks to before sysdep dir checking.
75804 2010-08-20  Petr Baudis  <pasky@suse.cz>
75806         * LICENSES: Sync the sunrpc license.
75808 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75810         * sunrpc/auth_des.c: Update copyright notice once again.
75811         * sunrpc/auth_none.c: Likewise.
75812         * sunrpc/auth_unix.c: Likewise.
75813         * sunrpc/authdes_prot.c: Likewise.
75814         * sunrpc/authuxprot.c: Likewise.
75815         * sunrpc/bindrsvprt.c: Likewise.
75816         * sunrpc/clnt_gen.c: Likewise.
75817         * sunrpc/clnt_perr.c: Likewise.
75818         * sunrpc/clnt_raw.c: Likewise.
75819         * sunrpc/clnt_simp.c: Likewise.
75820         * sunrpc/clnt_tcp.c: Likewise.
75821         * sunrpc/clnt_udp.c: Likewise.
75822         * sunrpc/clnt_unix.c: Likewise.
75823         * sunrpc/des_crypt.c: Likewise.
75824         * sunrpc/des_soft.c: Likewise.
75825         * sunrpc/get_myaddr.c: Likewise.
75826         * sunrpc/getrpcport.c: Likewise.
75827         * sunrpc/key_call.c: Likewise.
75828         * sunrpc/key_prot.c: Likewise.
75829         * sunrpc/openchild.c: Likewise.
75830         * sunrpc/pm_getmaps.c: Likewise.
75831         * sunrpc/pm_getport.c: Likewise.
75832         * sunrpc/pmap_clnt.c: Likewise.
75833         * sunrpc/pmap_prot.c: Likewise.
75834         * sunrpc/pmap_prot2.c: Likewise.
75835         * sunrpc/pmap_rmt.c: Likewise.
75836         * sunrpc/rpc/auth.h: Likewise.
75837         * sunrpc/rpc/auth_unix.h: Likewise.
75838         * sunrpc/rpc/clnt.h: Likewise.
75839         * sunrpc/rpc/des_crypt.h: Likewise.
75840         * sunrpc/rpc/key_prot.h: Likewise.
75841         * sunrpc/rpc/netdb.h: Likewise.
75842         * sunrpc/rpc/pmap_clnt.h: Likewise.
75843         * sunrpc/rpc/pmap_prot.h: Likewise.
75844         * sunrpc/rpc/pmap_rmt.h: Likewise.
75845         * sunrpc/rpc/rpc.h: Likewise.
75846         * sunrpc/rpc/rpc_des.h: Likewise.
75847         * sunrpc/rpc/rpc_msg.h: Likewise.
75848         * sunrpc/rpc/svc.h: Likewise.
75849         * sunrpc/rpc/svc_auth.h: Likewise.
75850         * sunrpc/rpc/types.h: Likewise.
75851         * sunrpc/rpc/xdr.h: Likewise.
75852         * sunrpc/rpc_clntout.c: Likewise.
75853         * sunrpc/rpc_cmsg.c: Likewise.
75854         * sunrpc/rpc_common.c: Likewise.
75855         * sunrpc/rpc_cout.c: Likewise.
75856         * sunrpc/rpc_dtable.c: Likewise.
75857         * sunrpc/rpc_hout.c: Likewise.
75858         * sunrpc/rpc_main.c: Likewise.
75859         * sunrpc/rpc_parse.c: Likewise.
75860         * sunrpc/rpc_parse.h: Likewise.
75861         * sunrpc/rpc_prot.c: Likewise.
75862         * sunrpc/rpc_sample.c: Likewise.
75863         * sunrpc/rpc_scan.c: Likewise.
75864         * sunrpc/rpc_scan.h: Likewise.
75865         * sunrpc/rpc_svcout.c: Likewise.
75866         * sunrpc/rpc_tblout.c: Likewise.
75867         * sunrpc/rpc_util.c: Likewise.
75868         * sunrpc/rpc_util.h: Likewise.
75869         * sunrpc/rpcinfo.c: Likewise.
75870         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75871         * sunrpc/rpcsvc/key_prot.x: Likewise.
75872         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75873         * sunrpc/rpcsvc/mount.x: Likewise.
75874         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75875         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75876         * sunrpc/rpcsvc/rex.x: Likewise.
75877         * sunrpc/rpcsvc/rstat.x: Likewise.
75878         * sunrpc/rpcsvc/rusers.x: Likewise.
75879         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75880         * sunrpc/rpcsvc/spray.x: Likewise.
75881         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75882         * sunrpc/rtime.c: Likewise.
75883         * sunrpc/svc.c: Likewise.
75884         * sunrpc/svc_auth.c: Likewise.
75885         * sunrpc/svc_authux.c: Likewise.
75886         * sunrpc/svc_raw.c: Likewise.
75887         * sunrpc/svc_run.c: Likewise.
75888         * sunrpc/svc_simple.c: Likewise.
75889         * sunrpc/svc_tcp.c: Likewise.
75890         * sunrpc/svc_udp.c: Likewise.
75891         * sunrpc/svc_unix.c: Likewise.
75892         * sunrpc/svcauth_des.c: Likewise.
75893         * sunrpc/xcrypt.c: Likewise.
75894         * sunrpc/xdr.c: Likewise.
75895         * sunrpc/xdr_array.c: Likewise.
75896         * sunrpc/xdr_float.c: Likewise.
75897         * sunrpc/xdr_mem.c: Likewise.
75898         * sunrpc/xdr_rec.c: Likewise.
75899         * sunrpc/xdr_ref.c: Likewise.
75900         * sunrpc/xdr_sizeof.c: Likewise.
75901         * sunrpc/xdr_stdio.c: Likewise.
75903         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75904         handling.
75906 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75908         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75910 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75912         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75913         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75914         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75915         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75916         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75917         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75918         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75919         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75920         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75921         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75922         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75923         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75924         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75925         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75927 2010-07-26  Anton Blanchard  <anton@samba.org>
75929         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75930         * malloc/arena.c (heap_trim): Likewise.
75932 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75934         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75935         here.  Not...
75936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75937         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75939 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75941         * sysdeps/i386/elf/Makefile: New file.
75943 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75945         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75946         from fanotify_init.
75947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75950 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75952         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75953         of strncasecmp_l.
75954         * sysdeps/multiarch/strcmp.S: Likewise.
75956 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75958         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75959         strncase_l-nonascii.
75960         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75961         Add strncase_l-ssse3.
75962         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75963         * sysdeps/x86_64/strcmp.S: Likewise.
75964         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75965         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75966         * sysdeps/x86_64/strncase.S: New file.
75967         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75968         * sysdeps/x86_64/strncase_l.S: New file.
75969         * string/Makefile (strop-tests): Add strncasecmp.
75970         * string/test-strncasecmp.c: New file.
75972         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75973         warning.
75975         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75976         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75978 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75980         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75982 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75984         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75985         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75986         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75988 2010-05-01  Alan Modra  <amodra@gmail.com>
75990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75991         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75992         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75993         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75994         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75995         tidying.  Don't tail-call __sigjmp_save for static lib.
75996         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75997         save location.
75998         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75999         (CALL_MCOUNT): Add eh info, and nop after bl.
76000         (TAIL_CALL_SYSCALL_ERROR): New macro.
76001         (PSEUDO_RET): Use it.
76002         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76003         Correct save location of integer regs and cr.
76004         (_dl_profile_resolve): Correct cr save location.  Delete nops
76005         after bl when SHARED.  Reduce cfi size a little by better
76006         placement of cfi directives.
76007         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76008         make a stack frame.  Instead use parm save area as a temp.
76009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76010         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76012         Don't make a stack frame for parent, use parm save area.
76013         Increase child stack frame to 112 bytes.  Don't save unused reg,
76014         and adjust reg usage.  Set up cfi on error recovery and
76015         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76017         (__makecontext): Add dummy nop after jump to exit.
76018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76019         Use correct parm save area and cr save, reduce stack frame.
76020         Correct cfi for possible PSEUDO_RET frame setup.
76021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76022         Branch to local label emitted by PSEUDO_RET rather than
76023         __syscall_error.
76025 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76027         [BZ #11904]
76028         * locale/programs/locale.c (print_assignment): New function.
76029         (show_locale_vars): Use it.
76031 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76033         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76034         field.
76035         (struct statfs64): Likewise.
76036         (_STATFS_F_FLAGS): Define.
76037         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76039         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76040         (ST_VALID): Define locally.
76041         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76042         __statvfs_getflags, use the provided value.
76043         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76044         __ASSUME_STATFS_F_FLAGS.
76046         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76048         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76049         Add sys/fanotify.h.
76050         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76051         fanotify_mask for GLIBC_2.13.
76052         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76053         fanotify_init and fanotify_mark.
76054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76055         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76057         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76058         Add prlimit.
76059         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76060         prlimit64 for GLIBC_2.13.
76061         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76062         prlimit64.
76063         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76064         syscall.
76065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76066         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76067         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76068         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76069         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76070         add prlimit alias.
76071         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76073         [BZ #11903]
76074         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76075         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76077         * nss/Makefile: Add rules to build and run tst-nss-test1.
76078         * shlib-versions: Add entry for libnss_test1.
76079         * nss/nss_test1.c: New file.
76080         * nss/tst-nss-test1.c: New file.
76082         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76083         (__nss_configure_lookup): Set appropriate entry in
76084         __nss_configure_lookup to true.
76085         * nss/nsswitch.h: Define enum with indeces of databases in
76086         databases and __nss_database_custom arrays.  Declare
76087         __nss_database_custom.
76088         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76089         to avoid using nscd when custom rules are installed.
76090         * nss/getXXbyYY_r.c: Likewise.
76091         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76093         * nss/nss_files/files-parse.c: Whitespace fixes.
76095 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76097         [BZ #11883]
76098         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76099         * posix/fnmatch_loop.c: Likewise.
76101 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76103         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76104         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76105         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76106         * Versions.def [GLIBC_2.13]: Add.
76108 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76110         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76111         Also fail if tpwd after pwuid call is NULL.
76113 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76115         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76116         when converting to ms.
76118 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76120         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76121         EOPNOTSUPP errors with ENOTTY.
76122         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76123         EOPNOTSUPP errors with ENOTTY.
76125 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76127         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76128         Add strcasecmp_l-ssse3.
76129         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76130         strcasecmp.
76131         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76132         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76133         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76135 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76137         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76139         * string/Makefile (strop-tests): Add strcasecmp.
76140         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76141         strcasecmp_l-nonascii.
76142         (gen-as-const-headers): Add locale-defines.sym.
76143         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76144         * sysdeps/x86_64/strcasecmp.S: New file.
76145         * sysdeps/x86_64/strcasecmp_l.S: New file.
76146         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76147         * sysdeps/x86_64/locale-defines.sym: New file.
76148         * string/test-strcasecmp.c: New file.
76150         * string/test-strcasestr.c: Test both ends of the range of characters.
76151         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76153 2010-07-29  Roland McGrath  <roland@redhat.com>
76155         [BZ #11856]
76156         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76158 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76160         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76161         for ld.so.
76163 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76165         * manual/memory.texi (Malloc Tunable Parameters): Document
76166         M_PERTURB.
76168 2010-07-26  Roland McGrath  <roland@redhat.com>
76170         [BZ #11840]
76171         * configure.in (-fgnu89-inline check): Set and substitute
76172         gnu89_inline, not libc_cv_gnu89_inline.
76173         * configure: Regenerated.
76174         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76176 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76178         * string/test-strnlen.c: New file.
76179         * string/Makefile (strop-tests): Add strnlen.
76180         * string/tester.c (test_strnlen): Add a few more test cases.
76181         * string/tst-strlen.c: Better error reporting.
76183         * sysdeps/x86_64/strnlen.S: New file.
76185 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76187         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76188         lower-latency instructions.
76190 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76192         * string/test-strcasestr.c: New file.
76193         * string/test-strstr.c: New file.
76194         * string/Makefile (strop-tests): Add strstr and strcasestr.
76195         * string/str-two-way.h: Don't undefine MAX.
76196         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76198 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76201         strcasestr-nonascii.
76202         (CFLAGS-strcasestr-nonascii.c): Define.
76203         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76205         Remove unused attribute.
76207 2010-07-20  Roland McGrath  <roland@redhat.com>
76209         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76210         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76211         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76212         like LD_HWCAP_MASK can disable hwcaps.
76214 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76216         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76218 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76220         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76221         call in strcasestr.
76222         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76223         __strcasestr_sse42_nonascii.
76224         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76225         strcasestr-nonascii.c.
76226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76228 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76230         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76231         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76232         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76233         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76235 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76237         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76238         fcntl.
76240 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76242         [BZ #11577]
76243         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76244         dl_signal_cerror.
76246 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76249         _PC_PIPE_BUF using F_GETPIPE_SZ.
76251 2010-07-05  Roland McGrath  <roland@redhat.com>
76253         * manual/arith.texi (Rounding Functions): Fix rint description
76254         implicit in round description.
76256 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76258         * elf/Makefile: Fix linking for a few tests to make recent linker
76259         happy.
76261 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76263         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76264         $(common-objpfx)libc_nonshared.a.
76266 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76268         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76269         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76270         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76271         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76272         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76273         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76274         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76275         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76290         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76291         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76292         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76293         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76294         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76295         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76296         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76297         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76298         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76299         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76300         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76301         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76317 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76319         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76320         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76321         * string/memmove.c (memmove): Renamed to ...
76322         (MEMMOVE): ...this.  Default to memmove.
76323         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76324         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76325         (END_CHK): Define.
76326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76327         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76328         mempcpy-ssse3-back memmove-ssse3-back.
76329         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76330         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76331         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76332         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76333         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76334         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76335         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76336         * sysdeps/x86_64/multiarch/memmove.c: New file.
76337         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76338         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76339         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76340         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76341         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76342         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76343         Define.
76344         (index_Fast_Copy_Backward): Define.
76345         (HAS_ARCH_FEATURE): Define.
76346         (HAS_FAST_REP_STRING): Define.
76347         (HAS_FAST_COPY_BACKWARD): Define.
76349 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76351         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76352         Restore proper fallback handling.
76354 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76356         [BZ #11701]
76357         * posix/group_member.c (__group_member): Correct checking loop.
76359         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76360         OOM in getpwuid_r correctly.  Return error number when the caller
76361         should return, otherwise -1.
76362         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76363         call returning > 0 value.
76364         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76366 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76368         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76369         libc_nonshared.a from targets in modules-names.
76371 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76373         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76374         requires it.
76376 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76378         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76379         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76380         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76383 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76385         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76387 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76390         and F_GETPIPE_SZ.
76391         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76392         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76395         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76396         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76398 2010-06-14  Roland McGrath  <roland@redhat.com>
76400         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76402 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76404         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76405         __REDIRECT followed by __THROW.
76406         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76407         * posix/getopt.h (getopt): Likewise.
76409 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76411         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76412         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76413         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76414         in AT_FLAGS.
76415         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76416         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76418 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76420         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76422 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76424         [BZ #11640]
76425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76426         Properly check family and model.
76428 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76430         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76432 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76434         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76436 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76438         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76439         symbol reference.
76441 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76443         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76444         symbol reference.
76446 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76448         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76449         and internal_recvmmsg.
76450         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76451         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76452         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76453         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76455         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76456         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76457         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76459 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76461         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76463 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76465         POWER7 optimizations.
76466         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76467         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76469 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76471         * version.h: Update for 2.13 development version.
76473 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76475         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76476         exceptions.  Return 0.
76478 2010-05-07  Roland McGrath  <roland@redhat.com>
76480         * elf/ldconfig.c (main): Add a const.
76482 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76484         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76485         (args_options): Add no-idn option.
76486         (ahosts_keys_int): Add idn_flags to ai_flags.
76487         (parse_option): Handle 'i' option to clear idn_flags.
76489         * malloc/malloc.c (_int_free): Possible race in the most recently
76490         added check.  Only act on the data if no current modification
76491         happened.
76493 See ChangeLog.17 for earlier changes.